Esempio n. 1
0
        public static T Instantiate <T>(IStorageAPI storage) where T : Controller, new()
        {
            T value = new T();

            value.Storage = storage;
            return(value);
        }
Esempio n. 2
0
 public PropertyContainerService(DialogService dialog, TransactionsService tx, IStorageAPI storage, PropertyProviderService propertyProvider)
 {
     this.dialog           = dialog;
     this.tx               = tx;
     this.storage          = storage;
     this.propertyProvider = propertyProvider;
 }
Esempio n. 3
0
 public EntityService(
     TransactionsService tx,
     IStorageAPI storage,
     PropertyProviderService propertyProvider,
     PropertyContainerService propertyContainer
     )
 {
     this.tx                = tx;
     this.storage           = storage;
     this.propertyProvider  = propertyProvider;
     this.propertyContainer = propertyContainer;
 }
 public ConditionsService(IStorageAPI storage)
 {
     this.storage = storage;
 }
 public PropertyProviderService(DialogService dialog, IStorageAPI storage, TransactionsService tx)
 {
     this.dialog  = dialog;
     this.storage = storage;
     this.tx      = tx;
 }
Esempio n. 6
0
 public DataContext(IStorageAPI storage, ITypeManager typeManager)
 {
     Storage = storage;
     Types   = typeManager;
 }