94 implementations of GetService
PresentationBuildTasks (1)
Framework\System\Windows\Markup\TypeContext.cs (1)
77virtual public object GetService(Type serviceType)
PresentationFramework (26)
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (1)
736virtual public object GetService(Type serviceType)
src\Framework\MS\Internal\Documents\FixedDocumentPaginator.cs (1)
204object IServiceProvider.GetService(Type serviceType)
src\Framework\MS\Internal\Documents\FixedDocumentSequencePaginator.cs (1)
204object IServiceProvider.GetService(Type serviceType)
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (1)
1088object IServiceProvider.GetService(Type serviceType)
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (1)
746object IServiceProvider.GetService(Type serviceType)
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
63object IServiceProvider.GetService(Type serviceType)
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (1)
1177object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Controls\ContentPresenter.cs (1)
1150object IServiceProvider.GetService(Type serviceType) { return null; }
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1899object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
1037object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1787object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Controls\TextBlock.cs (1)
290object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Documents\DocumentSequence.cs (2)
75object IServiceProvider.GetService(Type serviceType) 1116object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Documents\DPTypeDescriptorContext.cs (1)
186object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
108object IServiceProvider.GetService(Type serviceType) 1425object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
1708object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
145object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (1)
64object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Markup\Baml2006\TypeConverterMarkupExtension.cs (1)
31object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
1278public object GetService(Type serviceType)
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1518public object GetService(Type serviceType)
src\Framework\System\Windows\Markup\ProvideValueServiceProvider.cs (1)
100public object GetService(Type service)
src\Framework\System\Windows\Markup\typecontext.cs (1)
77virtual public object GetService(Type serviceType)
src\Framework\System\Windows\TemplateContent.cs (1)
1503object IServiceProvider.GetService(Type serviceType)
System (5)
compmod\system\componentmodel\Container.cs (1)
286public Object GetService(Type service) {
compmod\system\componentmodel\design\ServiceObjectContainer.cs (1)
184public virtual object GetService(Type serviceType) {
compmod\system\componentmodel\LicenseContext.cs (1)
42public virtual object GetService(Type type) {
compmod\system\componentmodel\MarshalByValueComponent.cs (1)
172public virtual object GetService(Type service) {
compmod\system\componentmodel\NestedContainer.cs (1)
139public Object GetService(Type service) {
System.Activities (1)
System\Activities\Debugger\DebugInfo.cs (1)
611public object GetService(Type serviceType)
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (1)
87public abstract object GetService(Type serviceType);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeDescriptorContextWrapper.cs (1)
95public object GetService(Type serviceType)
System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (1)
196public object GetService(Type serviceType)
System.ComponentModel.DataAnnotations (2)
DataAnnotations\ValidationContext.cs (2)
276public object GetService(Type serviceType) { 418public object GetService(Type serviceType) {
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (1)
87public abstract object GetService(Type serviceType);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeDescriptorContextWrapper.cs (1)
95public object GetService(Type serviceType)
fx\src\data\System\Data\SqlClient\SqlClientFactory.cs (1)
68object IServiceProvider.GetService(Type serviceType) {
System.Data.Entity (1)
System\Data\EntityClient\EntityProviderFactory.cs (1)
108object IServiceProvider.GetService(Type serviceType) {
System.Data.Services (1)
System\Data\Services\Providers\BaseServiceProvider.cs (1)
259public virtual object GetService(Type serviceType)
System.Web (3)
Abstractions\HttpContextBase.cs (1)
313public virtual object GetService(Type serviceType) {
Hosting\ObjectCacheHost.cs (1)
40Object IServiceProvider.GetService(Type service) {
HttpContext.cs (1)
673Object IServiceProvider.GetService(Type service) {
System.Web.DataVisualization (9)
Common\Borders3D\Borders3D.cs (1)
618object IServiceProvider.GetService(Type serviceType)
Common\ChartTypes\ChartTypeRegistry.cs (1)
148 object IServiceProvider.GetService(Type serviceType)
Common\DataManager\DataManager.cs (1)
96 object IServiceProvider.GetService(Type serviceType)
Common\Formulas\FormulaRegistry.cs (1)
111 object IServiceProvider.GetService(Type serviceType)
Common\General\Chart.cs (1)
1584 object IServiceProvider.GetService(Type serviceType)
Common\General\Selection.cs (1)
3372object IServiceProvider.GetService(Type serviceType)
Common\Utilities\CustomAttributesRegistry.cs (1)
429 object IServiceProvider.GetService(Type serviceType)
Common\Utilities\ImageLoader.cs (1)
101 object IServiceProvider.GetService(Type serviceType)
Common\Utilities\KeywordsRegistry.cs (1)
137 object IServiceProvider.GetService(Type serviceType)
System.Web.Extensions (1)
Compilation\WCFBuildProvider.cs (1)
644public object GetService(Type serviceType)
System.Windows.Forms (5)
winforms\Managed\System\WinForms\Control.cs (1)
18858public Object GetService(Type service) {
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
5237public object GetService(Type serviceType) {
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
1832public virtual object GetService(Type serviceType) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
1598public new object GetService(Type classService) {
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
1165object IServiceProvider.GetService(Type service) {
System.Windows.Forms.DataVisualization (9)
Common\Borders3D\Borders3D.cs (1)
618object IServiceProvider.GetService(Type serviceType)
Common\ChartTypes\ChartTypeRegistry.cs (1)
148 object IServiceProvider.GetService(Type serviceType)
Common\DataManager\DataManager.cs (1)
96 object IServiceProvider.GetService(Type serviceType)
Common\Formulas\FormulaRegistry.cs (1)
111 object IServiceProvider.GetService(Type serviceType)
Common\General\Chart.cs (1)
1584 object IServiceProvider.GetService(Type serviceType)
Common\General\Selection.cs (1)
3372object IServiceProvider.GetService(Type serviceType)
Common\Utilities\CustomAttributesRegistry.cs (1)
429 object IServiceProvider.GetService(Type serviceType)
Common\Utilities\ImageLoader.cs (1)
101 object IServiceProvider.GetService(Type serviceType)
Common\Utilities\KeywordsRegistry.cs (1)
137 object IServiceProvider.GetService(Type serviceType)
System.Workflow.Activities (2)
Common\CompModHelpers.cs (1)
1365public object GetService(Type serviceType)
Designers\PolicyDesigner.cs (1)
25new public object GetService(Type type)
System.Workflow.ComponentModel (15)
AuthoringOM\ActivityExecutionContext.cs (1)
127public Object GetService(Type serviceType)
AuthoringOM\Compiler\CodeGeneration\CodeGenerationManager.cs (1)
35public object GetService(Type serviceType)
AuthoringOM\Compiler\CompileXomlTask.cs (1)
62public object GetService(Type serviceType)
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (1)
983public object GetService(Type serviceType)
AuthoringOM\Compiler\Validation\ValidationManager.cs (1)
79public object GetService(Type serviceType)
AuthoringOM\Compiler\XomlCompiler.cs (1)
287public object GetService(Type serviceType)
AuthoringOM\Design\ComponentSerializationService.cs (1)
583public object GetService(Type serviceType)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
1139object IServiceProvider.GetService(Type serviceType)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (2)
1308object System.IServiceProvider.GetService(Type serviceType) 1596public object GetService(Type type) { return this.serviceProvider.GetService(type); }
AuthoringOM\Design\WorkflowView.cs (1)
2144object IServiceProvider.GetService(Type serviceType)
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (1)
130public object GetService(Type serviceType)
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (1)
476public object GetService(Type serviceType)
Shared\CompModHelpers.cs (1)
1363public object GetService(Type serviceType)
Shared\XomlSerializationHelpers.cs (1)
474public object GetService(Type type) { return null; }
System.Workflow.Runtime (4)
System\Activities\Statements\InteropEnvironment.cs (1)
158object IServiceProvider.GetService(Type serviceType)
System\Activities\Statements\InteropExecutor.cs (1)
860object IServiceProvider.GetService(Type serviceType)
WorkflowExecutor.cs (1)
2805object IServiceProvider.GetService(Type serviceType)
WorkflowRuntime.cs (1)
1076public object GetService(Type serviceType)
System.WorkflowServices (1)
System\Workflow\ComponentModel\Design\ActivityDesignerHighlighter.cs (1)
30public object GetService(Type serviceType)
WindowsBase (2)
Base\System\Windows\Markup\DateTimeValueSerializerContext.cs (1)
56public object GetService(Type serviceType)
Base\System\Windows\Markup\ServiceProviders.cs (1)
36public Object GetService(Type serviceType)
605 references to GetService
PresentationCore (4)
Core\CSharp\System\Windows\Media\Brush.cs (1)
76freezer = (IFreezeFreezables)context.GetService(typeof(IFreezeFreezables));
Core\CSharp\System\Windows\Media\FontFamilyConverter.cs (1)
108IUriContext iuc = (IUriContext)context.GetService(typeof(IUriContext));
Core\CSharp\System\Windows\Media\ImageSourceConverter.cs (1)
180IProvideValueTarget ipvt = context?.GetService(typeof(IProvideValueTarget)) as IProvideValueTarget;
Shared\System\Windows\Media\TypeConverterHelper.cs (1)
83IUriContext iuc = (IUriContext)context.GetService(typeof(IUriContext));
PresentationFramework (78)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (2)
310ITextView tv = (ITextView)((IServiceProvider)docPage).GetService(typeof(ITextView)); 619textView = ((IServiceProvider)documentPage).GetService(typeof(ITextView)) as ITextView;
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (5)
415return provider.GetService(typeof(ITextView)) as ITextView; 425return isp.GetService(typeof(ITextView)) as ITextView; 454res.Add(provider.GetService(typeof(ITextView)) as ITextView); 507ITextView view = isp.GetService(typeof(ITextView)) as ITextView; 552ITextView textView = serviceProvider.GetService(typeof(ITextView)) as ITextView;
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (2)
289textView = serviceProvider.GetService(typeof(ITextView)) as ITextView; 485textContainer = serviceProvider.GetService(typeof(ITextContainer)) as ITextContainer;
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
286ITextView textView = provider.GetService(typeof(ITextView)) as ITextView;
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (1)
960ITextView textView = (ITextView)service.GetService(typeof(ITextView));
src\Framework\MS\Internal\Documents\ContentHostHelper.cs (1)
119textView = (ITextView)((IServiceProvider)pageViews[i].DocumentPage).GetService(typeof(ITextView));
src\Framework\MS\Internal\Documents\DocumentGrid.cs (3)
926_textContainer = (ITextContainer)isp.GetService(typeof(ITextContainer)); 1302_rubberBandSelector = serviceProvider.GetService(typeof(RubberbandSelector)) as RubberbandSelector; 2625((IServiceProvider)pageView).GetService(typeof(ITextView)) as DocumentPageTextView;
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (3)
53_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView; 79_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView; 359_pageTextView = ((IServiceProvider)_page).GetService(typeof(ITextView)) as ITextView;
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
411ITextContainer textContainer = (ITextContainer)((IServiceProvider)document).GetService(typeof(ITextContainer));
src\Framework\MS\Internal\Documents\FixedDocumentPaginator.cs (1)
206return ((IServiceProvider)_document).GetService(serviceType);
src\Framework\MS\Internal\Documents\FixedDocumentSequencePaginator.cs (1)
206return ((IServiceProvider)_document).GetService(serviceType);
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (2)
397textView = (ITextView)((IServiceProvider)flowDocumentPage).GetService(typeof(ITextView)); 1090return ((IServiceProvider)_document).GetService(serviceType);
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (1)
737pageTextView = ((IServiceProvider)pageViews[index]).GetService(typeof(ITextView)) as DocumentPageTextView;
src\Framework\MS\Internal\Helper.cs (2)
594IProvideValueTarget provideValueTarget = serviceProvider.GetService(typeof(IProvideValueTarget)) as IProvideValueTarget; 640System.Xaml.IXamlSchemaContextProvider scp = serviceProvider.GetService(typeof(System.Xaml.IXamlSchemaContextProvider)) as System.Xaml.IXamlSchemaContextProvider;
src\Framework\MS\Internal\LayoutDump.cs (1)
592TextDocumentView tv = (TextDocumentView)((IServiceProvider)flowDocumentPage).GetService(typeof(ITextView));
src\Framework\MS\Internal\Markup\StaticExtension.cs (1)
91IXamlTypeResolver xamlTypeResolver = serviceProvider.GetService(typeof(IXamlTypeResolver)) as IXamlTypeResolver;
src\Framework\MS\Internal\PtsHost\BreakRecordTable.cs (1)
265textView = (ITextView)((IServiceProvider)page).GetService(typeof(ITextView));
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (1)
1073TextDocumentView textView = (TextDocumentView)((IServiceProvider)this).GetService(typeof(ITextView));
src\Framework\System\Windows\Annotations\AnnotationService.cs (1)
1164ITextContainer textContainer = provider.GetService(typeof(ITextContainer)) as ITextContainer;
src\Framework\System\Windows\Application.cs (2)
296service = ServiceProvider.GetService(serviceType); 2043_browserCallbackServices = (IBrowserCallbackServices)(_serviceProvider.GetService(typeof(IBrowserCallbackServices)));
src\Framework\System\Windows\Automation\Peers\DocumentAutomationPeer.cs (4)
36_textContainer = ((IServiceProvider)owner).GetService(typeof(ITextContainer)) as ITextContainer; 67ITextContainer textContainer = ((IServiceProvider)Owner).GetService(typeof(ITextContainer)) as ITextContainer; 86ITextContainer textContainer = ((IServiceProvider)Owner).GetService(typeof(ITextContainer)) as ITextContainer; 235ITextContainer textContainer = ((IServiceProvider)Owner).GetService(typeof(ITextContainer)) as ITextContainer;
src\Framework\System\Windows\ColorConvertedBitmapExtension.cs (1)
98IUriContext uriContext = serviceProvider.GetService(typeof(IUriContext)) as IUriContext;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1294textView = (ITextView)((IServiceProvider)RenderScope).GetService(typeof(ITextView)); 1918service = ((IServiceProvider)Document).GetService(serviceType);
src\Framework\System\Windows\Controls\Primitives\BulletDecorator.cs (1)
348TextDocumentView tdv = ((IServiceProvider)text).GetService(typeof(ITextView)) as TextDocumentView;
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (2)
532ITextContainer tc = ((IServiceProvider)_documentPaginator).GetService(typeof(ITextContainer)) as ITextContainer; 542service = ((IServiceProvider)_documentPaginator).GetService(serviceType);
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (3)
720masterPageTextView = ((IServiceProvider)masterPage).GetService(typeof(ITextView)) as ITextView; 799textView = ((IServiceProvider)masterPage).GetService(typeof(ITextView)) as ITextView; 1659textContainer = ((IServiceProvider)_document).GetService(typeof(ITextContainer)) as ITextContainer;
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1922ITextView textView = (ITextView)((IServiceProvider)_renderScope).GetService(typeof(ITextView));
src\Framework\System\Windows\DeferrableContentConverter.cs (1)
94T result = provider.GetService(typeof(T)) as T;
src\Framework\System\Windows\Documents\ChildDocumentBlock.cs (1)
238ITextContainer tc = isp.GetService(typeof(ITextContainer)) as ITextContainer;
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
73/// <see cref="IServiceProvider.GetService" />
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (1)
610_childTextView = (ITextView)isp.GetService(typeof(ITextView));
src\Framework\System\windows\Documents\TextEditor.cs (1)
318return (serviceProvider != null) ? serviceProvider.GetService(typeof(ITextView)) as ITextView : null;
src\Framework\System\Windows\EventSetterHandlerConverter.cs (2)
72IRootObjectProvider rootProvider = typeDescriptorContext.GetService(typeof(IRootObjectProvider)) as IRootObjectProvider; 75IProvideValueTarget ipvt = typeDescriptorContext.GetService(typeof(IProvideValueTarget)) as IProvideValueTarget;
src\Framework\System\Windows\Input\Command\CommandConverter.cs (1)
229IXamlTypeResolver xamlTypeResolver = (IXamlTypeResolver)context.GetService(typeof(IXamlTypeResolver));
src\Framework\System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (1)
70return _serviceProvider.GetService(serviceType);
src\Framework\System\Windows\Markup\Baml2006\TypeConverterMarkupExtension.cs (1)
33return _serviceProvider.GetService(serviceType);
src\Framework\System\Windows\Markup\DependencyPropertyConverter.cs (6)
128Baml2006SchemaContext schemaContext = (serviceProvider.GetService(typeof(IXamlSchemaContextProvider)) 160IXamlTypeResolver resolver = serviceProvider.GetService(typeof(IXamlTypeResolver)) 180IAmbientProvider ambientProvider = serviceProvider.GetService(typeof(IAmbientProvider)) 182XamlSchemaContext schemaContext = (serviceProvider.GetService(typeof(IXamlSchemaContextProvider)) 193IXamlSchemaContextProvider ixscp = (serviceProvider.GetService(typeof(IXamlSchemaContextProvider)) 217IAmbientProvider ambientProvider = serviceProvider.GetService(typeof(IAmbientProvider))
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
1281return _baseContext.GetService(serviceType);
src\Framework\System\Windows\Markup\RoutedEventConverter.cs (3)
58IXamlTypeResolver resolver = serviceProvider.GetService(typeof(IXamlTypeResolver)) as IXamlTypeResolver; 78GetService(typeof(IXamlSchemaContextProvider)) 81IAmbientProvider iapp = serviceProvider.GetService(typeof(IAmbientProvider)) as IAmbientProvider;
src\Framework\System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
111IXamlSchemaContextProvider ixsc = (serviceProvider.GetService(typeof(IXamlSchemaContextProvider))
src\Framework\System\Windows\PropertyPath.cs (1)
873IXamlTypeResolver xtr = (context as IServiceProvider).GetService(typeof(IXamlTypeResolver)) as IXamlTypeResolver;
src\Framework\System\Windows\PropertyPathConverter.cs (1)
179typeDescriptorContext.GetService(typeof(XamlDesignerSerializationManager)) as XamlDesignerSerializationManager;
src\Framework\System\Windows\StaticResourceExtension.cs (3)
122IProvideValueTarget provideValueTarget = serviceProvider.GetService(typeof(IProvideValueTarget)) as IProvideValueTarget; 209var schemaContextProvider = serviceProvider.GetService(typeof(IXamlSchemaContextProvider)) as IXamlSchemaContextProvider; 215var ambientProvider = serviceProvider.GetService(typeof(IAmbientProvider)) as IAmbientProvider;
src\Framework\System\Windows\TemplateContent.cs (3)
234IRootObjectProvider irop = context.GetService(typeof(IRootObjectProvider)) as IRootObjectProvider; 1515return _services.GetService(serviceType); 1546return ((IXamlNamespaceResolver)_services.GetService(typeof(IXamlNamespaceResolver))).GetNamespace(prefix);
src\Framework\System\Windows\TemplateContentLoader.cs (1)
26T result = provider.GetService(typeof(T)) as T;
src\Framework\System\Windows\ThemeDictionaryExtension.cs (1)
87IProvideValueTarget provideValueTarget = serviceProvider.GetService(typeof(IProvideValueTarget)) as IProvideValueTarget;
System (22)
compmod\system\componentmodel\Component.cs (1)
223return((s== null) ? null : s.GetService(service));
compmod\system\componentmodel\design\ServiceObjectContainer.cs (2)
49container = (IServiceContainer)parentProvider.GetService(typeof(IServiceContainer)); 226service = parentProvider.GetService(serviceType);
compmod\system\componentmodel\MarshalByValueComponent.cs (1)
173return((site==null)? null : site.GetService(service));
compmod\system\componentmodel\ReferenceConverter.cs (3)
64IReferenceService refSvc = (IReferenceService)context.GetService(typeof(IReferenceService)); 104IReferenceService refSvc = (IReferenceService)context.GetService(typeof(IReferenceService)); 149IReferenceService refSvc = (IReferenceService)context.GetService(typeof(IReferenceService));
compmod\system\componentmodel\ReflectEventDescriptor.cs (4)
179changeService = (IComponentChangeService)site.GetService(typeof(IComponentChangeService)); 202IDictionaryService dict = (IDictionaryService)site.GetService(typeof(IDictionaryService)); 442changeService = (IComponentChangeService)site.GetService(typeof(IComponentChangeService)); 461IDictionaryService dict = (IDictionaryService)site.GetService(typeof(IDictionaryService));
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (4)
629changeService = (IComponentChangeService)site.GetService(typeof(IComponentChangeService)); 672changeService = (IComponentChangeService)site.GetService(typeof(IComponentChangeService)); 1049changeService = (IComponentChangeService)site.GetService(typeof(IComponentChangeService)); 1117changeService = (IComponentChangeService)site.GetService(typeof(IComponentChangeService));
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (2)
261IDictionaryService ds = comp.Site.GetService(typeof(IDictionaryService)) as IDictionaryService; 577IExtenderListService extenderList = component.Site.GetService(typeof(IExtenderListService)) as IExtenderListService;
compmod\system\componentmodel\TypeDescriptor.cs (4)
597ITypeResolutionService tr = (ITypeResolutionService)site.GetService(typeof(ITypeResolutionService)); 676TypeDescriptionProvider p = provider.GetService(typeof(TypeDescriptionProvider)) as TypeDescriptionProvider; 1340IDesignerHost host = site.GetService(typeof(IDesignerHost)) as IDesignerHost; 2502componentFilter = site.GetService(typeof(ITypeDescriptorFilterService)) as ITypeDescriptorFilterService;
sys\system\configuration\ApplicationSettingsBase.cs (1)
79ISettingsProviderService provSvc = owner.Site.GetService(typeof(ISettingsProviderService)) as ISettingsProviderService;
System.Activities (12)
Microsoft\VisualBasic\Activities\VisualBasicSettings.cs (1)
84T service = (T)context.GetService(typeof(T));
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (2)
33IXamlSchemaContextProvider xamlSchemaContextProvider = context.GetService(typeof(IXamlSchemaContextProvider)) as IXamlSchemaContextProvider; 44IXamlNamespaceResolver namespaceResolver = (IXamlNamespaceResolver)context.GetService(typeof(IXamlNamespaceResolver));
System\Activities\XamlIntegration\ActivityWithResultConverter.cs (3)
39serviceProvider.GetService(typeof(IRootObjectProvider)) as IRootObjectProvider; 45serviceProvider.GetService(typeof(IAmbientProvider)) as IAmbientProvider; 51serviceProvider.GetService(typeof(IXamlSchemaContextProvider)) as IXamlSchemaContextProvider;
System\Activities\XamlIntegration\AssemblyReferenceConverter.cs (1)
95IXamlSchemaContextProvider provider = context.GetService(typeof(IXamlSchemaContextProvider)) as IXamlSchemaContextProvider;
System\Activities\XamlIntegration\FuncFactory.cs (2)
52IXamlObjectWriterFactory objectWriterFactory = context.GetService(typeof(IXamlObjectWriterFactory)) as IXamlObjectWriterFactory; 53IProvideValueTarget provideValueService = context.GetService(typeof(IProvideValueTarget)) as IProvideValueTarget;
System\Activities\XamlIntegration\SerializableFuncDeferringLoader.cs (1)
20IXamlNamespaceResolver nsResolver = context.GetService(typeof(IXamlNamespaceResolver)) as IXamlNamespaceResolver;
System\Activities\XamlIntegration\TypeConverterBase.cs (2)
67IDestinationTypeProvider targetService = context.GetService(typeof(IDestinationTypeProvider)) as IDestinationTypeProvider; 128T service = (T)context.GetService(typeof(T));
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (1)
513result = this.GetRequiredService<IServiceProvider>().GetService(serviceType);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeDescriptorContextWrapper.cs (1)
101service = this.context.GetService(serviceType);
System.ComponentModel.DataAnnotations (4)
DataAnnotations\ValidationContext.cs (4)
105this.InitializeServiceProvider(serviceType => serviceProvider.GetService(serviceType)); 266/// See <see cref="IServiceProvider.GetService(Type)"/>. 281service = this._serviceContainer.GetService(serviceType); 427service = this._parentContainer.GetService(serviceType);
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (1)
513result = this.GetRequiredService<IServiceProvider>().GetService(serviceType);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeDescriptorContextWrapper.cs (1)
101service = this.context.GetService(serviceType);
System.Data.Entity (2)
System\Data\Common\DbProviderServices.cs (1)
330DbProviderServices providerServices = serviceProvider.GetService(typeof(DbProviderServices)) as DbProviderServices;
System\Data\Objects\ObjectContext.cs (1)
2357_adapter = sp.GetService(typeof(IEntityAdapter)) as IEntityAdapter;
System.Data.Entity.Design (1)
System\Data\Entity\Design\Common\MetadataUtil.cs (1)
53DbProviderServices providerServices = serviceProvider.GetService(typeof(DbProviderServices)) as DbProviderServices;
System.Data.Services (1)
System\Data\Services\WebUtil.cs (1)
1312object service = provider.GetService(typeof(T));
System.Drawing (1)
commonui\System\Drawing\Design\ToolboxItem.cs (1)
573ts = (ITypeResolutionService)host.GetService(typeof(ITypeResolutionService));
System.Messaging (4)
System\Messaging\Design\QueuePathDialog.cs (2)
77this.uiService = (IUIService)provider.GetService(typeof(IUIService)); 349IHelpService helpService = (IHelpService)provider.GetService(typeof(IHelpService));
System\Messaging\Design\QueuePathEditor.cs (2)
39IWindowsFormsEditorService edSvc = (IWindowsFormsEditorService)provider.GetService(typeof(IWindowsFormsEditorService)); 54IDesignerHost host = (IDesignerHost)provider.GetService(typeof(IDesignerHost));
System.Runtime.Caching (3)
System\Caching\CacheMemoryMonitor.cs (1)
252memoryCacheManager = host.GetService(typeof(IMemoryCacheManager)) as IMemoryCacheManager;
System\Caching\HostFileChangeMonitor.cs (1)
85fcn = host.GetService(typeof(IFileChangeNotificationSystem)) as IFileChangeNotificationSystem;
System\Caching\PerfCounters.cs (1)
39ai = host.GetService(typeof(IApplicationIdentifier)) as IApplicationIdentifier;
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\HostedHttpContext.cs (1)
871return ((HttpWorkerRequest)provider.GetService(typeof(HttpWorkerRequest))).GetRemotePort();
System\ServiceModel\Activation\HostedHttpTransportManager.cs (2)
85HttpWorkerRequest workerRequest = (HttpWorkerRequest)provider.GetService(typeof(HttpWorkerRequest)); 126return ((HttpWorkerRequest)provider.GetService(typeof(HttpWorkerRequest))).RequestTraceIdentifier;
System.ServiceModel.Activities (2)
System\ServiceModel\XamlIntegration\XNameTypeConverter.cs (2)
53context.GetService(typeof(IXamlNamespaceResolver)) as IXamlNamespaceResolver; 93var lookupPrefix = (INamespacePrefixLookup)context.GetService(typeof(INamespacePrefixLookup));
System.Web (18)
Abstractions\HttpContextWrapper.cs (1)
315return ((IServiceProvider)_context).GetService(serviceType);
Compilation\ExpressionBuilder.cs (2)
57IWebApplication webapp = (IWebApplication)host.GetService(typeof(IWebApplication)); 77ITypeResolutionService ts = (ITypeResolutionService)host.GetService(typeof(ITypeResolutionService));
HttpRuntime.cs (2)
3388return activator.GetService(type); 3398return activator.GetService(type);
UI\BaseTemplateParser.cs (1)
55(IUserControlTypeResolutionService)host.GetService(typeof(IUserControlTypeResolutionService));
UI\ClientScriptManager.cs (1)
549IResourceUrlGenerator urlGenerator = site.GetService(typeof(IResourceUrlGenerator)) as IResourceUrlGenerator;
UI\Control.cs (2)
2662container = (IContainer)Site.GetService(typeof(IContainer)); 3018IUrlResolutionService resolutionService = (IUrlResolutionService)Page.Site.GetService(typeof(IUrlResolutionService));
UI\ControlBuilder.cs (4)
295return (IFilterResolutionService)ServiceProvider.GetService(typeof(IFilterResolutionService)); 343return (IThemeResolutionService)ServiceProvider.GetService(typeof(IThemeResolutionService)); 781TypeDescriptionProviderService tdpService = _serviceProvider.GetService(typeof(TypeDescriptionProviderService)) 2867implicitResourceProvider = (IImplicitResourceProvider)Parser.DesignerHost.GetService(typeof(IImplicitResourceProvider));
UI\ControlIdConverter.cs (1)
77IDesignerHost host = (IDesignerHost)context.GetService(typeof(IDesignerHost));
UI\ControlPropertyNameConverter.cs (1)
60IDesignerHost host = (IDesignerHost)context.GetService(typeof(IDesignerHost));
UI\TagNameToTypeMapper.cs (1)
134ITypeResolutionService typeResolutionService = (ITypeResolutionService)_parser.DesignerHost.GetService(typeof(ITypeResolutionService));
UI\TargetFrameworkUtil.cs (1)
84TypeDescriptionProviderService tdpService = DesignerHost.GetService(typeof(TypeDescriptionProviderService)) as TypeDescriptionProviderService;
UI\TemplateParser.cs (1)
356_typeResolutionService = (ITypeResolutionService)_designerHost.GetService(typeof(ITypeResolutionService));
System.Web.DataVisualization (27)
Common\Converters\CustomAttributesConverters.cs (1)
194 CustomPropertyRegistry registry = (CustomPropertyRegistry)series.Common.container.GetService(typeof(CustomPropertyRegistry));
Common\Converters\DataManagerConverters.cs (1)
886chart = provider.GetService(typeof(Chart)) as Chart;
Common\Converters\LegendConverters.cs (1)
124Chart chart = provider.GetService(typeof(Chart)) as Chart;
Common\DataManager\DataManager.cs (7)
111 ChartImage chartPicture = (ChartImage)serviceContainer.GetService(typeof(ChartImage)); 189 Chart control = (Chart)serviceContainer.GetService(typeof(Chart)); 263 Chart control = (Chart)serviceContainer.GetService(typeof(Chart)); 625 ChartTypeRegistry chartTypeRegistry = (ChartTypeRegistry)serviceContainer.GetService(typeof(ChartTypeRegistry)); 671ChartTypeRegistry chartTypeRegistry = (ChartTypeRegistry)serviceContainer.GetService(typeof(ChartTypeRegistry)); 856 ChartTypeRegistry chartTypeRegistry = (ChartTypeRegistry)serviceContainer.GetService(typeof(ChartTypeRegistry)); 907ChartTypeRegistry chartTypeRegistry = (ChartTypeRegistry)serviceContainer.GetService(typeof(ChartTypeRegistry));
Common\DataManager\DataPoint.cs (1)
6975CustomPropertyRegistry registry = (CustomPropertyRegistry)this.DataPointCustomProperties.Common.container.GetService(typeof(CustomPropertyRegistry));
Common\General\Chart.cs (1)
3475ChartSerializer serializer = (ChartSerializer)this.Common.container.GetService(typeof(ChartSerializer));
Common\General\ChartSerializer.cs (1)
782 _chart = (Chart)_serviceContainer.GetService(typeof(Chart));
Common\General\CommonElements.cs (7)
103 return (DataManager)container.GetService(typeof(DataManager)); 158 return (ImageLoader)container.GetService(typeof(ImageLoader)); 170_chart = (Chart)container.GetService(typeof(Chart)); 182 return (ChartTypeRegistry)container.GetService(typeof(ChartTypeRegistry)); 193 return (BorderTypeRegistry)container.GetService(typeof(BorderTypeRegistry)); 204 return (FormulaRegistry)container.GetService(typeof(FormulaRegistry)); 218_chartPicture = (ChartImage)container.GetService(typeof(ChartImage));
Common\General\Selection.cs (4)
1551this._chartPicture = ((IServiceProvider)this).GetService(typeof(ChartImage)) as ChartPicture; 1554this._chartPicture = ((IServiceProvider)this).GetService(typeof(ChartPicture)) as ChartPicture; 1571this._dataManager = ((IServiceProvider)this).GetService(typeof(Data.DataManager)) as Data.DataManager; 3380return _service.GetService(serviceType);
Common\Utilities\ElementPosition.cs (1)
179IDesignerMessageBoxDialog confirm = Chart.Site.GetService(typeof(IDesignerMessageBoxDialog)) as IDesignerMessageBoxDialog;
Common\Utilities\ImageLoader.cs (2)
156Chart chart = (Chart)_serviceContainer.GetService(typeof(Chart)); 186Chart control = (Chart)_serviceContainer.GetService(typeof(Chart));
System.Web.Entity.Design (11)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (4)
89IDesignerHost designerHost = (IDesignerHost)serviceProvider.GetService(typeof(IDesignerHost)); 96_webApplication = serviceProvider.GetService(typeof(IWebApplication)) as IWebApplication; 108ITypeResolutionService typeResProvider = (ITypeResolutionService)serviceProvider.GetService(typeof(ITypeResolutionService)); 663ITypeDiscoveryService typeDiscoverySvc = this.EntityDataSource.Site.GetService(typeof(ITypeDiscoveryService)) as ITypeDiscoveryService;
System\Data\WebControls\Design\EntityDataSourceStatementEditor.cs (1)
34IDesignerHost designerHost = (IDesignerHost)serviceProvider.GetService(typeof(IDesignerHost));
System\Data\WebControls\Design\Util\DesignerForm.cs (2)
111return _serviceProvider.GetService(serviceType); 160IHelpService helpService = (IHelpService)ServiceProvider.GetService(typeof(IHelpService));
System\Data\WebControls\Design\Util\UIHelper.cs (4)
25IUIService uiService = (IUIService)serviceProvider.GetService(typeof(IUIService)); 42IUIService uiService = (IUIService)serviceProvider.GetService(typeof(IUIService)); 56IUIService uiService = (IUIService)serviceProvider.GetService(typeof(IUIService)); 71IUIService uiService = (IUIService)serviceProvider.GetService(typeof(IUIService));
System.Web.Mobile (31)
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (2)
53return ((IDesignerHost) compSite.GetService(typeof(IDesignerHost))).GetDesigner(component); 95IDesignerHost host = (IDesignerHost)compSite.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\AppliedDeviceFiltersEditor.cs (4)
50(IComponentChangeService) serviceProvider.GetService(typeof(IComponentChangeService)); 53(IDesignerHost) serviceProvider.GetService(typeof(IDesignerHost)); 63(IMobileWebFormServices)serviceProvider.GetService(typeof(IMobileWebFormServices)); 91(IWindowsFormsEditorService) provider.GetService(typeof(IWindowsFormsEditorService));
UI\MobileControls\Design\BaseTemplatedMobileComponentEditor.cs (1)
68IDesignerHost designerHost = (IDesignerHost)compSite.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\CommandCollectionEditor.cs (1)
53IDesignerHost designerHost = (IDesignerHost)context.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\Converters\ChoiceConverter.cs (1)
58IDesignerHost designerHost = (IDesignerHost) componentSite.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\Converters\DataFieldConverter.cs (1)
154IDesignerHost designerHost = (IDesignerHost)componentSite.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\Converters\DataMemberConverter.cs (1)
105IDesignerHost designerHost = (IDesignerHost)componentSite.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\DesignerForm.cs (2)
101return _serviceProvider.GetService(serviceType); 140IHelpService helpService = (IHelpService)ServiceProvider.GetService(typeof(IHelpService));
UI\MobileControls\Design\DeviceSpecificDesigner.cs (1)
122IDesignerHost host = (IDesignerHost) newDS.Site.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\FieldCollectionEditor.cs (1)
53IDesignerHost designerHost = (IDesignerHost)context.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\ItemCollectionEditor.cs (1)
52IDesignerHost designerHost = (IDesignerHost)context.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\MobileComponentEditorPage.cs (2)
73(IHelpService)DesignerSite.GetService(typeof(IHelpService)); 102(IDesignerHost)DesignerSite.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\MobileContainerDesigner.cs (1)
384(IComponentChangeService)site.GetService(typeof(IComponentChangeService));
UI\MobileControls\Design\MobileControlPersister.cs (2)
63(IWebFormReferenceManager)host.GetService(typeof(IWebFormReferenceManager)); 830host = (IDesignerHost)site.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (1)
734(IComponentChangeService)site.GetService(typeof(IComponentChangeService));
UI\MobileControls\Design\MobileUITypeEditor.cs (1)
30IDesignerHost designerHost = (IDesignerHost)context.GetService(typeof(IDesignerHost));
UI\MobileControls\Design\PropertyOverridesDialog.cs (2)
356(IComponentChangeService)componentSite.GetService(typeof(IComponentChangeService)); 359(IMobileWebFormServices)componentSite.GetService(typeof(IMobileWebFormServices));
UI\MobileControls\Design\PropertyOverridesTypeEditor.cs (4)
50(IComponentChangeService) serviceProvider.GetService(typeof(IComponentChangeService)); 53(IDesignerHost) serviceProvider.GetService(typeof(IDesignerHost)); 63(IMobileWebFormServices)serviceProvider.GetService(typeof(IMobileWebFormServices)); 93(IWindowsFormsEditorService) provider.GetService(typeof(IWindowsFormsEditorService));
UI\MobileControls\Design\Util\GenericUI.cs (1)
63IUIService uiService = (IUIService) site.GetService(
UI\MobileControls\Design\Util\WebConfigManager.cs (1)
42IWebApplication webApplicationService = (IWebApplication)_site.GetService(typeof(IWebApplication));
System.Windows.Forms (49)
winforms\Managed\System\WinForms\AxHost.cs (8)
1215Object o = site.GetService(typeof(ISelectionService)); 2322IDesignerHost host = (IDesignerHost)Site.GetService(typeof(IDesignerHost)); 3331IComponentChangeService ccs = (IComponentChangeService)isite.GetService(typeof(IComponentChangeService)); 3371host = (IDesignerHost)Site.GetService(typeof(IDesignerHost)); 4384IComponentChangeService changeService = (IComponentChangeService)site.GetService(typeof(IComponentChangeService)); 5403IComponentChangeService ccs = (IComponentChangeService)site.GetService(typeof(IComponentChangeService)); 5675IComponentChangeService ccs = (IComponentChangeService)site.GetService(typeof(IComponentChangeService)); 7333IUIService uiSvc = (IUIService)provider.GetService(typeof(IUIService));
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (1)
110IUIService uiSvc = (context != null) ? ((IUIService) context.GetService(typeof(IUIService))) : null;
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (1)
48IUIService uiSvc = (IUIService)provider.GetService(typeof(IUIService));
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (2)
48ICom2PropertyPageDisplayService propPageSvc = (ICom2PropertyPageDisplayService)provider.GetService(typeof(ICom2PropertyPageDisplayService)); 68IUIService uiSvc = (IUIService)provider.GetService(typeof(IUIService));
winforms\Managed\System\WinForms\Control.cs (4)
906props = (AmbientProperties)Site.GetService(typeof(AmbientProperties)); 3825newAmbients = (AmbientProperties)value.GetService(typeof(AmbientProperties)); 6603IDesignerHost host = site.GetService(typeof(IDesignerHost)) as IDesignerHost; 14506ccs = (IComponentChangeService)site.GetService(typeof(IComponentChangeService));
winforms\Managed\System\WinForms\DataGrid.cs (1)
8967IDesignerHost host = (IDesignerHost)dgrid.Site.GetService(typeof(IDesignerHost));
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (2)
100changeService = (IComponentChangeService)component.Site.GetService(typeof(IComponentChangeService)); 214IUIService uiService = (IUIService)component.Site.GetService(typeof(IUIService));
winforms\Managed\System\WinForms\Design\EventsTab.cs (4)
99IDesignerEventService des = (IDesignerEventService)sp.GetService(typeof(IDesignerEventService)); 108eventPropertySvc = (IEventBindingService)currentHost.GetService(typeof(IEventBindingService)); 115eventPropertySvc = (IEventBindingService)site.GetService(typeof(IEventBindingService)); 120eventPropertySvc = (IEventBindingService)context.GetService(typeof(IEventBindingService));
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
126IDesignerHost host = value.GetService(typeof(IDesignerHost)) as IDesignerHost;
winforms\Managed\System\WinForms\ListView.cs (1)
5611IComponentChangeService cs = (IComponentChangeService)site.GetService(typeof(IComponentChangeService));
winforms\Managed\System\WinForms\PropertyGrid.cs (11)
304IComponentChangeService cs = (IComponentChangeService)designerHost.GetService(typeof(IComponentChangeService)); 311IPropertyValueUIService pvSvc = (IPropertyValueUIService)designerHost.GetService(typeof(IPropertyValueUIService)); 326IComponentChangeService cs = (IComponentChangeService)value.GetService(typeof(IComponentChangeService)); 337IPropertyValueUIService pvSvc = (IPropertyValueUIService)value.GetService(typeof(IPropertyValueUIService)); 1462this.ActiveDesigner = (IDesignerHost)value.GetService(typeof(IDesignerHost)); 1863host = (IDesignerHost) ((IComponent) component).Site.GetService(typeof(IDesignerHost)); 2147IMenuCommandService mcs = (IMenuCommandService)site.GetService(typeof(IMenuCommandService)); 2164IDesignerHost designerHost = (IDesignerHost) site.GetService(typeof(IDesignerHost)); 3575IComponentChangeService changeService = (IComponentChangeService)site.GetService(typeof(IComponentChangeService)); 5241s = owner.ActiveDesigner.GetService(serviceType); 5249s = owner.Site.GetService(serviceType);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (2)
935eventBindings = (IEventBindingService)site.GetService(typeof(IEventBindingService)); 1242uis = (IUIService)context.GetService(typeof(IUIService));
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
1603return serviceProvider.GetService(classService); 2023topHelpService = (IHelpService)ServiceProvider.GetService(typeof(IHelpService));
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (2)
259service = host.GetService(serviceType); 262service = baseProvider.GetService(serviceType);
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
1178return owner.Site.GetService(service);
winforms\Managed\System\WinForms\WebBrowserBase.cs (2)
864IComponentChangeService ccs = (IComponentChangeService)iSite.GetService(typeof(IComponentChangeService)); 1210IDesignerHost host = (IDesignerHost)Site.GetService(typeof(IDesignerHost));
winforms\Managed\System\WinForms\WebBrowserContainer.cs (2)
275IComponentChangeService ccs = (IComponentChangeService)site.GetService(typeof(IComponentChangeService)); 306IComponentChangeService ccs = (IComponentChangeService)site.GetService(typeof(IComponentChangeService));
winforms\Managed\System\WinForms\WebBrowserHelper.cs (1)
154Object o = site.GetService(typeof(ISelectionService));
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (1)
426IComponentChangeService changeService = (IComponentChangeService)site.GetService(typeof(IComponentChangeService));
System.Windows.Forms.DataVisualization (28)
Common\Converters\CustomAttributesConverters.cs (1)
194 CustomPropertyRegistry registry = (CustomPropertyRegistry)series.Common.container.GetService(typeof(CustomPropertyRegistry));
Common\Converters\DataManagerConverters.cs (1)
886chart = provider.GetService(typeof(Chart)) as Chart;
Common\Converters\LegendConverters.cs (1)
124Chart chart = provider.GetService(typeof(Chart)) as Chart;
Common\DataManager\DataManager.cs (7)
111 ChartImage chartPicture = (ChartImage)serviceContainer.GetService(typeof(ChartImage)); 189 Chart control = (Chart)serviceContainer.GetService(typeof(Chart)); 263 Chart control = (Chart)serviceContainer.GetService(typeof(Chart)); 625 ChartTypeRegistry chartTypeRegistry = (ChartTypeRegistry)serviceContainer.GetService(typeof(ChartTypeRegistry)); 671ChartTypeRegistry chartTypeRegistry = (ChartTypeRegistry)serviceContainer.GetService(typeof(ChartTypeRegistry)); 856 ChartTypeRegistry chartTypeRegistry = (ChartTypeRegistry)serviceContainer.GetService(typeof(ChartTypeRegistry)); 907ChartTypeRegistry chartTypeRegistry = (ChartTypeRegistry)serviceContainer.GetService(typeof(ChartTypeRegistry));
Common\DataManager\DataPoint.cs (1)
6975CustomPropertyRegistry registry = (CustomPropertyRegistry)this.DataPointCustomProperties.Common.container.GetService(typeof(CustomPropertyRegistry));
Common\General\Chart.cs (1)
3475ChartSerializer serializer = (ChartSerializer)this.Common.container.GetService(typeof(ChartSerializer));
Common\General\ChartSerializer.cs (1)
782 _chart = (Chart)_serviceContainer.GetService(typeof(Chart));
Common\General\CommonElements.cs (7)
103 return (DataManager)container.GetService(typeof(DataManager)); 158 return (ImageLoader)container.GetService(typeof(ImageLoader)); 170_chart = (Chart)container.GetService(typeof(Chart)); 182 return (ChartTypeRegistry)container.GetService(typeof(ChartTypeRegistry)); 193 return (BorderTypeRegistry)container.GetService(typeof(BorderTypeRegistry)); 204 return (FormulaRegistry)container.GetService(typeof(FormulaRegistry)); 218_chartPicture = (ChartImage)container.GetService(typeof(ChartImage));
Common\General\Selection.cs (4)
1551this._chartPicture = ((IServiceProvider)this).GetService(typeof(ChartImage)) as ChartPicture; 1554this._chartPicture = ((IServiceProvider)this).GetService(typeof(ChartPicture)) as ChartPicture; 1571this._dataManager = ((IServiceProvider)this).GetService(typeof(Data.DataManager)) as Data.DataManager; 3380return _service.GetService(serviceType);
Common\Utilities\ImageLoader.cs (2)
156Chart chart = (Chart)_serviceContainer.GetService(typeof(Chart)); 186Chart control = (Chart)_serviceContainer.GetService(typeof(Chart));
WinForm\Utilities\Printing.cs (2)
137 _chartImage = (ChartImage)_serviceContainer.GetService(typeof(ChartImage)); 240 _chartImage = (ChartImage)_serviceContainer.GetService(typeof(ChartImage));
System.Workflow.Activities (73)
CodeExpressionRuleDeclaration.cs (1)
66IWorkflowDebuggerService workflowDebuggerService = provider.GetService(typeof(IWorkflowDebuggerService)) as IWorkflowDebuggerService;
Common\BasePropertyDescriptor.cs (4)
48IReferenceService referenceService = serviceProvider.GetService(typeof(IReferenceService)) as IReferenceService; 130IComponentChangeService changeService = serviceProvider.GetService(typeof(IComponentChangeService)) as IComponentChangeService; 150IComponentChangeService changeService = this.serviceProvider.GetService(typeof(IComponentChangeService)) as IComponentChangeService; 761ITypeProvider typeProvider = context.GetService(typeof(ITypeProvider)) as ITypeProvider;
Common\CompilerHelpers.cs (1)
130IWorkflowCompilerOptionsService workflowCompilerOptions = serviceProvider.GetService(typeof(IWorkflowCompilerOptionsService)) as IWorkflowCompilerOptionsService;
Common\CompModHelpers.cs (9)
306IDesignerHost designerHost = component.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 355IDesignerHost designerHost = component.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 411IWorkflowCompilerOptionsService compilerOptionsService = (IWorkflowCompilerOptionsService)serviceProvider.GetService(typeof(IWorkflowCompilerOptionsService)); 432ITypeProvider typeProvider = (ITypeProvider)serviceProvider.GetService(typeof(ITypeProvider)); 804ITypeProviderCreator typeProviderCreator = serviceProvider.GetService(typeof(ITypeProviderCreator)) as ITypeProviderCreator; 1348return (IContainer)this.serviceProvider.GetService(typeof(IContainer)); 1367return this.serviceProvider.GetService(serviceType); 1372IComponentChangeService componentChangeService = (IComponentChangeService)this.serviceProvider.GetService(typeof(IComponentChangeService)); 1391IComponentChangeService componentChangeService = (IComponentChangeService)this.serviceProvider.GetService(typeof(IComponentChangeService));
CorrelationValidator.cs (2)
361Dictionary<Type, ValidationErrorCollection> typesValidated = serviceProvider.GetService(typeof(Dictionary<Type, ValidationErrorCollection>)) as Dictionary<Type, ValidationErrorCollection>; 366IServiceContainer serviceContainer = serviceProvider.GetService(typeof(IServiceContainer)) as IServiceContainer;
Designers\EventSinkActivityDesigner.cs (1)
74IExtendedUIService extUIService = (IExtendedUIService)Activity.Site.GetService(typeof(IExtendedUIService));
Designers\InvokeMethodActivityDesigner.cs (1)
73IExtendedUIService extUIService = (IExtendedUIService)Activity.Site.GetService(typeof(IExtendedUIService));
Designers\InvokeWebServiceDesigner.cs (7)
45IExtendedUIService extUIService = host.GetService(typeof(IExtendedUIService)) as IExtendedUIService; 99IExtendedUIService extUIService = (IExtendedUIService)Activity.Site.GetService(typeof(IExtendedUIService)); 115IExtendedUIService extUIService = (IExtendedUIService)Activity.Site.GetService(typeof(IExtendedUIService)); 121IDesignerHost host = Activity.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 152IExtendedUIService extUIService = (IExtendedUIService)Activity.Site.GetService(typeof(IExtendedUIService)); 224this.editorService = (IWindowsFormsEditorService)serviceProvider.GetService(typeof(IWindowsFormsEditorService)); 225IExtendedUIService extUIService = (IExtendedUIService)serviceProvider.GetService(typeof(IExtendedUIService));
Designers\SetStateDesigner.cs (1)
245_editorService = (IWindowsFormsEditorService)serviceProvider.GetService(typeof(IWindowsFormsEditorService));
Designers\StateDesigner.cs (2)
2241service = activity.Site.GetService(serviceType); 2253IDesignerHost designerHost = activity.Site.GetService(typeof(IDesignerHost)) as IDesignerHost;
Designers\WebServiceReceiveDesigner.cs (1)
106ITypeProvider typeProvider = (ITypeProvider)this.ServiceProvider.GetService(typeof(ITypeProvider));
EventSinkActivity.cs (1)
449ITypeProvider typeProvider = (ITypeProvider)((IComponent)this).Site.GetService(typeof(ITypeProvider));
InvokeMethodActivity.cs (1)
254ITypeProvider typeProvider = (ITypeProvider)((IComponent)this).Site.GetService(typeof(ITypeProvider));
InvokeSchedule.cs (1)
132IDesignerHost designerHost = ((IComponent)this).Site.GetService(typeof(IDesignerHost)) as IDesignerHost;
InvokeWebService.cs (2)
311ITypeProvider typeProvider = (ITypeProvider)context.GetService(typeof(ITypeProvider)); 385ITypeProvider typeProvider = (ITypeProvider)((IComponent)this).Site.GetService(typeof(ITypeProvider));
LocalService\CorrelationService.cs (3)
69WorkflowQueuingService queueService = (WorkflowQueuingService)context.GetService(typeof(WorkflowQueuingService)); 107WorkflowQueuingService queueService = (WorkflowQueuingService)context.GetService(typeof(WorkflowQueuingService)); 273WorkflowQueuingService queueSvcs = (WorkflowQueuingService)context.GetService(typeof(WorkflowQueuingService));
Rules\Design\DesignerHelpers.cs (1)
24uis = (IUIService)serviceProvider.GetService(typeof(IUIService));
Rules\Design\Dialogs\BasicBrowserDialog.cs (5)
55IUIService uisvc = (IUIService)activity.Site.GetService(typeof(IUIService)); 120IHelpService helpService = serviceProvider.GetService(typeof(IHelpService)) as IHelpService; 127IUIService uisvc = serviceProvider.GetService(typeof(IUIService)) as IUIService; 291IComponentChangeService changeService = (IComponentChangeService)site.GetService(typeof(IComponentChangeService)); 313IComponentChangeService changeService = (IComponentChangeService)site.GetService(typeof(IComponentChangeService));
Rules\Design\Dialogs\ConditionBrowserDialog.cs (1)
119ITypeProvider typeProvider = (ITypeProvider)this.Activity.Site.GetService(typeof(ITypeProvider));
Rules\Design\Dialogs\RenameRuleObjectDialog.cs (3)
48IUIService uisvc = (IUIService)this.serviceProvider.GetService(typeof(IUIService)); 75IUIService uisvc = (IUIService)this.serviceProvider.GetService(typeof(IUIService)); 86IUIService uisvc = (IUIService)this.serviceProvider.GetService(typeof(IUIService));
Rules\Design\Dialogs\RuleConditionDialog.cs (5)
40IUIService uisvc = serviceProvider.GetService(typeof(IUIService)) as IUIService; 43typeProvider = (ITypeProvider)serviceProvider.GetService(typeof(ITypeProvider)); 50WorkflowDesignerLoader loader = serviceProvider.GetService(typeof(WorkflowDesignerLoader)) as WorkflowDesignerLoader; 162IHelpService helpService = serviceProvider.GetService(typeof(IHelpService)) as IHelpService; 169IUIService uisvc = serviceProvider.GetService(typeof(IUIService)) as IUIService;
Rules\Design\Dialogs\RuleSetDialog.cs (4)
46typeProvider = (ITypeProvider)this.serviceProvider.GetService(typeof(ITypeProvider)); 53WorkflowDesignerLoader loader = this.serviceProvider.GetService(typeof(WorkflowDesignerLoader)) as WorkflowDesignerLoader; 565IHelpService helpService = serviceProvider.GetService(typeof(IHelpService)) as IHelpService; 572IUIService uisvc = serviceProvider.GetService(typeof(IUIService)) as IUIService;
Rules\Design\LogicalExpressionEditor.cs (9)
42IReferenceService rs = serviceProvider.GetService(typeof(IReferenceService)) as IReferenceService; 57this.editorService = (IWindowsFormsEditorService)serviceProvider.GetService(typeof(IWindowsFormsEditorService)); 101this.editorService = (IWindowsFormsEditorService)serviceProvider.GetService(typeof(IWindowsFormsEditorService)); 106IReferenceService rs = serviceProvider.GetService(typeof(IReferenceService)) as IReferenceService; 145this.editorService = (IWindowsFormsEditorService)serviceProvider.GetService(typeof(IWindowsFormsEditorService)); 150IReferenceService rs = serviceProvider.GetService(typeof(IReferenceService)) as IReferenceService; 196WorkflowDesignerLoader workflowDesignerLoader = serviceProvider.GetService(typeof(WorkflowDesignerLoader)) as WorkflowDesignerLoader; 208IReferenceService rs = serviceProvider.GetService(typeof(IReferenceService)) as IReferenceService; 223this.editorService = (IWindowsFormsEditorService)serviceProvider.GetService(typeof(IWindowsFormsEditorService));
Rules\Design\LogicalExpressionTypeConverter.cs (1)
26IReferenceService referenceService = ((IReferenceService)this.ServiceProvider.GetService(typeof(IReferenceService)));
Rules\Helpers.cs (2)
110WorkflowDesignerLoader loader = (WorkflowDesignerLoader)serviceProvider.GetService(typeof(WorkflowDesignerLoader)); 149WorkflowDesignerLoader loader = (WorkflowDesignerLoader)serviceProvider.GetService(typeof(WorkflowDesignerLoader));
WebServiceReceive.cs (3)
175ITypeProvider typeProvider = (ITypeProvider)context.GetService(typeof(ITypeProvider)); 214WorkflowQueuingService queueService = (WorkflowQueuingService)provider.GetService(typeof(WorkflowQueuingService)); 446ITypeProvider typeProvider = (ITypeProvider)((IComponent)this).Site.GetService(typeof(ITypeProvider));
WebServiceResponse.cs (1)
252ITypeProvider typeProvider = (ITypeProvider)((IComponent)this).Site.GetService(typeof(ITypeProvider));
System.Workflow.ComponentModel (212)
AuthoringOM\Activity.cs (2)
2373IComponentChangeService changeService = ((IComponent)this).Site.GetService(typeof(IComponentChangeService)) as IComponentChangeService; 2429IComponentChangeService changeService = ((IComponent)this).Site.GetService(typeof(IComponentChangeService)) as IComponentChangeService;
AuthoringOM\Compiler\CodeGeneration\CodeGenerationManager.cs (1)
40return this.serviceProvider.GetService(serviceType);
AuthoringOM\Compiler\CompileXomlTask.cs (1)
443workflowErrorLogger = externalServiceProvider.GetService(typeof(IWorkflowCompilerErrorLogger)) as IWorkflowCompilerErrorLogger;
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
206ITypeProvider typeProvider = serviceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider;
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (1)
988return this.serviceProvider.GetService(serviceType);
AuthoringOM\Compiler\Validation\BindValidator.cs (1)
20ITypeProvider typeProvider = serviceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider;
AuthoringOM\Compiler\Validation\ValidationManager.cs (1)
81return this.serviceProvider.GetService(serviceType);
AuthoringOM\Compiler\XomlCompiler.cs (2)
196IWorkflowCompilerOptionsService optionsService = serviceProvider.GetService(typeof(IWorkflowCompilerOptionsService)) as IWorkflowCompilerOptionsService; 289return this.serviceProvider.GetService(serviceType);
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
71ITypeProvider typeProvider = WorkflowCompilationContext.Current.ServiceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider;
AuthoringOM\Design\ActivityDesigner.cs (4)
878IDesignerHost designerHost = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 1319return this.activity.Site.GetService(serviceType); 1934IDesignerHost designerHost = activity.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 2004ITypeResolutionService typeResolutionService = serviceProvider.GetService(typeof(ITypeResolutionService)) as ITypeResolutionService;
AuthoringOM\Design\ActivityDesignerAccessibleObject.cs (1)
211return this.ActivityDesigner.Activity.Site.GetService(serviceType);
AuthoringOM\Design\CommandSet.cs (19)
51this.menuCommandService = (IMenuCommandService)this.serviceProvider.GetService(typeof(IMenuCommandService)); 55this.workflowView = serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 59this.selectionService = (ISelectionService)this.serviceProvider.GetService(typeof(ISelectionService)); 148IComponentChangeService changeService = this.serviceProvider.GetService(typeof(IComponentChangeService)) as IComponentChangeService; 155IDictionaryService ds = this.serviceProvider.GetService(typeof(IDictionaryService)) as IDictionaryService; 163IComponentChangeService changeService = this.serviceProvider.GetService(typeof(IComponentChangeService)) as IComponentChangeService; 356IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 368designerHost = activity.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 393IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 434IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 435IToolboxService ts = (IToolboxService)this.serviceProvider.GetService(typeof(IToolboxService)); 479IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 557IDesignerHost host = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 639IDesignerHost host = selectedComponent.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 695IExtendedUIService extUIService = this.serviceProvider.GetService(typeof(IExtendedUIService)) as IExtendedUIService; 713IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 717IMemberCreationService memberCreationService = rootComponent.Site.GetService(typeof(IMemberCreationService)) as IMemberCreationService; 827IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 936IExtendedUIService extendedUIService = this.serviceProvider.GetService(typeof(IExtendedUIService)) as IExtendedUIService;
AuthoringOM\Design\ComponentSerializationService.cs (7)
184IReferenceService referenceService = this.serviceProvider.GetService(typeof(IReferenceService)) as IReferenceService; 242IReferenceService referenceService = this.serviceProvider.GetService(typeof(IReferenceService)) as IReferenceService; 243IComponentChangeService componentChangeService = this.serviceProvider.GetService(typeof(IComponentChangeService)) as IComponentChangeService; 316IReferenceService referenceService = this.serviceProvider.GetService(typeof(IReferenceService)) as IReferenceService; 334IEventBindingService eventBindingService = this.serviceProvider.GetService(typeof(IEventBindingService)) as IEventBindingService; 551IReferenceService rs = serviceProvider.GetService(typeof(IReferenceService)) as IReferenceService; 586return this.serviceProvider.GetService(serviceType);
AuthoringOM\Design\CompositeActivityDesigner.cs (12)
442IDesignerHost designerHost = site.GetService(typeof(IDesignerHost)) as IDesignerHost; 510IDesignerHost designerHost = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 543ISelectionService selectionService = nextSelectableActivity.Site.GetService(typeof(ISelectionService)) as ISelectionService; 558ComponentSerializationService css = (ComponentSerializationService)serviceProvider.GetService(typeof(ComponentSerializationService)); 593IDesignerHost designerHost = (IDesignerHost)serviceProvider.GetService(typeof(IDesignerHost)); 608ComponentSerializationService css = serviceProvider.GetService(typeof(ComponentSerializationService)) as ComponentSerializationService; 619IToolboxService ts = (IToolboxService)serviceProvider.GetService(typeof(IToolboxService)); 641ITypeResolutionService trs = serviceProvider.GetService(typeof(ITypeResolutionService)) as ITypeResolutionService; 659IDesignerHost designerHost = (IDesignerHost)serviceProvider.GetService(typeof(IDesignerHost)); 771IDesignerHost designerHost = activity.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 1530IDesignerHost designerHost = compositeActivity.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 1540ISelectionService selectionService = compositeActivity.Site.GetService(typeof(ISelectionService)) as ISelectionService;
AuthoringOM\Design\Connector.cs (2)
507service = this.parentDesigner.Activity.Site.GetService(serviceType); 1088service = this.serviceProvider.GetService(serviceType);
AuthoringOM\Design\CustomActivityDesigner.cs (19)
35IComponentChangeService componentChangeService = this.serviceProvider.GetService(typeof(IComponentChangeService)) as IComponentChangeService; 51IComponentChangeService componentChangeService = this.serviceProvider.GetService(typeof(IComponentChangeService)) as IComponentChangeService; 63IDesignerHost designerHost = (IDesignerHost)this.serviceProvider.GetService(typeof(IDesignerHost)); 86IDesignerHost designerHost = (IDesignerHost)this.serviceProvider.GetService(typeof(IDesignerHost)); 130IDesignerHost designerHost = (IDesignerHost)this.serviceProvider.GetService(typeof(IDesignerHost)); 183IIdentifierCreationService identifierCreationService = designerHost.GetService(typeof(IIdentifierCreationService)) as IIdentifierCreationService; 266IDesignerHost host = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 274ITypeProvider typeProvider = serviceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider; 286IDesignerHost host = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 290IMemberCreationService memberCreationService = serviceProvider.GetService(typeof(IMemberCreationService)) as IMemberCreationService; 319IUIService uiService = serviceProvider.GetService(typeof(IUIService)) as IUIService; 349IComponentChangeService changeService = serviceProvider.GetService(typeof(IComponentChangeService)) as IComponentChangeService; 368ITypeProvider typeProvider = (ITypeProvider)serviceProvider.GetService(typeof(ITypeProvider)); 376IDesignerHost host = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 401WorkflowDesignerLoader loader = serviceProvider.GetService(typeof(IDesignerLoaderService)) as WorkflowDesignerLoader; 530IMemberCreationService memberCreationService = serviceProvider.GetService(typeof(IMemberCreationService)) as IMemberCreationService; 571IMemberCreationService memberCreationService = serviceProvider.GetService(typeof(IMemberCreationService)) as IMemberCreationService; 575ITypeProvider typeProvider = serviceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider; 833ITypeProvider typeProvider = this.serviceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider;
AuthoringOM\Design\DesignerHelpers.cs (9)
1389IUIService uiService = serviceProvider.GetService(typeof(IUIService)) as IUIService; 1422IHelpService helpService = serviceProvider.GetService(typeof(IHelpService)) as IHelpService; 1538IMenuCommandService menuCommandService = designer.Activity.Site.GetService(typeof(IMenuCommandService)) as IMenuCommandService; 1579IDesignerHost host = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 1583ITypeProvider typeProvider = (ITypeProvider)serviceProvider.GetService(typeof(ITypeProvider)); 1588IReferenceService referenceService = serviceProvider.GetService(typeof(IReferenceService)) as IReferenceService; 1697provider = serviceProvider.GetService(typeof(CodeDomProvider)) as CodeDomProvider; 1700IdentifierCreationService identifierCreationService = serviceProvider.GetService(typeof(IIdentifierCreationService)) as IdentifierCreationService; 1766IDesignerHost designerHost = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\DesignerWidgets.cs (10)
546WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 873WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 882WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 2901WorkflowView workflowView = parentDesigner.Activity.Site.GetService(typeof(WorkflowView)) as WorkflowView; 2951WorkflowView workflowView = this.itemStrip.parentDesigner.Activity.Site.GetService(typeof(WorkflowView)) as WorkflowView; 3175return this.itemStrip.parentDesigner.Activity.Site.GetService(serviceType); 3297WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 3314WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 3350WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 3596WorkflowView workflowView = this.previewWindow.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView;
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (10)
62IUIService uisvc = (IUIService)this.serviceProvider.GetService(typeof(IUIService)); 153ITypeProvider typeProvider = this.serviceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider; 184IReferenceService rs = this.context.GetService(typeof(IReferenceService)) as IReferenceService; 244ITypeProvider typeProvider = this.serviceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider; 313IReferenceService rs = this.context.GetService(typeof(IReferenceService)) as IReferenceService; 347IDesignerHost host = this.context.GetService(typeof(IDesignerHost)) as IDesignerHost; 413IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 414WorkflowDesignerLoader loader = this.serviceProvider.GetService(typeof(WorkflowDesignerLoader)) as WorkflowDesignerLoader; 417ITypeProvider typeProvider = this.serviceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider; 598ITypeProvider typeProvider = this.serviceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider;
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (5)
349IUIService uisvc = (IUIService)this.serviceProvider.GetService(typeof(IUIService)); 682IToolboxService toolboxService = serviceProvider.GetService(typeof(IToolboxService)) as IToolboxService; 683ITypeProviderCreator typeProviderCreator = serviceProvider.GetService(typeof(ITypeProviderCreator)) as ITypeProviderCreator; 1042ISelectionService selectionService = host.GetService(typeof(ISelectionService)) as ISelectionService; 1143return this.serviceProvider.GetService(serviceType);
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (10)
108IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 109WorkflowDesignerLoader loader = this.serviceProvider.GetService(typeof(WorkflowDesignerLoader)) as WorkflowDesignerLoader; 341IExtendedUIService2 extendedUIService = (IExtendedUIService2)this.serviceProvider.GetService(typeof(IExtendedUIService2)); 443IExtendedUIService2 extendedUIService = (IExtendedUIService2)this.serviceProvider.GetService(typeof(IExtendedUIService2)); 734ITypeProviderCreator typeProviderCreator = this.serviceProvider.GetService(typeof(ITypeProviderCreator)) as ITypeProviderCreator; 816IUIService uisvc = (IUIService)this.serviceProvider.GetService(typeof(IUIService)); 865IExtendedUIService2 extendedUIService = (IExtendedUIService2)this.serviceProvider.GetService(typeof(IExtendedUIService2)); 1157typeProvider = (ITypeProvider)this.serviceProvider.GetService(typeof(ITypeProvider)); 1452ITypeProvider typeProvider = context.GetService(typeof(ITypeProvider)) as ITypeProvider; 1596public object GetService(Type type) { return this.serviceProvider.GetService(type); }
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (1)
102WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView;
AuthoringOM\Design\DocumentOutline.cs (1)
297service = this.serviceProvider.GetService(serviceType);
AuthoringOM\Design\ExtenderHelpers.cs (1)
35IExtenderListService extenderListService = serviceProvider.GetService(typeof(IExtenderListService)) as IExtenderListService;
AuthoringOM\Design\FreeFormDesigner.cs (1)
1058WorkflowView workflowView = designer.Activity.Site.GetService(typeof(WorkflowView)) as WorkflowView;
AuthoringOM\Design\Glyphs\ConnectionPointGlyph.cs (2)
24WorkflowView workflowView = designer.Activity.Site.GetService(typeof(WorkflowView)) as WorkflowView; 27ConnectionManager connectionManager = designer.Activity.Site.GetService(typeof(ConnectionManager)) as ConnectionManager;
AuthoringOM\Design\IdentifierCreationService.cs (2)
189IDesignerHost host = serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 197ITypeProvider typeProvider = serviceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider;
AuthoringOM\Design\MessageFilters\WindowManager.cs (2)
226ISelectionService selectionService = ((IServiceProvider)this.ParentView).GetService(typeof(ISelectionService)) as ISelectionService; 253IDesignerHost designerHost = ((IServiceProvider)this.ParentView).GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\MessageFilters\WorkflowDesignerMessageFilter.cs (1)
188service = ((IServiceProvider)this.parentView).GetService(serviceType);
AuthoringOM\Design\PropertyDescriptors.cs (9)
47IIdentifierCreationService identifierCreationService = site.GetService(typeof(IIdentifierCreationService)) as IIdentifierCreationService; 91IIdentifierCreationService identifierCreationService = activity.Site.GetService(typeof(IIdentifierCreationService)) as IIdentifierCreationService; 106IMemberCreationService memberCreationService = activity.Site.GetService(typeof(IMemberCreationService)) as IMemberCreationService; 110IDesignerHost host = activity.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 220IEventBindingService eventBindingService = serviceProvider.GetService(typeof(IEventBindingService)) as IEventBindingService; 357IEventBindingService eventBindingService = ServiceProvider.GetService(typeof(IEventBindingService)) as IEventBindingService; 423IDesignerHost designerHost = context.GetService(typeof(IDesignerHost)) as IDesignerHost; 638IMemberCreationService memberCreationService = context.GetService(typeof(IMemberCreationService)) as IMemberCreationService; 646IDesignerHost designerHost = context.GetService(typeof(IDesignerHost)) as IDesignerHost;
AuthoringOM\Design\ReferenceService.cs (3)
76IComponentChangeService cs = this.provider.GetService(typeof(IComponentChangeService)) as IComponentChangeService; 88IContainer container = this.provider.GetService(typeof(IContainer)) as IContainer; 225IComponentChangeService cs = this.provider.GetService(typeof(IComponentChangeService)) as IComponentChangeService;
AuthoringOM\Design\SecondaryViewProvider.cs (2)
53WorkflowDesignerLoader loader = designer.Activity.Site.GetService(typeof(WorkflowDesignerLoader)) as WorkflowDesignerLoader; 197IUIService uiService = this.parentDesigner.Activity.Site.GetService(typeof(IUIService)) as IUIService;
AuthoringOM\Design\SequenceDesignerAccessibleObject.cs (1)
243return this.connectorHitInfo.AssociatedDesigner.Activity.Site.GetService(serviceType);
AuthoringOM\Design\UITypeEditors.cs (3)
40this.editorService = (IWindowsFormsEditorService)serviceProvider.GetService(typeof(IWindowsFormsEditorService)); 51ITypeProvider typeProvider = serviceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider; 69IReferenceService rs = serviceProvider.GetService(typeof(IReferenceService)) as IReferenceService;
AuthoringOM\Design\WinOEToolBoxItem.cs (1)
71tpc = (ITypeProviderCreator)host.GetService(typeof(ITypeProviderCreator));
AuthoringOM\Design\WorkflowLayouts.cs (3)
31this.parentView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 622WorkflowDesignerLoader serviceDesignerLoader = this.serviceProvider.GetService(typeof(WorkflowDesignerLoader)) as WorkflowDesignerLoader; 760IDesignerOptionService designerOptionService = this.serviceProvider.GetService(typeof(IDesignerOptionService)) as IDesignerOptionService;
AuthoringOM\Design\WorkflowPrinting.cs (1)
181WorkflowDesignerLoader serviceDesignerLoader = ((IServiceProvider)this.workflowView).GetService(typeof(WorkflowDesignerLoader)) as WorkflowDesignerLoader;
AuthoringOM\Design\WorkflowView.cs (2)
174IUIService uiService = this.serviceProvider.GetService(typeof(IUIService)) as IUIService; 2156retVal = this.serviceProvider.GetService(serviceType);
AuthoringOM\Design\XomlDesignerLoader.cs (33)
392WorkflowDesignerLoader workflowLoader = serviceProvider.GetService(typeof(WorkflowDesignerLoader)) as WorkflowDesignerLoader; 401WorkflowDesignerLoader workflowLoader = serviceProvider.GetService(typeof(WorkflowDesignerLoader)) as WorkflowDesignerLoader; 572IDesignerEventService designerEventService = this.serviceProvider.GetService(typeof(IDesignerEventService)) as IDesignerEventService; 576ITypeProvider typeProvider = this.serviceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider; 580ISelectionService selectionService = this.serviceProvider.GetService(typeof(ISelectionService)) as ISelectionService; 584IComponentChangeService componentChangedService = this.serviceProvider.GetService(typeof(IComponentChangeService)) as IComponentChangeService; 588IPropertyValueUIService propertyValueService = this.serviceProvider.GetService(typeof(IPropertyValueUIService)) as IPropertyValueUIService; 595WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 612IExtendedUIService extUIService = this.serviceProvider.GetService(typeof(IExtendedUIService)) as IExtendedUIService; 616IPropertyValueUIService propertyValueService = this.serviceProvider.GetService(typeof(IPropertyValueUIService)) as IPropertyValueUIService; 620IComponentChangeService componentChangedService = this.serviceProvider.GetService(typeof(IComponentChangeService)) as IComponentChangeService; 624ISelectionService selectionService = this.serviceProvider.GetService(typeof(ISelectionService)) as ISelectionService; 628ITypeProvider typeProvider = this.serviceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider; 632IDesignerEventService designerEventService = this.serviceProvider.GetService(typeof(IDesignerEventService)) as IDesignerEventService; 661IDesignerEventService designerEventService = this.serviceProvider.GetService(typeof(IDesignerEventService)) as IDesignerEventService; 662if (designerEventService != null && designerEventService.ActiveDesigner == this.serviceProvider.GetService(typeof(IDesignerHost))) 668if (e.NewDesigner == this.serviceProvider.GetService(typeof(IDesignerHost)) && this.typeSystemTypesChanged) 683WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 698WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 704IDesignerHost designerHost = this.serviceProvider.GetService(typeof(IDesignerHost)) as IDesignerHost; 710ITypeProvider typeProvider = this.serviceProvider.GetService(typeof(ITypeProvider)) as ITypeProvider; 754IPropertyValueUIService propertyValueService = this.serviceProvider.GetService(typeof(IPropertyValueUIService)) as IPropertyValueUIService; 766WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 794WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 804IPropertyValueUIService propertyValueService = this.serviceProvider.GetService(typeof(IPropertyValueUIService)) as IPropertyValueUIService; 813WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 825WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 836WorkflowView workflowView = this.serviceProvider.GetService(typeof(WorkflowView)) as WorkflowView; 844ISelectionService selectionService = this.serviceProvider.GetService(typeof(ISelectionService)) as ISelectionService; 845IExtendedUIService extendedUIService = this.serviceProvider.GetService(typeof(IExtendedUIService)) as IExtendedUIService; 851IDesignerEventService designerEventService = (IDesignerEventService)this.serviceProvider.GetService(typeof(IDesignerEventService)); 852if (designerEventService != null && designerEventService.ActiveDesigner == this.serviceProvider.GetService(typeof(IDesignerHost))) 875IReferenceService referenceService = this.serviceProvider.GetService(typeof(IReferenceService)) as IReferenceService;
AuthoringOM\Fault.cs (1)
181ITypeProvider typeProvider = context.GetService(typeof(ITypeProvider)) as ITypeProvider;
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (3)
135service = new ActivityCodeDomReferenceService(this.serializationManager.GetService(serviceType) as IReferenceService); 139service = serializationManager.GetService(serviceType); 149service = this.serializationManager.GetService(serviceType);
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
140IEventBindingService eventBindingService = manager.GetService(typeof(IEventBindingService)) as IEventBindingService;
AuthoringOM\Serializer\PrimitiveCodeDomSerializer.cs (1)
54CodeDomProvider codeProvider = manager.GetService(typeof(CodeDomProvider)) as CodeDomProvider;
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (3)
58ITypeProvider typeProvider = manager.GetService(typeof(ITypeProvider)) as ITypeProvider; 62this.designMode = (manager.GetService(typeof(ITypeResolutionService)) != null); 481return this.serializationManager.GetService(serviceType);
AuthoringOM\Serializer\XamlInterfaces.cs (1)
201ITypeProvider typeProvider = provider.GetService(typeof(ITypeProvider)) as ITypeProvider;
Shared\BasePropertyDescriptor.cs (4)
47IReferenceService referenceService = serviceProvider.GetService(typeof(IReferenceService)) as IReferenceService; 129IComponentChangeService changeService = serviceProvider.GetService(typeof(IComponentChangeService)) as IComponentChangeService; 149IComponentChangeService changeService = this.serviceProvider.GetService(typeof(IComponentChangeService)) as IComponentChangeService; 760ITypeProvider typeProvider = context.GetService(typeof(ITypeProvider)) as ITypeProvider;
Shared\CompilerHelpers.cs (1)
128IWorkflowCompilerOptionsService workflowCompilerOptions = serviceProvider.GetService(typeof(IWorkflowCompilerOptionsService)) as IWorkflowCompilerOptionsService;
Shared\CompModHelpers.cs (9)
304IDesignerHost designerHost = component.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 353IDesignerHost designerHost = component.Site.GetService(typeof(IDesignerHost)) as IDesignerHost; 409IWorkflowCompilerOptionsService compilerOptionsService = (IWorkflowCompilerOptionsService)serviceProvider.GetService(typeof(IWorkflowCompilerOptionsService)); 430ITypeProvider typeProvider = (ITypeProvider)serviceProvider.GetService(typeof(ITypeProvider)); 802ITypeProviderCreator typeProviderCreator = serviceProvider.GetService(typeof(ITypeProviderCreator)) as ITypeProviderCreator; 1346return (IContainer)this.serviceProvider.GetService(typeof(IContainer)); 1365return this.serviceProvider.GetService(serviceType); 1370IComponentChangeService componentChangeService = (IComponentChangeService)this.serviceProvider.GetService(typeof(IComponentChangeService)); 1389IComponentChangeService componentChangeService = (IComponentChangeService)this.serviceProvider.GetService(typeof(IComponentChangeService));
System.Workflow.Runtime (6)
CorrelationToken.cs (1)
95ISelectionService selectionService = context.GetService(typeof(ISelectionService)) as ISelectionService;
System\Activities\Statements\InteropExecutor.cs (2)
613return ((IServiceProvider)this.ServiceProvider).GetService(serviceType); 1055TimerExtension timerExtension = this.executor.GetService(typeof(TimerExtension)) as TimerExtension;
TimerEventSubscriptionCollection.cs (3)
84ITimerService timerService = this.executor.GetService(typeof(ITimerService)) as ITimerService; 103WorkflowSchedulerService schedulerService = this.executor.GetService(typeof(WorkflowSchedulerService)) as WorkflowSchedulerService; 117WorkflowSchedulerService schedulerService = this.executor.GetService(typeof(WorkflowSchedulerService)) as WorkflowSchedulerService;
System.WorkflowServices (8)
System\Workflow\Activities\ChannelToken.cs (1)
112ISelectionService selectionService = context.GetService(typeof(ISelectionService)) as ISelectionService;
System\Workflow\Activities\ContextToken.cs (1)
115ISelectionService selectionService = context.GetService(typeof(ISelectionService)) as ISelectionService;
System\Workflow\Activities\Design\OperationPickerDialog.cs (1)
34IUIService uisvc = (IUIService) this.serviceProvider.GetService(typeof(IUIService));
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (1)
63IUIService uisvc = (IUIService) this.ServiceProvider.GetService(typeof(IUIService));
System\Workflow\Activities\ReceiveActivity.cs (1)
1278provider.GetService(typeof(WorkflowQueuingService)) as WorkflowQueuingService;
System\Workflow\Activities\TypedOperationInfo.cs (1)
123typeProvider = provider.GetService(typeof(ITypeProvider)) as ITypeProvider;
System\Workflow\ComponentModel\Design\ActivityDesignerHighlighter.cs (1)
39return owner.Activity.Site.GetService(serviceType);
System\Workflow\ComponentModel\Design\FindSimilarActivitiesVerb.cs (1)
74return owner.Activity.Site.GetService(serviceType);
WindowsBase (1)
Base\System\Windows\Markup\TypeTypeConverter.cs (1)
35IXamlTypeResolver xamlTypeResolver = (IXamlTypeResolver)context.GetService(typeof(IXamlTypeResolver));