C# Class MetaGeta.DataStore.DataStoreManager

Inheritance: INotifyPropertyChanged, IDataStoreOwner
显示文件 Open project: anyoun/metageta Class Usage Examples

Public Methods

Method Description
DataStoreManager ( bool designMode, IScheduler mainThreadScheduler ) : System.Collections.ObjectModel
DeleteDataStore ( MGDataStore dataStore ) : void
EnqueueAction ( IAction action, MGDataStore dataStore, MGFile file ) : void
NewDataStore ( string name, IDataStoreTemplate template ) : MGDataStore
Shutdown ( ) : void
WaitForQueueToEmpty ( ) : void

Private Methods

Method Description
OnDataStoresChanged ( ) : void
OnPropertyChanged ( string name ) : void

Method Details

DataStoreManager() public method

public DataStoreManager ( bool designMode, IScheduler mainThreadScheduler ) : System.Collections.ObjectModel
designMode bool
mainThreadScheduler IScheduler
return System.Collections.ObjectModel

DeleteDataStore() public method

public DeleteDataStore ( MGDataStore dataStore ) : void
dataStore MGDataStore
return void

EnqueueAction() public method

public EnqueueAction ( IAction action, MGDataStore dataStore, MGFile file ) : void
action IAction
dataStore MGDataStore
file MGFile
return void

NewDataStore() public method

public NewDataStore ( string name, IDataStoreTemplate template ) : MGDataStore
name string
template IDataStoreTemplate
return MGDataStore

Shutdown() public method

public Shutdown ( ) : void
return void

WaitForQueueToEmpty() public method

public WaitForQueueToEmpty ( ) : void
return void