public AjaxController( INomenclatureService _nomenclatureService, ICaseService _caseService, ICommonService _commonService, IUserContext _userContext, ICasePersonService _casePersonService, ICalendarService _calendarService, ICaseGroupService _caseGroupService, ICaseLoadIndexService _caseLoadIndexService, IEisppService _eisppService, ILogOperationService <ApplicationDbContext> _logOperation, ICdnService _cdnService) { nomenclatureService = _nomenclatureService; caseService = _caseService; commonService = _commonService; userContext = _userContext; logOperation = _logOperation; calendarService = _calendarService; casePersonService = _casePersonService; caseGroupService = _caseGroupService; caseLoadIndexService = _caseLoadIndexService; eisppService = _eisppService; cdnService = _cdnService; }
public CaseSearchViewModel() { _commonFun = Resolver.Resolve <ICommonFun>(); _commonHelper = Resolver.Resolve <CommonHelper>(); _caseService = Resolver.Resolve <ICaseService>(); ItemTappedCommand = new RelayCommand <CasesListDto>(TappedCommand); _dIcCaseType.Add("0", "全部"); Device.BeginInvokeOnMainThread(async() => { var result = await _caseService.GetTypeFromHiddenCode("12"); if (null != result && result.ResultCode == Module.ResultType.Success) { var caseTypeList = JsonConvert.DeserializeObject <List <NameValueObject> >(result.Body); if (caseTypeList != null && caseTypeList.Count > 0) { foreach (var item in caseTypeList) { _dIcCaseType.Add(item.Value, item.Name); } } else { } } }); // 页面初始化,清空 MessagingCenter.Subscribe <string>(this, "InitCaseSearchPage", (obj) => { Init(); }); }
internal BlaiseCaseApi( ICaseService caseService, ConnectionModel connectionModel) { _caseService = caseService; _connectionModel = connectionModel; }
/// <summary> /// /// Retrieves a list of all cases fulfilling the criteria of all the /// nonblank properties of the supplied parameter. /// /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='getCasesArgs'> /// (See model for parameter info) /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <GetCasesOKResponse> GetCasesAsync(this ICaseService operations, GetCasesArgs getCasesArgs = default(GetCasesArgs), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetCasesWithHttpMessagesAsync(getCasesArgs, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
public CaseController( ICaseService caseService, ILoggingService loggingService) { _caseService = caseService; _loggingService = loggingService; }
public CaseController(ICaseService caseService, IUpdateService updateService, ILogger <CaseController> logger, IEventService eventService) { _caseService = caseService; _updateService = updateService; _logger = logger; _eventService = eventService; }
/// <summary> /// /// Create a case /// /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='createCaseArgs'> /// (See model for parameter info) /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <CreateCaseOKResponse> CreateCaseAsync(this ICaseService operations, CreateCaseArgs createCaseArgs = default(CreateCaseArgs), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CreateCaseWithHttpMessagesAsync(createCaseArgs, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
public CaseController(ICaseService caseService, IAccountService accountService, IMapper mapper, IWebHostEnvironment webHostEnvironment) { _caseService = caseService; _accountService = accountService; _webHostEnvironment = webHostEnvironment; _mapper = mapper; }
public ReportSearchViewModel() { _commonFun = Resolver.Resolve <ICommonFun>(); _commonHelper = Resolver.Resolve <CommonHelper>(); _caseService = Resolver.Resolve <ICaseService>(); _dIcSourceType.Add("0", "全部"); Device.BeginInvokeOnMainThread(async() => { var result = await _caseService.GetTypeFromHiddenCode("15"); if (null != result && result.ResultCode == Module.ResultType.Success) { var caseTypeList = JsonConvert.DeserializeObject <List <NameValueObject> >(result.Body); if (caseTypeList != null && caseTypeList.Count > 0) { foreach (var item in caseTypeList) { _dIcSourceType.Add(item.Value, item.Name); } } else { } } }); }
public AllocateCase(ICaseService caseService, ITaskService taskService, ILibraryService libraryService, IService <Site> siteService) { if (caseService == null) { throw new ArgumentNullException(nameof(caseService)); } if (taskService == null) { throw new ArgumentNullException(nameof(taskService)); } if (libraryService == null) { throw new ArgumentNullException(nameof(libraryService)); } if (siteService == null) { throw new ArgumentNullException(nameof(siteService)); } _caseService = caseService; _taskService = taskService; _libraryService = libraryService; _siteService = siteService; }
public RecentCasePostsPartDriver( ICaseService cAseService, IContentManager contentManager) { _cAseService = cAseService; _contentManager = contentManager; }
public MainViewModel(ICaseService service, IScreen hostScreen = null) : base(hostScreen) { this.service = service as CaseService; AddCmd = ReactiveCommand.Create(Add); NavigateCmd = ReactiveCommand.Create(Navigate); InitCmd = ReactiveCommand.CreateFromTask(Init); }
public CasePostAdminController(IOrchardServices services, ICaseService cAseService, ICasePostService cAsePostService, IWorkContextAccessor workContextAccessor) { Services = services; _cAseService = cAseService; _cAsePostService = cAsePostService; T = NullLocalizer.Instance; _workContextAccessor = workContextAccessor; }
public CaseLoadCorrectionController(ICaseLoadCorrectionService _service, INomenclatureService _nomService, ICaseService _caseService) { service = _service; nomService = _nomService; caseService = _caseService; }
public CaseController(ICaseService caseService, ILevelingService levelingService, IAwardAchievementService awardAchievementService) { _caseService = caseService; _levelingService = levelingService; _awardAchievementService = awardAchievementService; }
public BlaiseCaseApi(ConnectionModel connectionModel = null) { _caseService = UnityProvider.Resolve <ICaseService>(); var configurationProvider = UnityProvider.Resolve <IBlaiseConfigurationProvider>(); _connectionModel = connectionModel ?? configurationProvider.GetConnectionModel(); }
// Resolve dependencies and set up the heatmap initially public HeatmapPageModel(IConfiguration config, ICaseService caseService) { _config = config; _caseService = caseService; googleUrl = "https://maps.googleapis.com/maps/api/js?v=3.exp&key=" + _config["googleApiKey"] + "&libraries=visualization"; DateFrom = DateTime.Now.AddDays(-10); DateTo = DateTime.Now; SetUpLocationArrays(); }
public PositiveFormModel(AppDbContext context, IConfiguration config, ICaseService caseService, ITesterService testerService, IUserService userService, ITestingCentreService testingCentreService) { _CaseService = caseService; _TesterService = testerService; _UserService = userService; _TestingCentreService = testingCentreService; _config = config; CaseForm = new CaseForm(); }
public FileService( IBlaiseConfigurationProvider configurationProvider, IDataInterfaceProvider dataInterfaceService, ICaseService caseService) { _configurationProvider = configurationProvider; _dataInterfaceService = dataInterfaceService; _caseService = caseService; }
public CaseArchivesPartDriver( ICaseService cAseService, ICasePostService cAsePostService, IContentManager contentManager) { _cAseService = cAseService; _cAsePostService = cAsePostService; _contentManager = contentManager; }
public CaseController(ICaseService caseService, IIdentityService identityService, IMasterService masterService, IPremiseService premiseService) { _caseService = caseService; _identityService = identityService; _masterService = masterService; _premiseService = premiseService; }
public InstrumentDataService( IFileService fileService, ICaseService caseService, ICloudStorageService storageService, ILoggingService loggingService) { _fileService = fileService; _caseService = caseService; _storageService = storageService; _loggingService = loggingService; }
public DashboardModel( ICaseService caseService, ITracerService tracerService, IUserService userService, IContactService contactService) : base(tracerService, userService) { this.caseService = caseService; this.userService = userService; this.contactService = contactService; }
public CaseRegViewModel() { _tourService = Resolver.Resolve <ITourService>(); _commonFun = Resolver.Resolve <ICommonFun>(); _commonHelper = Resolver.Resolve <CommonHelper>(); _caseService = Resolver.Resolve <ICaseService>(); IsLoading = false; CaseType = "请选择"; MessagingCenter.Unsubscribe <List <RequestParameter> >(this, MessageConst.CASEATTACH_DELETE); MessagingCenter.Subscribe <string>( this, MessageConst.CASEATTACH_DELETE, (SeqNo) => { DeleteCaseAttach(SeqNo); }); MessagingCenter.Subscribe <List <RequestParameter> >(this, "GetCaseInfoDetail", (param) => { if (param != null && param.Count > 0) { paramList = param; string caseId = param.Find(p => p.Name == "caseId").Value; GetCaseInfoDetail(caseId); } }); MessagingCenter.Subscribe <string>(this, "InitCaseRegPage", (param) => { Init(0); }); Device.BeginInvokeOnMainThread(async() => { var result = await _caseService.GetTypeFromHiddenCode("12"); if (null != result && result.ResultCode == Module.ResultType.Success) { var caseTypeList = JsonConvert.DeserializeObject <List <NameValueObject> >(result.Body); if (caseTypeList != null && caseTypeList.Count > 0) { foreach (var item in caseTypeList) { _dIcCaseType.Add(item.Value, item.Name); } } else { } } }); }
public RemoteCasePublishingController( IOrchardServices services, ICaseService cAseService, IRsdConstraint rsdConstraint, RouteCollection routeCollection) { _cAseService = cAseService; _rsdConstraint = rsdConstraint; _routeCollection = routeCollection; Logger = NullLogger.Instance; }
public DashboardEditModel( ITracerService tracerService, IUserService userService, IContactService contactService, ICaseService caseService) : base(tracerService, userService) { _contactService = contactService; _caseService = caseService; AddContactForm = new AddContactForm(); }
public virtual void init() { repositoryService = engineRule.RepositoryService; identityService = engineRule.IdentityService; runtimeService = engineRule.RuntimeService; taskService = engineRule.TaskService; caseService = engineRule.CaseService; decisionService = engineRule.DecisionService; historyService = engineRule.HistoryService; processEngineConfiguration = engineRule.ProcessEngineConfiguration; }
internal BlaiseSurveyApi( ISurveyService surveyService, ISurveyMetaService surveyMetaService, ICaseService caseService, ConnectionModel connectionModel) { _surveyService = surveyService; _surveyMetaService = surveyMetaService; _caseService = caseService; _connectionModel = connectionModel; }
//Resolve dependencies and set initial statistic values public GovHomeModel(IConfiguration config, ICaseService caseService, IContactService contactService, ITracerService tracerService, ITesterService testerService, ITracingCentreService tracingCentreService, ITestingCentreService testingCentreService) { _config = config; _caseService = caseService; _contactService = contactService; _tracerService = tracerService; _testerService = testerService; _tracingCentreService = tracingCentreService; _testingCentreService = testingCentreService; SetStats(); }
public BlaiseCaseApi(ConnectionModel connectionModel = null) { var unityProvider = new UnityProvider(); unityProvider.RegisterDependencies(); _caseService = unityProvider.Resolve <ICaseService>(); var configurationProvider = unityProvider.Resolve <IBlaiseConfigurationProvider>(); _connectionModel = connectionModel ?? configurationProvider.GetConnectionModel(); }
public CaseController() { _caseService = new CaseService(); }
public HomeController() { _caseService = new CaseService(); _subscriberService = new SubscriberService(); }