public ClipboardPersistanceService(
     IFileManager fileManager,
     IClipboardDataPackageFactory factory)
 {
     this.fileManager = fileManager;
     this.factory = factory;
 }
示例#2
0
 public SyncService(SyncProfile opts, IIndexMapper indexer, IFileManager filemanager, bool simulate, string thismachine)
 {
     _localSettings = opts.GetParticipant(thismachine);
     LocalPath = _localSettings.LocalPath;
     SharedPath = _localSettings.SharedPath;
     NumPeers = 0;
     FileCounts = new Dictionary<string, int>();
     SizeLimit = opts.ReserveSpace;
     Simulate = simulate;
     FileSearches = opts.SearchPatterns;
     if (FileSearches.Count == 0)
     {
         FileSearches.Add("*.*");
     }
     _sizecache = 0;
     _options = opts;
     if (Simulate)
     {
         _copyq = new MockFileManager();
         _indexer = new MockIndexMapper();
     }
     else
     {
         _copyq = filemanager;
         _indexer = indexer;
     }
     _log = new List<string>();
 }
		DecompileFileTabContentFactory(IFileManager fileManager, IFileTreeNodeDecompiler fileTreeNodeDecompiler, ILanguageManager languageManager, IDecompilationCache decompilationCache, IMethodAnnotations methodAnnotations) {
			this.fileManager = fileManager;
			this.fileTreeNodeDecompiler = fileTreeNodeDecompiler;
			this.languageManager = languageManager;
			this.decompilationCache = decompilationCache;
			this.methodAnnotations = methodAnnotations;
		}
        public static void SetFileManager(IFileManager fileManager)
        {
            if (fileManager != null)
            {
                _getCurrentDirectoryDelegate = fileManager.GetCurrentDirectory;
                _fileExistsDelegate = fileManager.FileExists;
                _isAbsolutePathDelegate = fileManager.IsAbsolutePath;
                _toAbsolutePathDelegate = fileManager.ToAbsolutePath;
                _readFileDelegate = fileManager.ReadFile;

                var delegates = new FileManagerDelegates
                {
                    GetCurrentDirectoryDelegate =
                        Marshal.GetFunctionPointerForDelegate(_getCurrentDirectoryDelegate),
                    FileExistsDelegate =
                        Marshal.GetFunctionPointerForDelegate(_fileExistsDelegate),
                    IsAbsolutePathDelegate =
                        Marshal.GetFunctionPointerForDelegate(_isAbsolutePathDelegate),
                    ToAbsolutePathDelegate =
                        Marshal.GetFunctionPointerForDelegate(_toAbsolutePathDelegate),
                    ReadFileDelegate =
                        Marshal.GetFunctionPointerForDelegate(_readFileDelegate)
                };
                FileManagerMarshaller.SetDelegates(delegates);
            }
            else
            {
                UnsetFileManager();
            }
        }
示例#5
0
 public Application(IFileManager googleFileManager, IFileManager localFileManager, FileCacheManager fileCacheManager, MemoryCacheManager memoryCacheManager)
 {
     GoogleManager = googleFileManager;
     LocalManager = localFileManager;
     FileCacheManager = fileCacheManager;
     MemoryCacheManager = memoryCacheManager;
 }
示例#6
0
 ModuleLoader(Lazy<ITheDebugger> theDebugger, IDebuggerSettings debuggerSettings, IFileManager fileManager, Lazy<IInMemoryModuleManager> inMemoryModuleManager)
 {
     this.theDebugger = theDebugger;
     this.debuggerSettings = debuggerSettings;
     this.fileManager = fileManager;
     this.inMemoryModuleManager = inMemoryModuleManager;
 }
示例#7
0
 public FileLoader(IFileManager fileManager, Window ownerWindow)
 {
     this.fileManager = fileManager;
     this.ownerWindow = ownerWindow;
     this.loadedFiles = new List<IDnSpyFile>();
     this.hash = new HashSet<IDnSpyFile>();
 }
