15 references to GetService
System.Workflow.Runtime (11)
Hosting\DefaultWorkflowLoaderService.cs (1)
50ITypeProvider typeProvider = this.Runtime.GetService<ITypeProvider>();
Hosting\SqlWorkflowPersistenceService.cs (1)
825_transactionService = Runtime.GetService<WorkflowCommitWorkBatchService>();
Tracking\SqlTrackingService.cs (1)
192_transactionService = this.Runtime.GetService<WorkflowCommitWorkBatchService>();
WorkflowDefinitionDispenser.cs (4)
256WorkflowLoaderService loader = workflowRuntime.GetService<WorkflowLoaderService>(); 264ValidateDefinition(root, true, workflowRuntime.GetService<ITypeProvider>()); 277WorkflowLoaderService loader = workflowRuntime.GetService<WorkflowLoaderService>(); 309ITypeProvider typeProvider = workflowRuntime.GetService<ITypeProvider>();
WorkflowExecutor.cs (1)
3027if (persistOnClose && this.WorkflowRuntime.GetService<WorkflowPersistenceService>() == null)
WorkflowInstance.cs (1)
208if (_runtime == null || _runtime.GetService<WorkflowPersistenceService>() == null)
WorkflowRuntime.cs (2)
303return GetService<WorkflowSchedulerService>(); 1457ITypeProvider typeProvider = runtime.GetService<ITypeProvider>();
System.WorkflowServices (4)
System\ServiceModel\Description\WorkflowRuntimeBehavior.cs (2)
108this.WorkflowRuntime.GetService<WorkflowPersistenceService>() != null); 134WorkflowSchedulerService workflowSchedulerService = workflowRuntime.GetService<WorkflowSchedulerService>();
System\ServiceModel\Description\WorkflowServiceBehavior.cs (2)
237WorkflowPersistenceService persistenceService = workflowRuntimeBehavior.WorkflowRuntime.GetService<WorkflowPersistenceService>(); 306SynchronizationContextWorkflowSchedulerService syncSchedulerService = workflowRuntimeBehavior.WorkflowRuntime.GetService<SynchronizationContextWorkflowSchedulerService>();