Click or drag to resize

ReflectionServiceGetClassForClassInstanceByAttribute Method

Overload List
 NameDescription
Public methodStatic memberGetClassForClassInstanceByAttribute(Type, Type, Object) Tries to get a class instance for a given attribute type. All loaded assemblies are searched for classes that attributeType applies to, then for all found classes the instantiation of a class is tried, until a instance is created successfully. Here, the attributeType has to implement IClassForClassAttribute, and creationArg[0] has to match the type in TargetType
Public methodStatic memberGetClassForClassInstanceByAttribute(Type, Type, Object, Type) Tries to get a class instance for a given attribute type. All loaded assemblies are searched for classes that attributeType applies to, then for all found classes the instantiation of a class is tried, until a instance is created successfully. Here, the attributeType has to implement IClassForClassAttribute, and creationArg[0] has to match the type in TargetType
Top
See Also