コード例 #1
0
ファイル: UserController.cs プロジェクト: NickAndersonX/xodb
 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;
     
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: Deeptwix/MFilesDeleter
 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;
 }
コード例 #3
0
ファイル: Program.cs プロジェクト: 8/MFilesImporter
 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;
 }
コード例 #4
0
        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);
        }
コード例 #5
0
 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;
 }
コード例 #6
0
ファイル: StoreFacade.cs プロジェクト: Volodymyr759/WebStore
        /// <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;
        }
コード例 #7
0
 public TicketController(ITicketService ticketService, IParametersService parametersService)
 {
     _ticketService     = ticketService;
     _parametersService = parametersService;
 }
コード例 #8
0
ファイル: VaultService.cs プロジェクト: 8/MFilesDeleter
 public VaultService(IParametersService parametersService)
 {
     this.Vault = new Lazy<Vault>(() => CreateVault(parametersService.Parameters));
 }
 public ConverterParametersController(IParametersService<IConverterParameter> service)
 {
     _service = service;
 }
コード例 #10
0
 public ParametersController(IParametersService parametersService)
 {
     this.parametersService = parametersService;
 }
 public ManagementSequentialController(IParametersService parametersService, ISwitchAtiscodeProceduresService switchAtiscodeProceduresService)
 {
     _parametersService = parametersService;
     _switchAtiscodeProceduresService = switchAtiscodeProceduresService;
 }
コード例 #12
0
 public VaultService(IParametersService parametersService)
 {
     this.Vault = new Lazy <Vault>(() => CreateVault(parametersService.Parameters));
 }
 public DestinationParametersController(IParametersService<IDestinationParameter> service)
 {
     _service = service;
 }
コード例 #14
0
        public void Initialize(IParametersService parameters)
        {
            var firstItem = MasterListView.ItemsSource.Cast <DashboardItem>().FirstOrDefault();

            MasterListView.SelectedItem = firstItem;
        }
コード例 #15
0
 public void OnPageAppeared(IParametersService parameters)
 {
     RefreshData();
 }
コード例 #16
0
 public SourceParametersController(IParametersService<ISourceParameter> service)
 {
     _service = service;
 }
コード例 #17
0
ファイル: VaultService.cs プロジェクト: 8/MFilesImporter
 public VaultService(ISettingsService settingsService, IParametersService parametersService)
 {
   this.Vault = new Lazy<Vault>(() => CreateVault(settingsService.Settings, parametersService.Parameters));
 }
コード例 #18
0
 public ResultWriterService(IParametersService parametersService)
 {
   this.ParametersService = parametersService;
 }
コード例 #19
0
 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"));
 }