MetadataBank Class

Provides cache for the reflection.

C#
public sealed class MetadataBank
Inheritance
MetadataBank

Constructors

MetadataBank()

Initializes a new instance of the MetadataBank class.

Methods

GetMetadata(Type)

Gets the metadata associated with the specified type.

GetMetadata<T>()

Gets the metadata associated with the specified type.

Equals(object) (Inherited from object)
GetHashCode() (Inherited from object)
GetType() (Inherited from object)
MemberwiseClone() (Inherited from object)
ToString() (Inherited from object)

Constructors Detail

MetadataBank()

Initializes a new instance of the MetadataBank class.

C#
public MetadataBank()

Methods Detail

GetMetadata(Type)

Gets the metadata associated with the specified type.

C#
public WildMetadata GetMetadata(Type type)

Parameters

type
Type

The type representing the table.

Returns

The metadata.

GetMetadata<T>()

Gets the metadata associated with the specified type.

C#
public Metadata<T> GetMetadata<T>()

Type Parameters

T
notnull

The type representing the table.

Returns

The metadata.