public void SetConfing(Service1.Configurations config) { HomeDomain = config.DomainName; AuthDisabled = !config.IsAuthorizationEnabled; ActiveDirectoryMode = config.IsActiveDirectoryUsersEnabled; ActiveDirectoryGroup = config.ActiveDirectoryUsersGroup; EnableTracing = config.IsTracingEnabled; TracingPath = config.TracingFileName; oldConfig = config; }
public void SetConfing(Service1.Configurations config) { HomeDomain = config.DomainName; AuthDisabled = !config.IsAuthorizationEnabled; ActiveDirectoryMode = config.IsActiveDirectoryUsersEnabled; ActiveDirectoryGroup = config.ActiveDirectoryUsersGroup; EnableTracing = config.IsTracingEnabled; TracingPath = config.TracingFileName; oldConfig = config; }
public Service1.Configurations GetConfing() { Service1.Configurations config = new Service1.Configurations(); config.DomainName = HomeDomain; config.IsAuthorizationEnabled = !AuthDisabled; config.IsActiveDirectoryUsersEnabled = ActiveDirectoryMode; config.ActiveDirectoryUsersGroup = ActiveDirectoryGroup; config.IsTracingEnabled = EnableTracing; config.TracingFileName = TracingPath; return(config); }
public Service1.Configurations GetConfing() { Service1.Configurations config = new Service1.Configurations(); config.DomainName = HomeDomain; config.IsAuthorizationEnabled = !AuthDisabled; config.IsActiveDirectoryUsersEnabled = ActiveDirectoryMode; config.ActiveDirectoryUsersGroup = ActiveDirectoryGroup; config.IsTracingEnabled = EnableTracing; config.TracingFileName = TracingPath; return config; }