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

.NET (Core and Framework)

 
AnswerRe: CSS deployment issue Pin
Vasudevan Deepak Kumar10-Feb-09 3:03
Vasudevan Deepak Kumar10-Feb-09 3:03 
QuestionSpace between line Pin
puwanes9-Feb-09 19:46
puwanes9-Feb-09 19:46 
AnswerRe: Space between line Pin
EliottA10-Feb-09 3:08
EliottA10-Feb-09 3:08 
QuestionIs using a User Control Embedded Class a good practice? Pin
MacSpudster9-Feb-09 8:36
professionalMacSpudster9-Feb-09 8:36 
AnswerRe: Is using a User Control Embedded Class a good practice? Pin
Jon Rista9-Feb-09 12:38
Jon Rista9-Feb-09 12:38 
GeneralRe: Is using a User Control Embedded Class a good practice? Pin
MacSpudster10-Feb-09 11:03
professionalMacSpudster10-Feb-09 11:03 
QuestionHow to set a specific NumberFormat for a whole project Pin
lugu239-Feb-09 3:52
lugu239-Feb-09 3:52 
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 
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 

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.