Click here to Skip to main content
15,921,959 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: How to set a specific NumberFormat for a whole project Pin
Jon Rista9-Feb-09 12:34
Jon Rista9-Feb-09 12:34 
GeneralRe: How to set a specific NumberFormat for a whole project Pin
lugu239-Feb-09 19:40
lugu239-Feb-09 19:40 
Questionhow to specify the T Generic type for a class at runtime or from parameter [modified] Pin
Feras Mazen Taleb8-Feb-09 18:17
Feras Mazen Taleb8-Feb-09 18:17 
AnswerRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Dave Kreskowiak9-Feb-09 2:03
mveDave Kreskowiak9-Feb-09 2:03 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
supercat99-Feb-09 8:21
supercat99-Feb-09 8:21 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb9-Feb-09 10:04
Feras Mazen Taleb9-Feb-09 10:04 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Dave Kreskowiak9-Feb-09 12:03
mveDave Kreskowiak9-Feb-09 12:03 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb9-Feb-09 20:02
Feras Mazen Taleb9-Feb-09 20:02 
ok I'm sorry my replay was not complete .
i will tell you the full story Smile | :)
I made generic class that can make DynamicLinq For any class
this class is
public class LinqFilter<T> 
{
     some of :
     public Fun<T,bool> GetFilter()
        {
              //here i will return 
              Expression Filter ; 
              Filter = Expression.And(.....) 
              ..............................
              var predicate = Expression.Lambda. .... .
              return (Func<T,bool> )predicate.Compile();
        }
}

the previous class work well I want to use it inside
a user control called FilterControl
but I want to make the control also as a Generic Class
just to pass the T inside the control

public Class FilterControl<T> : UserControl
{
      LinqFilter<T> F;
      ................
}

but I got an error when tried to do that
how can I pass the T from outside the control to the
[F] Variable of linqfilter .Confused | :confused:

thanks

You have To Search About The Truth Of Your Life
Why Are you Here In Life ?

GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Curtis Schlak.25-Feb-09 8:34
Curtis Schlak.25-Feb-09 8:34 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb25-Feb-09 10:16
Feras Mazen Taleb25-Feb-09 10:16 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Curtis Schlak.25-Feb-09 13:28
Curtis Schlak.25-Feb-09 13:28 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb26-Feb-09 8:01
Feras Mazen Taleb26-Feb-09 8:01 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Curtis Schlak.26-Feb-09 8:27
Curtis Schlak.26-Feb-09 8:27 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb26-Feb-09 8:41
Feras Mazen Taleb26-Feb-09 8:41 
AnswerRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Curtis Schlak.26-Feb-09 9:04
Curtis Schlak.26-Feb-09 9:04 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb27-Feb-09 9:40
Feras Mazen Taleb27-Feb-09 9:40 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Curtis Schlak.27-Feb-09 10:04
Curtis Schlak.27-Feb-09 10:04 
GeneralRe: how to specify the T Generic type for a class at runtime or from parameter Pin
Feras Mazen Taleb27-Feb-09 10:11
Feras Mazen Taleb27-Feb-09 10:11 
QuestionCreating a new Custom Data Processing Extension for Sharepoint (integrating SSO component) Pin
Simon Woods8-Feb-09 11:13
Simon Woods8-Feb-09 11:13 
QuestionRPC Thread Pin
skmckkie7-Feb-09 2:41
skmckkie7-Feb-09 2:41 
AnswerRe: RPC Thread Pin
N a v a n e e t h8-Feb-09 15:26
N a v a n e e t h8-Feb-09 15:26 
AnswerRe: RPC Thread Pin
«_Superman_»8-Feb-09 17:38
professional«_Superman_»8-Feb-09 17:38 
QuestionCrystal Report Indian Language Problem Pin
harsh_c6-Feb-09 22:27
professionalharsh_c6-Feb-09 22:27 
AnswerRe: Crystal Report Indian Language Problem Pin
lalit.k.bhatia15-Mar-10 3:03
lalit.k.bhatia15-Mar-10 3:03 
QuestionAuto-insert comments with interface stubs? Pin
Gregory Gadow6-Feb-09 4:17
Gregory Gadow6-Feb-09 4:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.