示例#8
0
        public ShellViewModel(
            IFileManagerEventSource fileManagerEventSource,
            IFileManager fileManager,
            IStateService stateService,
            IClipboardService clipboardService)
        {
            _clipboardService = clipboardService;
            _stateService = stateService;
            _stateService.SavingEvent.Subscribe(this.SaveState);
            _fileManager = fileManager;
            fileManagerEventSource.OpenFileEventStream.Subscribe(this.OpenFile);

            this.DisplayName = "Eagle";

            this.FollowTail = true;

            if (Execute.InDesignMode)
            {
                this.IsFileOpen = true;
                this.File = new FileViewModel("Test File");
            }
            else
            {
                //this.FilePicker.Items.Add(new FileLocationViewModel("Documents") { SubLocations = { new FileLocationViewModel("File1"), new FileLocationViewModel("File2"), new FileLocationViewModel("File3") } });
                //this.FilePicker.Items.Add(new FileLocationViewModel("Projects"));
                //this.FilePicker.Items.Add(new FileLocationViewModel("Logs"));
            }
        }
示例#9
0
        public FileReport(IConfigurationManager configurationManager, IFileManager fileManager)
        {
            _configurationManager = configurationManager;
            _fileManager = fileManager;

            InitializeComponent();
        }
示例#10
0
        public IO(IFileManager filemanager, IMessageManager messagemanager, Lang language)
        {
            fileManager = filemanager;
            messageManager = messagemanager;
            ActiveLanguage = language;

            WorkPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "TOWare");

            if (!Directory.Exists(WorkPath))
                Directory.CreateDirectory(WorkPath);
            if (!Directory.Exists(LanguagePath))
                Directory.CreateDirectory(LanguagePath);
            if (File.Exists(SettingsFile))
            {
                LoadSettings();
                if (File.Exists(Path.Combine(LanguagePath, ActiveSettings.ActiveLanguage + ".towlang")))
                    LoadLanguage();
                else
                    SaveLanguage();
            }
            else
            {
                ActiveSettings = new Settings();
                SaveSettings(ActiveSettings);
                SaveLanguage();
            }
        }
        public ViewLabels()
        {
            _labelTemplateManager = FirstFloor.ModernUI.App.App.Container.GetInstance<ILabelTemplateManager>();
            _labelManager = FirstFloor.ModernUI.App.App.Container.GetInstance<ILabelManager>();
            _bitmapGenerator = FirstFloor.ModernUI.App.App.Container.GetInstance<IBitmapGenerator>();
            _fileManager = FirstFloor.ModernUI.App.App.Container.GetInstance<IFileManager>();

            _labelLocation = new CommandLineArgs()["location"];
            LabelImages = new ObservableCollection<DisplayLabel>();
     
            InitializeComponent();

            DataContext = this;

            var configDirectory = $@"{AppDomain.CurrentDomain.BaseDirectory}\Config\";
            if (_fileManager.CheckDirectoryExists(configDirectory))
            {
                _fsWatcher = new FileSystemWatcher
                {
                    NotifyFilter = NotifyFilters.LastWrite,
                    Path = configDirectory,
                    Filter = "labels.json",
                    EnableRaisingEvents = true
                };
                _fsWatcher.Changed += FsWatcherOnChanged;

                GetImages();
            }
            else
            {
                ModernDialog.ShowMessage($"An error occurred. The '{configDirectory}' directory could not be found.", "Error", MessageBoxButton.OK, Window.GetWindow(this));

            }
            
        }
示例#12
0
 public IDnSpyFile Create(IFileManager fileManager, DnSpyFileInfo fileInfo)
 {
     var filename = GetFilename(fileInfo);
     if (filename != null)
         return FileManager.CreateDnSpyFileFromFile(fileInfo, filename, fileManager.Settings.UseMemoryMappedIO, fileManager.Settings.LoadPDBFiles, fileManager.AssemblyResolver);
     return null;
 }
