C# Class GSoft.Dynamite.Binding.CachedSchemaBuilder

A cached schema builder.
Inheritance: IEntitySchemaBuilder, IDisposable
显示文件 Open project: GSoft-SharePoint/Dynamite-2010 Class Usage Examples

Public Methods

Method Description
CachedSchemaBuilder ( IEntitySchemaBuilder schemaBuilder, ILogger logger ) : System

Initializes a new instance of the CachedSchemaBuilder class.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetSchema ( Type type ) : IEntitySchema

Gets the schema.

RegisterTypeConverter ( Type targetType, IConverter converter ) : void

Registers the type converter.

UnregisterTypeConverter ( Type targetType ) : void

Unregisters the type converter.

Protected Methods

Method Description
Dispose ( bool managed ) : void

Releases unmanaged and - optionally - managed resources

Method Details

CachedSchemaBuilder() public method

Initializes a new instance of the CachedSchemaBuilder class.
public CachedSchemaBuilder ( IEntitySchemaBuilder schemaBuilder, ILogger logger ) : System
schemaBuilder IEntitySchemaBuilder The schema builder.
logger ILogger The logging utility.
return System

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool managed ) : void
managed bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

GetSchema() public method

Gets the schema.
public GetSchema ( Type type ) : IEntitySchema
type System.Type The type.
return IEntitySchema

RegisterTypeConverter() public method

Registers the type converter.
public RegisterTypeConverter ( Type targetType, IConverter converter ) : void
targetType System.Type Type of the target.
converter IConverter The converter.
return void

UnregisterTypeConverter() public method

Unregisters the type converter.
public UnregisterTypeConverter ( Type targetType ) : void
targetType System.Type Type of the target.
return void