C# Class Composite.Data.DynamicTypes.DynamicTypeManager

显示文件 Open project: Orckestra/C1-CMS Class Usage Examples

Public Methods

Method Description
AddLocale ( CultureInfo cultureInfo ) : void
AddLocale ( string providerName, CultureInfo cultureInfo ) : void
AlterStore ( Composite.Data.DynamicTypes.UpdateDataTypeDescriptor updateDataTypeDescriptor ) : void
AlterStore ( Composite.Data.DynamicTypes.UpdateDataTypeDescriptor updateDataTypeDescriptor, bool forceRecompile ) : void
BuildNewDataTypeDescriptor ( Type typeToDescript ) : DataTypeDescriptor
CreateStore ( DataTypeDescriptor typeDescriptor ) : void
CreateStore ( DataTypeDescriptor typeDescriptor, bool doFlush ) : void
CreateStore ( string providerName, DataTypeDescriptor typeDescriptor ) : void
CreateStore ( string providerName, DataTypeDescriptor typeDescriptor, bool doFlush ) : void
CreateStores ( IReadOnlyCollection typeDescriptors, bool doFlush ) : void
CreateStores ( string providerName, IReadOnlyCollection typeDescriptors, bool doFlush ) : void
DropStore ( DataTypeDescriptor typeDescriptor ) : void
DropStore ( string providerName, DataTypeDescriptor typeDescriptor ) : void
EnsureCreateStore ( Type interfaceType ) : void

For internal use only!!! This method will create the store if the interfaceType has not been configured.

EnsureCreateStore ( Type interfaceType, string providerName ) : void

For internal use only!!! This method will create the store if the interfaceType has not been configured.

GetDataTypeDescriptor ( System.Guid immutableTypeId ) : DataTypeDescriptor
GetDataTypeDescriptor ( Type typeToDescript ) : DataTypeDescriptor
RemoveLocale ( CultureInfo cultureInfo ) : void
RemoveLocale ( string providerName, CultureInfo cultureInfo ) : void
TryGetDataTypeDescriptor ( System.Guid immutableTypeId, DataTypeDescriptor &dataTypeDescriptor ) : bool
TryGetDataTypeDescriptor ( Type interfaceType, DataTypeDescriptor &dataTypeDescriptor ) : bool
UpdateDataTypeDescriptor ( DataTypeDescriptor dataTypeDescriptor ) : void
UpdateDataTypeDescriptor ( DataTypeDescriptor dataTypeDescriptor, bool flushTheSystem ) : void

Private Methods

Method Description
DropStore ( string providerName, DataTypeDescriptor typeDescriptor, bool makeAFlush ) : void
EnsureUpdateStore ( Type interfaceType, string providerName, bool makeAFlush ) : bool
IsEnsureUpdateStoreNeeded ( Type interfaceType ) : bool

Method Details

AddLocale() public static method

public static AddLocale ( CultureInfo cultureInfo ) : void
cultureInfo System.Globalization.CultureInfo
return void

AddLocale() public static method

public static AddLocale ( string providerName, CultureInfo cultureInfo ) : void
providerName string
cultureInfo System.Globalization.CultureInfo
return void

AlterStore() public static method

public static AlterStore ( Composite.Data.DynamicTypes.UpdateDataTypeDescriptor updateDataTypeDescriptor ) : void
updateDataTypeDescriptor Composite.Data.DynamicTypes.UpdateDataTypeDescriptor
return void

AlterStore() public static method

public static AlterStore ( Composite.Data.DynamicTypes.UpdateDataTypeDescriptor updateDataTypeDescriptor, bool forceRecompile ) : void
updateDataTypeDescriptor Composite.Data.DynamicTypes.UpdateDataTypeDescriptor
forceRecompile bool
return void

BuildNewDataTypeDescriptor() public static method

public static BuildNewDataTypeDescriptor ( Type typeToDescript ) : DataTypeDescriptor
typeToDescript System.Type
return DataTypeDescriptor

CreateStore() public static method

public static CreateStore ( DataTypeDescriptor typeDescriptor ) : void
typeDescriptor DataTypeDescriptor
return void

CreateStore() public static method

public static CreateStore ( DataTypeDescriptor typeDescriptor, bool doFlush ) : void
typeDescriptor DataTypeDescriptor
doFlush bool
return void

CreateStore() public static method

public static CreateStore ( string providerName, DataTypeDescriptor typeDescriptor ) : void
providerName string
typeDescriptor DataTypeDescriptor
return void

CreateStore() public static method

public static CreateStore ( string providerName, DataTypeDescriptor typeDescriptor, bool doFlush ) : void
providerName string
typeDescriptor DataTypeDescriptor
doFlush bool
return void

CreateStores() public static method

public static CreateStores ( IReadOnlyCollection typeDescriptors, bool doFlush ) : void
typeDescriptors IReadOnlyCollection
doFlush bool
return void

CreateStores() public static method

public static CreateStores ( string providerName, IReadOnlyCollection typeDescriptors, bool doFlush ) : void
providerName string
typeDescriptors IReadOnlyCollection
doFlush bool
return void

DropStore() public static method

public static DropStore ( DataTypeDescriptor typeDescriptor ) : void
typeDescriptor DataTypeDescriptor
return void

DropStore() public static method

public static DropStore ( string providerName, DataTypeDescriptor typeDescriptor ) : void
providerName string
typeDescriptor DataTypeDescriptor
return void

EnsureCreateStore() public static method

For internal use only!!! This method will create the store if the interfaceType has not been configured.
public static EnsureCreateStore ( Type interfaceType ) : void
interfaceType System.Type
return void

EnsureCreateStore() public static method

For internal use only!!! This method will create the store if the interfaceType has not been configured.
public static EnsureCreateStore ( Type interfaceType, string providerName ) : void
interfaceType System.Type
providerName string
return void

GetDataTypeDescriptor() public static method

public static GetDataTypeDescriptor ( System.Guid immutableTypeId ) : DataTypeDescriptor
immutableTypeId System.Guid
return DataTypeDescriptor

GetDataTypeDescriptor() public static method

public static GetDataTypeDescriptor ( Type typeToDescript ) : DataTypeDescriptor
typeToDescript System.Type
return DataTypeDescriptor

RemoveLocale() public static method

public static RemoveLocale ( CultureInfo cultureInfo ) : void
cultureInfo System.Globalization.CultureInfo
return void

RemoveLocale() public static method

public static RemoveLocale ( string providerName, CultureInfo cultureInfo ) : void
providerName string
cultureInfo System.Globalization.CultureInfo
return void

TryGetDataTypeDescriptor() public static method

public static TryGetDataTypeDescriptor ( System.Guid immutableTypeId, DataTypeDescriptor &dataTypeDescriptor ) : bool
immutableTypeId System.Guid
dataTypeDescriptor DataTypeDescriptor
return bool

TryGetDataTypeDescriptor() public static method

public static TryGetDataTypeDescriptor ( Type interfaceType, DataTypeDescriptor &dataTypeDescriptor ) : bool
interfaceType System.Type
dataTypeDescriptor DataTypeDescriptor
return bool

UpdateDataTypeDescriptor() public static method

public static UpdateDataTypeDescriptor ( DataTypeDescriptor dataTypeDescriptor ) : void
dataTypeDescriptor DataTypeDescriptor
return void

UpdateDataTypeDescriptor() public static method

public static UpdateDataTypeDescriptor ( DataTypeDescriptor dataTypeDescriptor, bool flushTheSystem ) : void
dataTypeDescriptor DataTypeDescriptor
flushTheSystem bool
return void