示例#13
0
        /// <summary>
        /// Initializes a new instance of the <see cref="FileFieldMapping"/> class.
        /// </summary>
        /// <param name="property">
        /// The property.
        /// </param>
        /// <param name="nameExpression">
        /// The name expression.
        /// </param>
        /// <param name="contentExpression">
        /// The content expression.
        /// </param>
        /// <param name="locationExpression">
        /// The location expression.
        /// </param>
        /// <param name="typeConverter">
        /// The type converter.
        /// </param>
        /// <param name="fileManager">
        /// The file manager.
        /// </param>
        public FileFieldMapping(
            PropertyInfo property,
            MappingExpression nameExpression,
            MappingExpression contentExpression,
            MappingExpression locationExpression,
            ITypeConverter typeConverter,
            IFileManager fileManager)
        {
            if (property == null)
                throw new ArgumentNullException("property");

            if (!typeof(IFileProcess).IsAssignableFrom(property.PropertyType))
                throw new ArgumentException("The specified property is not a file field.");

            if (typeConverter == null)
                throw new ArgumentNullException("typeConverter");

            if (fileManager == null)
                throw new ArgumentNullException("fileManager");

            _property = property;
            _nameExpression = nameExpression;
            _contentExpression = contentExpression;
            _locationExpression = locationExpression;
            _typeConverter = typeConverter;
            _fileManager = fileManager;
        }
示例#14
0
 public IDnSpyFilenameKey CreateKey(IFileManager fileManager, DnSpyFileInfo fileInfo)
 {
     var filename = GetFilename(fileInfo);
     if (filename != null)
         return new FilenameKey(filename);
     return null;
 }
        public MainPresenter(IGraphic graphic, IFileManager manager, IMessageService messageService)
        {
            _manager = manager;
            _messageService = messageService;
            _graphic = graphic;

            _graphic.FileOpenClick += _graphic_FileOpenClick;
        }
示例#16
0
 public TitleRecognizer(IFileManager fileManager, ICacheManager cacheManager, IUserSettingsProvider userSettingsProvider, IEventAggregator eventAggregator, IResourceManager resourceManager)
 {
     _fileManager = fileManager;
     _cacheManager = cacheManager;
     _userSettingsProvider = userSettingsProvider;
     _eventAggregator = eventAggregator;
     _resourceManager = resourceManager;
 }
示例#17
0
		public IDnSpyFilenameKey CreateKey(IFileManager fileManager, DnSpyFileInfo fileInfo) {
			if (fileInfo.Type == MyDnSpyFile.THE_GUID)
				return new FilenameKey(fileInfo.Name);  // Must match the key in MyDnSpyFile.Key
			// Also check for normal files
			if (fileInfo.Type == FileConstants.FILETYPE_FILE && IsSupportedFile(fileInfo.Name))
				return new FilenameKey(fileInfo.Name);  // Must match the key in MyDnSpyFile.Key
			return null;
		}
 public AbstractTextExportPresenter(MainWindow mainWindow, IWindowManager windowManager, IFileManager fileManager, ITextExporter exporter, string defaultExt)
 {
     this.windowManager = windowManager;
     this.fileManager = fileManager;
     this.exporter = exporter;
     connectionViewModels = mainWindow.DataSource.Connections;
     this.defaultExt = defaultExt;
 }
示例#19
0
        public FileForm(IFileManager fileManager, IAddressBookManager addressBookManager, IConfigurationManager configurationManager)
        {
            _fileManager = fileManager;
            _addressBookManager = addressBookManager;
            _configurationManager = configurationManager;

            InitializeComponent();
        }
