Class RadTypeResolver
Used to resolve Telerik types
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public sealed class RadTypeResolver
Properties
Instance
Gets the only instance of the resolver.
Declaration
public static RadTypeResolver Instance { get; }
Property Value
|
RadTypeResolver
|
ResolveTypesInCurrentAssembly
Gets or sets value indicating whether the TypeResolver should look up types in the calling assembly only. This option (if set to true) is very useful particularly in the case when all the assemblies of the application, including the Telerik assemblies are merged into a single assembly.
Declaration
public bool ResolveTypesInCurrentAssembly { get; set; }
Property Value
|
System.Boolean
|
TypeResolverAssemblyName
Gets or sets value indicating the search pattern for assembly in the domain that contains the types referenced in RadControls theme files.
Declaration
public string TypeResolverAssemblyName { get; set; }
Property Value
|
System.String
|
TypeResolverAssemblyVersion
Gets or sets value indicating the version of the assembly specified in TypeResolverAssemblyName
Declaration
public Version TypeResolverAssemblyVersion { get; set; }
Property Value
|
System.Version
|
Methods
GetRegisteredRadProperty(Type, String)
Declaration
public RadProperty GetRegisteredRadProperty(Type radOjectType, string propertyName)
Parameters
|
System.Type
radOjectType
|
|
System.String
propertyName
|
Returns
|
RadProperty
|
GetRegisteredRadPropertyFromFullName(String)
Declaration
public RadProperty GetRegisteredRadPropertyFromFullName(string propertyFullName)
Parameters
|
System.String
propertyFullName
|
Returns
|
RadProperty
|
GetTypeByName(String)
Declaration
public Type GetTypeByName(string className)
Parameters
|
System.String
className
|
Returns
|
System.Type
|
GetTypeByName(String, Boolean)
Declaration
public Type GetTypeByName(string className, bool throwOnError)
Parameters
|
System.String
className
|
|
System.Boolean
throwOnError
|
Returns
|
System.Type
|
GetTypeByName(String, Boolean, Boolean)
Declaration
public Type GetTypeByName(string className, bool throwOnError, bool onlyInTelerikAssemblies)
Parameters
|
System.String
className
|
|
System.Boolean
throwOnError
|
|
System.Boolean
onlyInTelerikAssemblies
|
Returns
|
System.Type
|
IsTelerikAssembly(Assembly)
Declaration
public bool IsTelerikAssembly(Assembly asm)
Parameters
|
System.Reflection.Assembly
asm
|
Returns
|
System.Boolean
|
RegisterKnownType(String, Type)
Declaration
public void RegisterKnownType(string className, Type type)
Parameters
|
System.String
className
|
|
System.Type
type
|