Пример #1
0
        public Model(object encryptor, object storageController)
        {
            _password = new ConcretePassword();

            if (encryptor is XOR_EncryptorController)
            {
                _encryptor = encryptor as XOR_EncryptorController;
            }

            if(storageController is FILE_StorageController)
            {
                _storageController = storageController as FILE_StorageController;
            }
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="ParseConfigController"/> class.
 /// </summary>
 public AVConfigController(IAVCommandRunner commandRunner, IStorageController storageController)
 {
     this.commandRunner = commandRunner;
       CurrentConfigController = new AVCurrentConfigController(storageController);
 }
 public AVCurrentInstallationController(IInstallationIdController installationIdController, IStorageController storageController, IAVInstallationCoder installationCoder)
 {
     this.installationIdController = installationIdController;
       this.storageController = storageController;
       this.installationCoder = installationCoder;
 }
 public AVCurrentUserController(IStorageController storageController)
 {
     this.storageController = storageController;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="Parse.Core.Internal.ParseCurrentConfigController"/> class.
        /// </summary>
        public AVCurrentConfigController(IStorageController storageController)
        {
            this.storageController = storageController;

              taskQueue = new TaskQueue();
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="ParseConfigController"/> class.
 /// </summary>
 public ParseConfigController(IParseCommandRunner commandRunner, IStorageController storageController) {
   this.commandRunner = commandRunner;
   CurrentConfigController = new ParseCurrentConfigController(storageController);
 }
 public InstallationIdController(IStorageController storageController)
 {
     this.storageController = storageController;
 }
Пример #8
0
 public UnitListModel(IStorageController storageController)
 {
     _storageController = storageController;
     Models = new List<IUnitModel>();
 }