示例#20
0
文件: StebsHub.cs 项目: TheJP/stebs
 public StebsHub(IConstants constants, IMpm mpm, IProcessorManager manager, IFileManager fileManager, IPluginManager pluginManager)
 {
     this.Constants = constants;
     this.Mpm = mpm;
     this.Manager = manager;
     this.FileManager = fileManager;
     this.PluginManager = pluginManager;
 }
 public RecentItemsFolderViewModel(IFileManager fileManager, IFileManagerEventSource fileManagerEventSource)
     : base("Recent")
 {
     _fileManager = fileManager;
     fileManagerEventSource.OpenFileEventStream
         .ObserveOnDispatcher()
         .Subscribe(this.OnFileOpened);
 }
示例#22
0
		public IDnSpyFile Create(IFileManager fileManager, DnSpyFileInfo fileInfo) {
			if (fileInfo.Type == MyDnSpyFile.THE_GUID)
				return MyDnSpyFile.TryCreate(fileInfo.Name);
			// Also check for normal files
			if (fileInfo.Type == FileConstants.FILETYPE_FILE && IsSupportedFile(fileInfo.Name))
				return MyDnSpyFile.TryCreate(fileInfo.Name);
			return null;
		}
示例#23
0
        public DirectoryComparer(IFileManager FileManager = null)
        {
            if (FileManager == null)
            {
                FileManager = new Win32FileManager();
            }

            this.FileManager = FileManager;
        }
 public ZipFilesAction(
     IAsyncFilter asyncFilter,
     IFileManager fileManager,
     IClipboardInjectionService clipboardInjectionService)
 {
     this.asyncFilter = asyncFilter;
     this.fileManager = fileManager;
     this.clipboardInjectionService = clipboardInjectionService;
 }
示例#25
0
		InMemoryModuleManager(ITheDebugger theDebugger, IFileTabManager fileTabManager, Lazy<IMethodAnnotations> methodAnnotations, IAppWindow appWindow) {
			this.fileTabManager = fileTabManager;
			this.fileTreeView = fileTabManager.FileTreeView;
			this.fileManager = this.fileTreeView.FileManager;
			this.appWindow = appWindow;
			this.methodAnnotations = methodAnnotations;
			this.theDebugger = theDebugger;
			theDebugger.OnProcessStateChanged_First += TheDebugger_OnProcessStateChanged_First;
		}
 public StartupManager(
     IFileManager fileManager, 
     IObjectFactory objectFactory, 
     IScreenController screenController)
 {
     FileManager = fileManager;
     ObjectFactory = objectFactory;
     ScreenController = screenController;
 }
示例#27
0
 public TreeNavigator(INode googleRoot, INode localRoot, IFileManager googleFileManager, IFileManager localFileManager, FileCacheManager fileCacheManager)
 {
     GoogleStack = new Stack<INode>();
     LocalStack = new Stack<INode>();
     GoogleStack.Push(googleRoot);
     LocalStack.Push(localRoot);
     GoogleManager = googleFileManager;
     LocalManager = localFileManager;
     FileCacheManager = fileCacheManager;
 }
示例#28
0
		public DeployRunner(IBuildRepository buildRepository, IProjectRepository projectRepository, IDeployTaskStatusManager statusManager, IDeployComponentRunner componentRunner, IDeployTaskFactory taskFactory, IFileManager fileManager, IZipper zipper)
		{
			_buildRepository = DIHelper.VerifyParameter(buildRepository);
			_projectRepository = DIHelper.VerifyParameter(projectRepository);
			_statusManager = DIHelper.VerifyParameter(statusManager);
			_componentRunner = DIHelper.VerifyParameter(componentRunner);
			_taskFactory = DIHelper.VerifyParameter(taskFactory);
			_fileManager = DIHelper.VerifyParameter(fileManager);
			_zipper = DIHelper.VerifyParameter(zipper);
		}
