public TrialsService(IOperationsManager operationsManager, ISomeRequiredService someRequiredService, ISomeRequiredService requiredService) : base(operationsManager) { _operationsManager = operationsManager; _someRequiredService = someRequiredService; _requiredService = requiredService; }
public OperationsManagerViewModel( BusyIndicatorViewModel busyIndicator, IOperationsManager operationsManager, IImportManager importManager) { _busyIndicator = busyIndicator; _operationsManager = operationsManager; _importManager = importManager; BeginExportCommand = new RelayCommand(BeginExport); BeginDataQualityAnalysisCommand = new AsyncCommand(BeginDataQualityAnalysis); CommitExportCommand = new AsyncCommand(CommitExport); CommitPendingChangesCommand = new AsyncCommand(SaveChanges); _sfd = new SaveFileDialog { OverwritePrompt = true, Filter = "csv files (*.csv)|*.csv|All Files (*.*)|*.*" }; SelectTargetFileToExportCommand = new RelayCommand(SelectTargetFileToExport); MessengerInstance.Register <AccountViewModel>(this, OnAccountViewModelReceived); _asyncMessageReceiver = new AsyncMessageReceiver(MessengerInstance); _asyncMessageReceiver.RegisterAsync <AccountImportDataChanged>(this, data => ReplayImports(data.AccountId)); DateFilter = new DateRangeFilter(); NoteFilter = new TextFilter(); _anyFilter = new CompositeFilter(DateFilter, NoteFilter); _anyFilter.FilterInvalidated += OnAnyFilterInvalidated; ResetFilterCommad = new RelayCommand(() => _anyFilter.Reset(), () => IsFiltering); }
public DoSomethingLoggedInRequiredOperation( SomeParameters parameters, IOperationsManager operationsManager, ISomeRequiredService requiredService) : base(parameters, operationsManager, requiredService) { }
public GameViewPresenter(IMainView mainView, IOperationsManager operationsManager) { this.mainView = mainView; this.operationsManager = operationsManager; this.mainView.CellAttacked += HandleCellAttack; this.mainView.GameReset += InitializeGameBoards; }
public UpdateContactDetailsViewModel(BusinessService businessService, IOperationsManager operationsService, IToastService toastService, IPubSubService pubSubService, IModalService modalService) { _businessService = businessService; _operationsService = operationsService; _toastService = toastService; _pubSubService = pubSubService; _modalService = modalService; }
public CreateBusinessViewModel(ILogger <CreateBusinessViewModel> logger, BusinessService businessService, IToastService toastService, IOperationsManager operationManager, NavigationManager navigationManager) { _logger = logger; _businessService = businessService; _toastService = toastService; _operationManager = operationManager; _navigationManager = navigationManager; }
public DoSomethingOperation( SomeParameters parameters, IOperationsManager operationsManager, ISomeRequiredService someRequiredService) : base(operationsManager, "Do Something") { _parameters = parameters; _someRequiredService = someRequiredService; }
public HttpExecutor(ILogger <HttpExecutor> logger, IToastService toastService, IOperationsManager operationsManager, IOperationsService operationsService, IHttpClientFactory httpFactory, IUserContext context) { _logger = logger; _toastService = toastService; _operationsManager = operationsManager; _operationsService = operationsService; _client = httpFactory.CreateClient(); _client.DefaultRequestHeaders.Add("Authorization", $"Bearer {context.Token}"); }
public ServiceBase(IOperationsManager operationsManager, bool isReportingProgress = false, bool isSupportingCancel = false, int expectedCompletionTimeMilliseconds = 0, int suggestedPollingIntervalMilliseconds = 0 ) { _baseOperationsManager = operationsManager; _isReportingProgress = isReportingProgress; _isSupportingCancel = isSupportingCancel; _expectedCompletionTimeMilliseconds = expectedCompletionTimeMilliseconds; _suggestedPollingIntervalMilliseconds = suggestedPollingIntervalMilliseconds; }
public GmcManager(BusyIndicatorViewModel busyIndicator, ICacheProvider cacheProvider, IOperationsManager operationsManager) { _busyIndicator = busyIndicator; _cacheProvider = cacheProvider; _operationsManager = operationsManager; Filter = new GmcManagerFilterViewModel(); Filter.FilterInvalidated += OnFilterInvalidated; LocalTransactions = new SmartCollection <BasicTransactionModel>(); RemoteTransactions = new SmartCollection <BasicTransactionModel>(); RefreshRemoteKnowledgeCommand = new AsyncCommand(ComputeDeltaWithRemote); PushChangesToGmcCommand = new AsyncCommand(PushChangesToGmc); PullCategoriesFromGmcCommand = new AsyncCommand(PullCategoriesFromGmc); ClearCurrentAccountCacheAndResetCommand = new AsyncCommand(ClearCurrentAccountCacheAndReset); MessengerInstance.Register <AccountViewModel>(this, OnAccountViewModelReceived); }
public AccountsManagerViewModel( BusyIndicatorViewModel busyIndicatorViewModel, IAccountsManager manager, IOperationsManager operationsManager, IImportManager importsManager) { _busyIndicator = busyIndicatorViewModel; _manager = manager; _operationsManager = operationsManager; _importsManager = importsManager; LoadCommand = new AsyncCommand(LoadAsync, () => !IsEditing); BeginNewCommand = new AsyncCommand(BeginNew, () => !IsEditing); BeginEditCommand = new AsyncCommand(BeginEdit, () => !IsEditing && CurrentAccount != null); DeleteCommand = new AsyncCommand(Delete, () => !IsEditing && CurrentAccount != null); CommitEditCommand = new AsyncCommand(CommitEdit, () => IsEditing); _commands = new[] { LoadCommand, BeginEditCommand, CommitEditCommand, BeginNewCommand, DeleteCommand }; }
public OperationsManagementService(IOperationsManager operationsManager) { _operationsManager = operationsManager; }
public DoSomethingAuthenticatedService(IOperationsManager operationsManager) { _operationsManager = operationsManager; }
public TestOperation(IOperationsManager operationsManager, bool isFailure = false) : base(operationsManager, "Test operation") { _isFailure = isFailure; }
public TestWithMultipleParametersOperation(Parameters parameters, Parameters parameters2, IOperationsManager operationsManager) : base(operationsManager, "displayName") { }
public TestOperationWithFaultAttributeInherited(IOperationsManager operationsManager, string displayName) : base(operationsManager, displayName) { }
public TestOperationWithStringAndObjectParameters(Parameters parameters, string input, IOperationsManager operationsManager) : base(operationsManager, "displayName") { }
public TestWithNoAttributeOperation(IOperationsManager operationsManager, string displayName) : base(operationsManager, displayName) { }
public ServiceBase(IOperationsManager operationsManager) { _baseOperationsManager = operationsManager; Logger.LogEvent(string.Format("New instance of {0} has been constructed.", this.GetType().Name), this, ImportanceLevels.gUnimportant); }
public TestOperationWithBoolParameter(bool input, IOperationsManager operationsManager) : base(operationsManager, "displayName") { }
public TestOperationGenreateSync(IOperationsManager operationsManager, string displayName) : base(operationsManager, displayName) { }
public TestOperation(Parameters parameters, IOperationsManager operationsManager) : base(operationsManager, "displayName") { }
public TestBoolReturnValueOperation(IOperationsManager operationsManager, string displayName) : base(operationsManager, displayName) { }
public TestService(IOperationsManager operationsManager) : base(operationsManager) { _operationsManager = operationsManager; }
public AnotherTrialService(IOperationsManager operationsManager) : base(operationsManager) { _operationsManager = operationsManager; }
public TestWithNoParametersOperation(IOperationsManager operationsManager) : base(operationsManager, "displayName") { }
public ImportManager(ICacheProvider cacheProvider, IAccountCommandRepository accountCommandRepository, IOperationsManager operationsManager) { _cacheProvider = cacheProvider; _accountCommandRepository = accountCommandRepository; _operationsManager = operationsManager; }
public OperationBase(IOperationsManager operationsManager) : this(operationsManager, null) { }
public DoSomethingService(IOperationsManager operationsManager) { _operationsManager = operationsManager; }
public DoOtherStuff(IOperationsManager operationsManager) : base(operationsManager, "Other stuff") { }
public TestOperationWithStringParameter(string input, IOperationsManager operationsManager) : base(operationsManager, "displayName") { }
public OperationBase(IOperationsManager operationsManager, string readableOperationId) { _operationsManager = operationsManager; _readableOperationId = readableOperationId ?? this.GetType().Name; Logger.LogEvent(string.Format("Operation '{0}' instance constructed.", _readableOperationId), this, ImportanceLevels.gUnimportant); }