private void SetHostParameter(IConfigSetTask reader, PropertyRequest settings, IServiceHostSettings host) { var item = host.Parameters.SingleOrDefault(p => p.Name == settings.PropertyName); if (item == null) { reader.CreateServiceHostParameter( host, settings.PropertyName, settings.IsSecure, settings.Type == VariableTypes.ServiceHostEnvironmental ? settings.ParentFormatString : settings.Value, settings.Type == VariableTypes.ServiceHostEnvironmental); } else { item.IsSecureString = settings.IsSecure; item.IsEnvironmental = settings.Type == VariableTypes.ServiceHostEnvironmental; item.SetValue( settings.Type == VariableTypes.ServiceHostEnvironmental ? settings.ParentFormatString : settings.Value); reader.UpdateHostParameter(item); } }
public ConfigReaderController(IConfigSetTask reader, IUserFacade userFacade, IEnvironmentTasks environmentReader) { this.reader = reader; this.userFacade = userFacade; this.environmentReader = environmentReader; }
public UserTokenController(IConfigSetTask reader, IUserFacade userFacade) { this.reader = reader; this.userFacade = userFacade; }
public UserController(IRuntime runtime, IUserFacade userReader, IConfigSetTask reader) : base(runtime) { this.userReader = userReader; this.reader = reader; }
public ServiceHostParameterController(IEnvironmentTasks environmentTasks, IConfigSetTask reader, IRuntime runtime) : base(runtime) { this.environmentTasks = environmentTasks; this.reader = reader; }
public HomeController(IRuntime runtime,IEnvironmentTasks environmentTasks, IConfigSetTask reader) : base(runtime) { this.environmentTasks = environmentTasks; this.reader = reader; }
public ConfigSetController(IRuntime runtime, IConfigSetTask reader) : base(runtime) { this.reader = reader; }
public ServiceHostsController(IConfigSetTask reader, IRuntime runtime) : base(runtime) { this.reader = reader; }
public ParametersController(IConfigSetTask reader, IRuntime runtime) : base(runtime) { this.reader = reader; }
public ServiceController(IConfigSetTask configSetTasks, IRuntime runtime) : base(runtime) { this.reader = configSetTasks; }
public CacheManagementService(IRuntime runtime, IConfigSetTask configSetTask, IEnvironmentTasks environmentTask) : base(runtime) { this.configSetTask = configSetTask; this.environmentTask = environmentTask; }
public ParametersController(IConfigSetTask reader,IRuntime runtime):base(runtime) { this.reader = reader; }
/// <summary> /// Initializes a new instance of the <see cref="T:System.Web.Mvc.Controller"/> class. /// </summary> public RegistrationController(IEnvironmentTasks environmentTasks, IConfigSetTask configSetTasks ) { this.environmentTasks = environmentTasks; this.configSetTasks = configSetTasks; }
public ConfigSetController(IRuntime runtime,IConfigSetTask reader) : base(runtime) { this.reader = reader; }
public UserController(IRuntime runtime,IUserFacade userReader, IConfigSetTask reader):base(runtime) { this.userReader = userReader; this.reader = reader; }
public HomeController(IRuntime runtime, IEnvironmentTasks environmentTasks, IConfigSetTask reader) : base(runtime) { this.environmentTasks = environmentTasks; this.reader = reader; }
public EndpointController(IConfigSetTask reader, IRuntime runtime) : base(runtime) { this.reader = reader; }
public EnvironmentController(IEnvironmentTasks environmentTasks, IConfigSetTask configSetTasks, IRuntime runtime) : base(runtime) { this.reader = environmentTasks; this.configSetTasks = configSetTasks; }