示例#29
0
        public MainPresenter(IMainForm view, IFileManager manager, IMessageService service)
        {
            _view = view;
            _manager = manager;
            _messageService = service;

            _view.SetSymbolCount(0);
            _view.ContentChanged    += _view_ContentChanged;
            _view.FileOpenClick     += _view_FileOpenClick;
            _view.FileSaveClick     += _view_FileSaveClick;
        }
示例#30
0
        public SafeFolderForm(IFileManager fileManager, IAddressBookManager addressBookManager, IConfigurationManager configurationManager)
        {
            _fileManager = fileManager;
            _addressBookManager = addressBookManager;
            _configurationManager = configurationManager;

            InitializeComponent();
            InitializeSafeFolder();
            InitializeFileSystemWatcher();
            ShowInTaskbar = false;
        }
示例#31
0
 public RepositoryTxt()
 {
     FileManager = new FileManagerTxt();
     Log         = new LogFourNetAdapter();
 }
示例#32
0
 public Tester(IFileManager fileManager)
 {
     _fileManager = fileManager;
 }
示例#33
0
 public void Init()
 {
     _fileManager = new FileManager();
 }
 public UserController(UserManager <User> _userManager, IUserService _userService, IChatService _chatService, IMapper _mapper, IFileManager _fileManager, IContactService _contactService, IBlackListService _blackListService)
 {
     userManager      = _userManager;
     userService      = _userService;
     chatService      = _chatService;
     mapper           = _mapper;
     fileManager      = _fileManager;
     contactService   = _contactService;
     blackListService = _blackListService;
 }
示例#35
0
 public KaplanProcess(IWinServicesManager winservicemanager, IZipManager zipmanager, IFileManager filemanager)
 {
     _winServiceManager = winservicemanager;
     _zipManager        = zipmanager;
     _fileManager       = filemanager;
 }
 public LocalNonImageContentReader(IFileManager fileManager, IStringDeserializer <EncounterNonImageContent> parser)
 {
     this.fileManager = fileManager;
     this.parser      = parser;
 }
示例#37
0
 public void Setup()
 {
     _fileManager = new FileManager("temp", "DBs", 100);
     _logManager  = new LogManager(_fileManager, RandomFilename);
 }
示例#38
0
 public JSONSettingsManager(IFileManager fileManager) =>
示例#39
0
 public UsersController(UserManager <ApplicationUser> userManager, IFileManager ifileManager, SignInManager <ApplicationUser> signInManager)
 {
     _userManager   = userManager;
     _ifileManager  = ifileManager;
     _signInManager = signInManager;
 }
示例#40
0
 public SignalStore(IFileManager fileManager)
 {
     _fileManager = fileManager ?? throw new ArgumentNullException(nameof(fileManager));
 }
示例#41
0
 public FileManagerSaveFile(IFileManager filemanager) : base(filemanager)
 {
 }
 public SortManager(IFileManager fileManager)
 {
     this._fileManager = fileManager;
 }
示例#43
0
 public FilesController(IFileManager fileManager)
 {
     _fileManager = fileManager;
 }
示例#44
0
 public CurrencyExchange(IFileManager _fileManager)
 {
     fileManager = _fileManager;
 }
示例#45
0
 public IPluginState CreatePluginState(IFileManager fileManager)
 {
     return(new GzState());
 }
