Table of Contents

Class DynamicTypeProvider

Namespace
TimeCockpit.Data.Extensibility
Assembly
TimeCockpit.Data.dll

A class that loads certain external assemblies

public static class DynamicTypeProvider
Inheritance
Object
DynamicTypeProvider
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Properties

FunctionTypes

Gets the function type cache.

public static Dictionary<string, Type> FunctionTypes { get; }

Property Value

Dictionary<String, Type>

InterfaceTypes

Gets the interface types.

public static Dictionary<string, Type> InterfaceTypes { get; }

Property Value

Dictionary<String, Type>

TriggerTypes

Gets the validation method types.

public static Dictionary<string, Type> TriggerTypes { get; }

Property Value

Dictionary<String, Type>

TypeNameProviders

Gets the different type name providers.

public static IDictionary<string, ITypeNameProvider> TypeNameProviders { get; }

Property Value

IDictionary<String, ITypeNameProvider>

Methods

GetFunctionType(String)

Gets the type.

public static Type GetFunctionType(string typeName)

Parameters

typeName String

Name of the type.

Returns

Type

A requested type.

GetInterfaceType(String)

Gets the type from the interface cache or tries looking at specified locations for it.

public static Type GetInterfaceType(string interfaceTypeName)

Parameters

interfaceTypeName String

Name of the type.

Returns

Type

A requested type.

GetTriggerType(String)

Gets the type from the validationmethod cache or tries looking at specified locations for it.

public static Type GetTriggerType(string triggerTypeName)

Parameters

triggerTypeName String

Name of the type.

Returns

Type

A requested type.

RegisterFunction(MethodInfo)

Registers a function to use e.g. in TCQL

public static void RegisterFunction(MethodInfo methInfo)

Parameters

methInfo MethodInfo

The method info of a function.

RegisterFunction(Type)

Registers the function.

public static void RegisterFunction(Type functionType)

Parameters

functionType Type

Type of the function.

RegisterInterface(Type)

Registers the interface.

public static void RegisterInterface(Type interfaceType)

Parameters

interfaceType Type

Type of the interface.

RegisterTriggerMethod(Type)

Registers the validation method.

public static void RegisterTriggerMethod(Type triggerType)

Parameters

triggerType Type

Type of the validation method.

UnregisterTypeNameProvider(String)

Unregisters the type name provider.

public static void UnregisterTypeNameProvider(string name)

Parameters

name String

The name of the type name provider to unregister.