Ejemplo n.º 1
0
 public Arma3SyncService(IFileAccessor fileAccessor, IRegistryAccessor registryAccessor, INetworkAccessor networkAccessor, IProcessAccessor processAccessor, ILogger logger)
     : base(logger)
 {
     _fileAccessor     = fileAccessor;
     _registryAccessor = registryAccessor;
     _networkAccessor  = networkAccessor;
     _processAccessor  = processAccessor;
 }
Ejemplo n.º 2
0
        public SettingsService(IFileAccessor fileAccessor, IRegistryAccessor registryAccessor, ILogger logger) : base(logger)
        {
            _fileAccessor     = fileAccessor;
            _registryAccessor = registryAccessor;

            UserProfiles        = new BindableCollection <UserProfile>();
            ApplicationSettings = new ApplicationSettings();
        }
Ejemplo n.º 3
0
 public ManageabilityHelper(IDictionary<string, ConfigurationSectionManageabilityProvider> manageabilityProviders, bool readGroupPolicies, IRegistryAccessor registryAccessor, bool generateWmiObjects, IWmiPublisher wmiPublisher, string applicationName)
 {
     this.manageabilityProviders = manageabilityProviders;
     this.readGroupPolicies = readGroupPolicies;
     this.registryAccessor = registryAccessor;
     this.generateWmiObjects = generateWmiObjects;
     this.wmiPublisher = wmiPublisher;
     this.applicationName = applicationName;
     this.publishedSettingsMapping = new Dictionary<string, IEnumerable<ConfigurationSetting>>();
 }
 ///<summary>
 /// Initialize a new instance of the <see cref="ManageabilityHelper"/> class.
 ///</summary>
 ///<param name="manageabilityProviders">The manageability providers.</param>
 ///<param name="readGroupPolicies">true to read Group Policies; otherwise, false.</param>
 ///<param name="registryAccessor">A registry accessor.</param>
 ///<param name="applicationName">The application name.</param>
 public ManageabilityHelper(IDictionary<string, ConfigurationSectionManageabilityProvider> manageabilityProviders,
                            bool readGroupPolicies,
                            IRegistryAccessor registryAccessor,
                            string applicationName)
 {
     this.manageabilityProviders = manageabilityProviders;
     this.readGroupPolicies = readGroupPolicies;
     this.registryAccessor = registryAccessor;
     this.applicationName = applicationName;
 }
 ///<summary>
 /// Initialize a new instance of the <see cref="ManageabilityHelper"/> class.
 ///</summary>
 ///<param name="manageabilityProviders">The manageability providers.</param>
 ///<param name="readGroupPolicies">true to read Group Policies; otherwise, false.</param>
 ///<param name="registryAccessor">A registry accessor.</param>
 ///<param name="applicationName">The application name.</param>
 public ManageabilityHelper(IDictionary <string, ConfigurationSectionManageabilityProvider> manageabilityProviders,
                            bool readGroupPolicies,
                            IRegistryAccessor registryAccessor,
                            string applicationName)
 {
     this.manageabilityProviders = manageabilityProviders;
     this.readGroupPolicies      = readGroupPolicies;
     this.registryAccessor       = registryAccessor;
     this.applicationName        = applicationName;
 }
Ejemplo n.º 6
0
        ///<summary>
        /// Initialize a new instance of the <see cref="ManageabilityHelper"/> class.
        ///</summary>
        ///<param name="manageabilityProviders">The manageability providers.</param>
        ///<param name="readGroupPolicies">true to read group policies; otherwise, false.</param>
        ///<param name="registryAccessor">A registry accessor.</param>
        ///<param name="generateWmiObjects">true to generate wmi objects; othrewise, false.</param>
        ///<param name="wmiPublisher">The wmi publisher.</param>
        ///<param name="applicationName">The application name.</param>
        public ManageabilityHelper(IDictionary <string, ConfigurationSectionManageabilityProvider> manageabilityProviders,
                                   bool readGroupPolicies,
                                   IRegistryAccessor registryAccessor,
                                   bool generateWmiObjects,
                                   IWmiPublisher wmiPublisher,
                                   string applicationName)
        {
            this.manageabilityProviders = manageabilityProviders;
            this.readGroupPolicies      = readGroupPolicies;
            this.registryAccessor       = registryAccessor;
            this.generateWmiObjects     = generateWmiObjects;
            this.wmiPublisher           = wmiPublisher;
            this.applicationName        = applicationName;

            publishedSettingsMapping = new Dictionary <string, IEnumerable <ConfigurationSetting> >();
        }