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

.NET (Core and Framework)

 
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 
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 
I will explain
I made this class

public class LinqFilter<T> 
{
     public Fun<T,bool> GetFilter()
        {
              // in this function I made an Expression Tree after 
              // that i make lambda expression that return delegate 
              // this is not important for my problem
              // but I said that just to not write empty function .
              var predicate = Expression.Lambda. .... .
              return (Func<T,bool> )predicate.Compile();
        }
}


there is a user control called FilterControl
I need to use object of previous class [LinqFilter]
inside this control but I want to get The [T]
Type from out side the user control
the following code make compiler error
when i put <T> in User Control definition

public Class FilterControl<font color="red"><T></font> : UserControl
{
      LinqFilter<T> F;
      ................
}


I hope to not give me joking code again
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.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 
AnswerRe: Auto-insert comments with interface stubs? Pin
Curtis Schlak.25-Feb-09 8:36
Curtis Schlak.25-Feb-09 8:36 
GeneralFunnies with Directory.Exists using remote UNC Pin
Brady Kelly6-Feb-09 3:10
Brady Kelly6-Feb-09 3:10 
GeneralRe: Funnies with Directory.Exists using remote UNC Pin
led mike6-Feb-09 9:56
led mike6-Feb-09 9:56 
GeneralRe: Funnies with Directory.Exists using remote UNC Pin
Luc Pattyn6-Feb-09 10:14
sitebuilderLuc Pattyn6-Feb-09 10:14 

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.