Class
TypeValidator

Definition

Namespace:Telerik.Reporting.TypeValidation

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class TypeValidator

Inheritance: objectTypeValidator

Methods

AllowAssemblies(params Assembly[])

Allows the provided assemblies, and all of their types to be securely loaded by the processing engine.

Declaration

cs-api-definition
public static void AllowAssemblies(params Assembly[] assemblies)

Parameters

assemblies

Assembly[]

AllowTypes(params Type[])

Allows the provided types to be securely loaded by the processing engine.

Declaration

cs-api-definition
public static void AllowTypes(params Type[] types)

Parameters

types

Type[]

ClearTypeCache()

Clear the cache of already validated types, without resetting the validators' overall state.

Declaration

cs-api-definition
public static void ClearTypeCache()

IsTypeValid(Type)

Declaration

cs-api-definition
public static bool IsTypeValid(Type type)

Parameters

type

Type

Returns

bool

Reset()

Clears the additionally allowed types and assemblies and loads the initial state from the current configuration.

Declaration

cs-api-definition
public static void Reset()