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