MetadataBank Class
Provides cache for the reflection.
C#
public sealed class MetadataBank
- Inheritance
-
Metadata
Bank
Constructors
Metadata |
Initializes a new instance of the MetadataBank class. |
Methods
Get |
Gets the metadata associated with the specified type. |
Get |
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.