public UserController( IOrchardServices services, IBlockModelService blockModelService, IAssayService assayService, IGeophysicsService geophysicsService, IProjectsService projectService, IParametersService parameterService, IUsersService userService, IPrivateDataService privateService, IWorkflowService workflowService ) { Services = services; UserService = userService; BlockModelService = blockModelService; AssayService = assayService; GeophysicsService = geophysicsService; ParameterService = parameterService; ProjectService = projectService; PrivateService = privateService; WorkflowService = workflowService; T = NullLocalizer.Instance; Logger = NullLogger.Instance; }
public Program(IParametersService parametersService, IDestroyObjectService destroyObjectService, IClassesService classesService, IObjectTypeService objectTypeService, IFindObjectsService findObjectsService) { this.ParametersService = parametersService; this.DestroyObjectService = destroyObjectService; this.ClassesService = classesService; this.ObjectTypeService = objectTypeService; this.FindObjectsService = findObjectsService; }
public Program(IParametersService parametersService, IConnectionTestService connectionTestService, ICsvImporterService csvImporterService, ICsvParserService csvParserService, IResultWriterService resultWriterService, ICsvWriterService csvWriterService, IDestroyObjectService destroyObjectService, IFindObjectsService findObjectsService, IClassesService classesService, IObjectTypeService objectTypeService) { this.ParametersService = parametersService; this.ConnectionTestService = connectionTestService; this.CsvImporterService = csvImporterService; this.CsvParserService = csvParserService; this.ResultWriterService = resultWriterService; this.CsvWriterService = csvWriterService; this.DestroyObjectService = destroyObjectService; this.ClassesService = classesService; this.FindObjectsService = findObjectsService; this.ObjectTypeService = objectTypeService; }
public static void SetCurrentStepResponseParameter(IVuGenScript script, string value) { IStepService stepService = ServiceManager.Instance.GetService <IStepService>(); IParametersService parametersService = ServiceManager.Instance.GetService <IParametersService>(); string leftBracket, rightBracket; parametersService.GetParameterBraces(script, out leftBracket, out rightBracket); string actualValue = value; if (actualValue.StartsWith(leftBracket)) { actualValue = actualValue.Substring(leftBracket.Length); } if (actualValue.EndsWith(rightBracket)) { actualValue = actualValue.Substring(0, actualValue.Length - rightBracket.Length); } var step = stepService.CurrentStep; step.SetExtensionProperty("dataposid", actualValue); }
public UserController( IOrchardServices services, IBlockModelService blockModelService, IAssayService assayService, IGeophysicsService geophysicsService, IProjectsService projectService, IParametersService parameterService, IUsersService userService, EXPEDIT.Geology.Services.IPrivateDataService privateService, IWorkflowService workflowService ) { Services = services; UserService = userService; BlockModelService = blockModelService; AssayService = assayService; GeophysicsService = geophysicsService; ParameterService = parameterService; ProjectService = projectService; PrivateService = privateService; WorkflowService = workflowService; T = NullLocalizer.Instance; Logger = NullLogger.Instance; }
/// <summary> /// Конструктор фасаду сервісного рівня /// </summary> /// <param name="categoriesService">Екземпляр сервісу категорій</param> /// <param name="groupsService">Екземпляр сервісу груп</param> /// <param name="imagesService">Екземпляр сервісу зображень</param> /// <param name="parametersService">Екземпляр сервісу характеристик</param> /// <param name="productsService">Екземпляр сервісу товарів</param> /// <param name="suppliersService">Екземпляр сервісу постачальників</param> /// <param name="unitsService">Екземпляр сервісу одиниць виміру</param> /// <param name="imagesAgent">Екземпляр завантажувача зображень</param> /// <param name="parametersAgent">Екземпляр завантажувача характеристик</param> /// <param name="saverToCsvAgent">Екземпляр класу збереження в Csv</param> /// <param name="saverToXmlAgent">Екземпляр класу збереження в Xml</param> public StoreFacade(ICategoriesService categoriesService, IGroupsService groupsService, IImagesService imagesService, IParametersService parametersService, IProductsService productsService, ISuppliersService suppliersService, IUnitsService unitsService, IImagesAgent imagesAgent, IParametersAgent parametersAgent, ISaverToCsvAgent saverToCsvAgent, ISaverToXmlAgent saverToXmlAgent) { this.categoriesService = categoriesService; this.groupsService = groupsService; this.imagesService = imagesService; this.parametersService = parametersService; this.productsService = productsService; this.suppliersService = suppliersService; this.unitsService = unitsService; this.imagesAgent = imagesAgent; this.parametersAgent = parametersAgent; this.saverToCsvAgent = saverToCsvAgent; this.saverToXmlAgent = saverToXmlAgent; }
public TicketController(ITicketService ticketService, IParametersService parametersService) { _ticketService = ticketService; _parametersService = parametersService; }
public VaultService(IParametersService parametersService) { this.Vault = new Lazy<Vault>(() => CreateVault(parametersService.Parameters)); }
public ConverterParametersController(IParametersService<IConverterParameter> service) { _service = service; }
public ParametersController(IParametersService parametersService) { this.parametersService = parametersService; }
public ManagementSequentialController(IParametersService parametersService, ISwitchAtiscodeProceduresService switchAtiscodeProceduresService) { _parametersService = parametersService; _switchAtiscodeProceduresService = switchAtiscodeProceduresService; }
public VaultService(IParametersService parametersService) { this.Vault = new Lazy <Vault>(() => CreateVault(parametersService.Parameters)); }
public DestinationParametersController(IParametersService<IDestinationParameter> service) { _service = service; }
public void Initialize(IParametersService parameters) { var firstItem = MasterListView.ItemsSource.Cast <DashboardItem>().FirstOrDefault(); MasterListView.SelectedItem = firstItem; }
public void OnPageAppeared(IParametersService parameters) { RefreshData(); }
public SourceParametersController(IParametersService<ISourceParameter> service) { _service = service; }
public VaultService(ISettingsService settingsService, IParametersService parametersService) { this.Vault = new Lazy<Vault>(() => CreateVault(settingsService.Settings, parametersService.Parameters)); }
public ResultWriterService(IParametersService parametersService) { this.ParametersService = parametersService; }
public static SelectList GetUnitsList(this IParametersService o) { return(new SelectList(o.GetUnits().Select(x => new { Value = x.UnitID, Text = string.Format("{0}", x.StandardUnitName) }).ToArray(), "Value", "Text")); }