E
eric
I've created a class that is comprised mostly of functions. Some of the
functions in the class have a custom attribute class defined. The
constructor of this attribute class takes a single argument unique to each
function. I'm trying to create a Linq query that will 1) only look at the
functions with this custom attribute defined and 2) return the function that
is defined with custom attribute class that contains a value I'm looking for
var qry = from method in type.GetMethods()
where method.MethodAttributes
The above is what I've started with but I'm not sure where to take it from
here.
TIA
..
functions in the class have a custom attribute class defined. The
constructor of this attribute class takes a single argument unique to each
function. I'm trying to create a Linq query that will 1) only look at the
functions with this custom attribute defined and 2) return the function that
is defined with custom attribute class that contains a value I'm looking for
var qry = from method in type.GetMethods()
where method.MethodAttributes
The above is what I've started with but I'm not sure where to take it from
here.
TIA
..