I'm interested in pretty much anything programming related.
I'm currently working on Zentrum which is a static and dynamic expression evaluator based on the Microsoft DLR.
|
1d
|
|
comment |
How to perform a binary search on a file without reading it all into memory at once in c++ The subject and the question don't work together. Please rephrase your question. |
|
Apr
22 |
|
comment |
Invoke Func<> with parameters You don't assing Func<> you assign some Func<> instance, eg Func<int,int,double> or Func<int,int,int,double>
|
|
Apr
22 |
|
comment |
Invoke Func<> with parameters I've updates the example as best I can (I've never used MEF). You may need to change it slightly. The key point if that you assign your Func<> delegate to d.
|
|
Apr
22 |
|
revised |
Invoke Func<> with parameters More example |
|
Apr
22 |
|
comment |
Invoke Func<> with parameters I don't thing you're being very clear, and it's causing people to post answes that you keep saying aren't what you're looking for. Why don't you post the code you've got along with an indication of where in it you're stuck. |
|
Apr
22 |
|
comment |
Invoke Func<> with parameters I've altered the example |
|
Apr
22 |
|
revised |
Invoke Func<> with parameters expanded example |
|
Apr
22 |
|
comment |
Invoke Func<> with parameters I've expanded my answer below. |
|
Apr
22 |
|
revised |
Invoke Func<> with parameters More examples |
|
Apr
22 |
|
comment |
Invoke Func<> with parameters Sure, but in your example you'd baked in the type of Func<> you want (int,int,double). How would you get back a method that took a different number of parameters without changing the code? |
|
Apr
22 |
|
comment |
Invoke Func<> with parameters The bigger question is, if the parameters can change from time to time how will you know what to pass in..! |
|
Apr
22 |
|
answered | Invoke Func<> with parameters |
|
Apr
19 |
|
comment |
uri manipulation class .net @Mark - Thanks for commenting 2.5 years after I posted the answer :-) |
|
Mar
28 |
|
answered | preprocessor #if doesn't work |
|
Mar
28 |
|
comment |
how to call a base class non default constructor from the instantion of the derived class? The code is the question is C#, not C++ |
|
Mar
28 |
|
answered | how to call a base class non default constructor from the instantion of the derived class? |
|
Mar
28 |
|
revised |
how to call a base class non default constructor from the instantion of the derived class? Changed tag |
|
Mar
25 |
|
awarded | Good Answer |
|
Mar
21 |
|
comment |
How to create an instance of class that takes interface as its constructor parameter using reflection? Are you sure that type referes to the Controller type ?
|
|
Mar
20 |
|
answered | C# expressions syntax shorthand |