示例#46
0
        private void Create_Click(object sender, EventArgs e)
        {
            var ps = new Security.PortalSecurity();

            txtGroupName.Text = ps.InputFilter(txtGroupName.Text, Security.PortalSecurity.FilterFlag.NoScripting);
            txtGroupName.Text = ps.InputFilter(txtGroupName.Text, Security.PortalSecurity.FilterFlag.NoMarkup);

            txtDescription.Text = ps.InputFilter(txtDescription.Text, Security.PortalSecurity.FilterFlag.NoScripting);
            txtDescription.Text = ps.InputFilter(txtDescription.Text, Security.PortalSecurity.FilterFlag.NoMarkup);
            if (RoleController.Instance.GetRoleByName(PortalId, txtGroupName.Text) != null)
            {
                lblInvalidGroupName.Visible = true;
                return;
            }


            var modRoles = new List <RoleInfo>();
            var modUsers = new List <UserInfo>();

            foreach (ModulePermissionInfo modulePermissionInfo in ModulePermissionController.GetModulePermissions(ModuleId, TabId))
            {
                if (modulePermissionInfo.PermissionKey == "MODGROUP" && modulePermissionInfo.AllowAccess)
                {
                    if (modulePermissionInfo.RoleID > int.Parse(Globals.glbRoleNothing))
                    {
                        modRoles.Add(RoleController.Instance.GetRoleById(PortalId, modulePermissionInfo.RoleID));
                    }
                    else if (modulePermissionInfo.UserID > Null.NullInteger)
                    {
                        modUsers.Add(UserController.GetUserById(PortalId, modulePermissionInfo.UserID));
                    }
                }
            }

            var roleInfo = new RoleInfo()
            {
                PortalID     = PortalId,
                RoleName     = txtGroupName.Text,
                Description  = txtDescription.Text,
                SecurityMode = SecurityMode.SocialGroup,
                Status       = RoleStatus.Approved,
                IsPublic     = rdAccessTypePublic.Checked
            };
            var userRoleStatus = RoleStatus.Pending;

            if (GroupModerationEnabled)
            {
                roleInfo.Status = RoleStatus.Pending;
                userRoleStatus  = RoleStatus.Pending;
            }
            else
            {
                userRoleStatus = RoleStatus.Approved;
            }

            var objModulePermissions = new ModulePermissionCollection(CBO.FillCollection(DataProvider.Instance().GetModulePermissionsByModuleID(ModuleId, -1), typeof(ModulePermissionInfo)));

            if (ModulePermissionController.HasModulePermission(objModulePermissions, "MODGROUP"))
            {
                roleInfo.Status = RoleStatus.Approved;
                userRoleStatus  = RoleStatus.Approved;
            }

            var roleGroupId = DefaultRoleGroupId;

            if (roleGroupId < Null.NullInteger)
            {
                roleGroupId = Null.NullInteger;
            }
            roleInfo.RoleGroupID = roleGroupId;

            roleInfo.RoleID = RoleController.Instance.AddRole(roleInfo);
            roleInfo        = RoleController.Instance.GetRoleById(PortalId, roleInfo.RoleID);

            var groupUrl = Globals.NavigateURL(GroupViewTabId, "", new String[] { "groupid=" + roleInfo.RoleID.ToString() });

            if (groupUrl.StartsWith("http://") || groupUrl.StartsWith("https://"))
            {
                const int startIndex = 8;                 // length of https://
                groupUrl = groupUrl.Substring(groupUrl.IndexOf("/", startIndex, StringComparison.InvariantCultureIgnoreCase));
            }
            roleInfo.Settings.Add("URL", groupUrl);

            roleInfo.Settings.Add("GroupCreatorName", UserInfo.DisplayName);
            roleInfo.Settings.Add("ReviewMembers", chkMemberApproved.Checked.ToString());

            RoleController.Instance.UpdateRoleSettings(roleInfo, true);
            if (inpFile.PostedFile != null && inpFile.PostedFile.ContentLength > 0)
            {
                IFileManager   _fileManager   = FileManager.Instance;
                IFolderManager _folderManager = FolderManager.Instance;
                var            rootFolderPath = PathUtils.Instance.FormatFolderPath(PortalSettings.HomeDirectory);

                IFolderInfo groupFolder = _folderManager.GetFolder(PortalSettings.PortalId, "Groups/" + roleInfo.RoleID);
                if (groupFolder == null)
                {
                    groupFolder = _folderManager.AddFolder(PortalSettings.PortalId, "Groups/" + roleInfo.RoleID);
                }
                if (groupFolder != null)
                {
                    var fileName = Path.GetFileName(inpFile.PostedFile.FileName);
                    var fileInfo = _fileManager.AddFile(groupFolder, fileName, inpFile.PostedFile.InputStream, true);
                    roleInfo.IconFile = "FileID=" + fileInfo.FileId;
                    RoleController.Instance.UpdateRole(roleInfo);
                }
            }

            var notifications = new Notifications();


            RoleController.Instance.AddUserRole(PortalId, UserId, roleInfo.RoleID, userRoleStatus, true, Null.NullDate, Null.NullDate);
            if (roleInfo.Status == RoleStatus.Pending)
            {
                //Send notification to Group Moderators to approve/reject group.
                notifications.AddGroupNotification(Constants.GroupPendingNotification, GroupViewTabId, ModuleId, roleInfo, UserInfo, modRoles, modUsers);
            }
            else
            {
                //Send notification to Group Moderators informing of new group.
                notifications.AddGroupNotification(Constants.GroupCreatedNotification, GroupViewTabId, ModuleId, roleInfo, UserInfo, modRoles, modUsers);

                //Add entry to journal.
                GroupUtilities.CreateJournalEntry(roleInfo, UserInfo);
            }

            Response.Redirect(Globals.NavigateURL(GroupViewTabId, "", new String[] { "groupid=" + roleInfo.RoleID.ToString() }));
        }
