Class TypeValidator
Inheritance
Namespace: Telerik.Reporting.TypeValidation
Assembly: Telerik.Reporting.dll
Syntax
public class TypeValidator
Methods
AllowAssemblies(Assembly[])
Allows the provided assemblies, and all of their types to be securely loaded by the processing engine.
Declaration
public static void AllowAssemblies(params Assembly[] assemblies)
Parameters
System.Reflection.Assembly[]
assemblies
|
AllowTypes(Type[])
Allows the provided types to be securely loaded by the processing engine.
Declaration
public static void AllowTypes(params Type[] types)
Parameters
System.Type[]
types
|
ClearTypeCache()
Clear the cache of already validated types, without resetting the validators' overall state.
Declaration
public static void ClearTypeCache()
IsTypeValid(Type)
Declaration
public static bool IsTypeValid(Type type)
Parameters
System.Type
type
|
Returns
System.Boolean
|
Reset()
Clears the additionally allowed types and assemblies and loads the initial state from the current configuration.
Declaration
public static void Reset()