示例#47
0
 public PanelController(IRepository repository, IFileManager fileManager)
 {
     _repository  = repository;
     _fileManager = fileManager;
 }
示例#48
0
 public ConfigController(IFileManager fileManager)
 {
     _fileManager = fileManager;
 }
示例#49
0
 public DuplicateRuleService(IOrganizationService service, IFileManager fileManager = null)
 {
     Service     = service ?? throw new ArgumentNullException(nameof(service));
     FileManager = fileManager ?? new FileManager();
 }
示例#50
0
    public static void saveSettings()
    {
        IFileManager fm = ServiceLocator.getIFileManager();

        fm.writeToFile(settingsFilePath, data.ToString());
    }
示例#51
0
        public FileController(IFileManager fileManager)
        {
            Require.NotNull(fileManager, nameof(fileManager));

            _fileManager = fileManager;
        }
示例#52
0
 public AnalysisEngine(ILogger logger, IFileManager fileManager)
 {
     _logger      = logger;
     _fileManager = fileManager;
 }
 public ApplicationSettingsManager(ILogger logger, FirestoreOptions options, IFirestoreConnectionManager connectionManager, IFileManager fileManager, ISecretsConnectionManager secretsManager)
 {
     _logger            = logger;
     _options           = options;
     _connectionManager = connectionManager;
     _fileManager       = fileManager;
     _secretsManager    = secretsManager;
 }
示例#54
0
 public IPluginState CreatePluginState(IFileManager pluginManager)
 {
     return(new NcgrState());
 }
示例#55
0
 public PostManagerController(IRepository repo, IFileManager fileManager, UserManager <IdentityUser> userManager)
 {
     _repo        = repo;
     _fileManager = fileManager;
     _userManager = userManager;
 }
 public CreateCostCommandHandler(IApplicationDBContext context, IFileManager fileManager)
 {
     _context     = context;
     _fileManager = fileManager;
 }
示例#57
0
 public XmlConfigRuleContext(IXPathNavigable ruleConfig, IFileManager fm)
 {
     _FileManager = fm;
     _RuleConfig  = ruleConfig;
 }
示例#58
0
 public ComponentController(IFileManager repository)
 {
     this.repository = repository;
 }
示例#59
0
 public GetFilePathHandler(IFileManager fileManager)
 {
     _fileManager = fileManager;
 }
示例#60
0
 public IPluginState CreatePluginState(IFileManager pluginManager)
 {
     return(new Ps2DiscState());
 }