2 implementations of ITypeProvider
System.Workflow.Activities (1)
Rules\RuleValidation.cs (1)
792
internal class SimpleRunTimeTypeProvider :
ITypeProvider
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (1)
17
public sealed class TypeProvider :
ITypeProvider
, IServiceProvider, IDisposable
281 references to ITypeProvider
System.Workflow.Activities (101)
Common\BasePropertyDescriptor.cs (3)
761
ITypeProvider
typeProvider = context.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
Common\CompModHelpers.cs (4)
432
ITypeProvider
typeProvider = (
ITypeProvider
)serviceProvider.GetService(typeof(
ITypeProvider
));
435
SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).Name));
Common\TypeSystemHelpers.cs (1)
409
internal static Type ParseTypeName(
ITypeProvider
typeProvider, SupportedLanguages language, string typeName)
Designers\InvokeWebServiceDesigner.cs (4)
80
ITypeProvider
typeProvider = (
ITypeProvider
)GetService(typeof(
ITypeProvider
));
82
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
Designers\WebServiceReceiveDesigner.cs (4)
106
ITypeProvider
typeProvider = (
ITypeProvider
)this.ServiceProvider.GetService(typeof(
ITypeProvider
));
108
throw new Exception(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
Designers\WebServiceResponseDesigner.cs (4)
28
ITypeProvider
typeProvider = (
ITypeProvider
)GetService(typeof(
ITypeProvider
));
30
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
EventSinkActivity.cs (4)
449
ITypeProvider
typeProvider = (
ITypeProvider
)((IComponent)this).Site.GetService(typeof(
ITypeProvider
));
451
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
InvokeMethodActivity.cs (4)
254
ITypeProvider
typeProvider = (
ITypeProvider
)((IComponent)this).Site.GetService(typeof(
ITypeProvider
));
256
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
InvokeSchedule.cs (4)
207
ITypeProvider
typeProvider = (
ITypeProvider
)manager.GetService(typeof(
ITypeProvider
));
209
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
InvokeWebService.cs (12)
311
ITypeProvider
typeProvider = (
ITypeProvider
)context.GetService(typeof(
ITypeProvider
));
313
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
385
ITypeProvider
typeProvider = (
ITypeProvider
)((IComponent)this).Site.GetService(typeof(
ITypeProvider
));
387
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
441
ITypeProvider
typeProvider = (
ITypeProvider
)manager.GetService(typeof(
ITypeProvider
));
443
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
Rules\DeclarativeExpressionConditionDeclaration.cs (3)
391
ITypeProvider
typeProvider = (
ITypeProvider
)manager.GetService(typeof(
ITypeProvider
));
Rules\Design\Dialogs\ConditionBrowserDialog.cs (4)
119
ITypeProvider
typeProvider = (
ITypeProvider
)this.Activity.Site.GetService(typeof(
ITypeProvider
));
122
string message = string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(
ITypeProvider
).FullName);
Rules\Design\Dialogs\RuleConditionDialog.cs (5)
36
ITypeProvider
typeProvider;
43
typeProvider = (
ITypeProvider
)serviceProvider.GetService(typeof(
ITypeProvider
));
46
string message = string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(
ITypeProvider
).FullName);
69
public RuleConditionDialog(Type activityType,
ITypeProvider
typeProvider, CodeExpression expression)
Rules\Design\Dialogs\RuleSetBrowserDialog.cs (3)
106
ITypeProvider
typeProvider = (
ITypeProvider
)manager.GetService(typeof(
ITypeProvider
));
Rules\Design\Dialogs\RuleSetDialog.cs (5)
42
ITypeProvider
typeProvider;
46
typeProvider = (
ITypeProvider
)this.serviceProvider.GetService(typeof(
ITypeProvider
));
49
string message = string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(
ITypeProvider
).FullName);
71
public RuleSetDialog(Type activityType,
ITypeProvider
typeProvider, RuleSet ruleSet)
Rules\Helpers.cs (1)
25
internal static Type GetContextType(
ITypeProvider
typeProvider, Activity currentActivity)
Rules\Parser\Parser.cs (1)
634
ITypeProvider
provider = validation.GetTypeProvider();
Rules\RuleSetReference.cs (3)
146
ITypeProvider
typeProvider = (
ITypeProvider
)manager.GetService(typeof(
ITypeProvider
));
Rules\RuleValidation.cs (4)
915
private
ITypeProvider
typeProvider;
930
public RuleValidation(Activity activity,
ITypeProvider
typeProvider, bool checkStaticType)
961
public RuleValidation(Type thisType,
ITypeProvider
typeProvider)
1044
internal
ITypeProvider
GetTypeProvider()
WebServiceFault.cs (4)
190
ITypeProvider
typeProvider = (
ITypeProvider
)manager.GetService(typeof(
ITypeProvider
));
193
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
WebServiceReceive.cs (16)
175
ITypeProvider
typeProvider = (
ITypeProvider
)context.GetService(typeof(
ITypeProvider
));
177
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
446
ITypeProvider
typeProvider = (
ITypeProvider
)((IComponent)this).Site.GetService(typeof(
ITypeProvider
));
448
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
518
ITypeProvider
typeProvider = (
ITypeProvider
)manager.GetService(typeof(
ITypeProvider
));
520
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
654
ITypeProvider
typeProvider = manager.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
657
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
WebServiceResponse.cs (8)
252
ITypeProvider
typeProvider = (
ITypeProvider
)((IComponent)this).Site.GetService(typeof(
ITypeProvider
));
254
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
315
ITypeProvider
typeProvider = (
ITypeProvider
)manager.GetService(typeof(
ITypeProvider
));
317
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
System.Workflow.ComponentModel (144)
AuthoringOM\Behaviors\ExceptionHandler.cs (4)
172
ITypeProvider
typeProvider = manager.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
174
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (4)
206
ITypeProvider
typeProvider = serviceProvider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
208
throw new Exception(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).ToString()));
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (4)
24
private
ITypeProvider
typeProvider;
41
ITypeProvider
typeProvider)
78
internal DesignTimeType(Type declaringType, string elementTypeFullName,
ITypeProvider
typeProvider)
116
internal
ITypeProvider
Provider
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (4)
53
private
ITypeProvider
typeProvider = null;
57
internal RTTypeWrapper(
ITypeProvider
typeProvider, Type runtimeType)
70
internal
ITypeProvider
Provider
78
private RTTypeWrapper(
ITypeProvider
typeProvider, Type runtimeType, Type[] typeArgs)
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (2)
702
ITypeProvider
provider = fromType is RTTypeWrapper ? (fromType as RTTypeWrapper).Provider : (fromType as DesignTimeType).Provider;
712
ITypeProvider
provider = toType is RTTypeWrapper ? (toType as RTTypeWrapper).Provider : (toType as DesignTimeType).Provider;
AuthoringOM\Compiler\Validation\BindValidator.cs (7)
20
ITypeProvider
typeProvider = serviceProvider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
831
ITypeProvider
typeProvider = manager.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
833
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (4)
189
ITypeProvider
typeProvider = manager.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
191
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
AuthoringOM\Compiler\XomlCompiler.cs (1)
743
serviceContainer.AddService(typeof(
ITypeProvider
), typeProvider);
AuthoringOM\Compiler\XomlCompilerHelpers.cs (3)
71
ITypeProvider
typeProvider = WorkflowCompilationContext.Current.ServiceProvider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
AuthoringOM\Design\ActivityDesigner.cs (3)
2458
ITypeProvider
typeProvider = GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
AuthoringOM\Design\CustomActivityDesigner.cs (16)
274
ITypeProvider
typeProvider = serviceProvider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
276
throw new Exception(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
368
ITypeProvider
typeProvider = (
ITypeProvider
)serviceProvider.GetService(typeof(
ITypeProvider
));
370
throw new Exception(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
575
ITypeProvider
typeProvider = serviceProvider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
577
throw new Exception(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
833
ITypeProvider
typeProvider = this.serviceProvider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
835
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
AuthoringOM\Design\DesignerHelpers.cs (4)
1583
ITypeProvider
typeProvider = (
ITypeProvider
)serviceProvider.GetService(typeof(
ITypeProvider
));
1585
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
AuthoringOM\Design\DesignerInterfaces.cs (1)
1158
ITypeProvider
GetTypeProvider(object obj);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (12)
153
ITypeProvider
typeProvider = this.serviceProvider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
244
ITypeProvider
typeProvider = this.serviceProvider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
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 (4)
1110
ITypeProvider
typeProvider = GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
1115
ServiceContainer.AddService(typeof(
ITypeProvider
), provider, true);
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (16)
339
List<Type> GetTargetFrameworkTypes(
ITypeProvider
currentTypeProvider)
401
ITypeProvider
typeProvider = this.TypeProvider;
545
ITypeProvider
typeProvider = this.TypeProvider;
651
ITypeProvider
typeProvider = this.TypeProvider;
864
ITypeProvider
typeProvider = this.TypeProvider;
1017
ITypeProvider
typeProvider = this.TypeProvider;
1151
private
ITypeProvider
TypeProvider
1155
ITypeProvider
typeProvider = this.localTypeProvider as
ITypeProvider
;
1157
typeProvider = (
ITypeProvider
)this.serviceProvider.GetService(typeof(
ITypeProvider
));
1160
throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
1312
if (serviceType == typeof(
ITypeProvider
))
1452
ITypeProvider
typeProvider = context.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
AuthoringOM\Design\IdentifierCreationService.cs (4)
197
ITypeProvider
typeProvider = serviceProvider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
199
throw new Exception(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
AuthoringOM\Design\UITypeEditors.cs (4)
51
ITypeProvider
typeProvider = serviceProvider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
53
throw new Exception(SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).FullName));
AuthoringOM\Design\WorkflowInlining.cs (3)
451
ITypeProvider
typeProvider = (
ITypeProvider
)GetService(typeof(
ITypeProvider
));
AuthoringOM\Design\XomlDesignerLoader.cs (9)
576
ITypeProvider
typeProvider = this.serviceProvider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
628
ITypeProvider
typeProvider = this.serviceProvider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
710
ITypeProvider
typeProvider = this.serviceProvider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
AuthoringOM\Fault.cs (3)
181
ITypeProvider
typeProvider = context.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
AuthoringOM\ScheduleChanges.cs (3)
102
serviceContainer.AddService(typeof(
ITypeProvider
), typeProvider);
565
serviceContainer.AddService(typeof(
ITypeProvider
), typeProvider);
759
serviceContainer.AddService(typeof(
ITypeProvider
), typeProvider);
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (3)
286
ITypeProvider
typeProvider = this.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
AuthoringOM\Serializer\CodeTypeReferenceSerializer.cs (1)
53
TypeProvider typeProvider = serializationManager.GetService(typeof(
ITypeProvider
)) as TypeProvider;
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (6)
58
ITypeProvider
typeProvider = manager.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
301
ITypeProvider
typeProvider = this.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (4)
1276
ITypeProvider
typeProvider = serializationManager.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
1387
TypeProvider typeProvider = serializationManager.GetService(typeof(
ITypeProvider
)) as TypeProvider;
AuthoringOM\Serializer\WorkflowMarkupSerializerMapping.cs (4)
293
ITypeProvider
typeProvider = serializationManager.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
397
TypeProvider typeProvider = manager.GetService(typeof(
ITypeProvider
)) as TypeProvider;
AuthoringOM\Serializer\XamlInterfaces.cs (3)
201
ITypeProvider
typeProvider = provider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
Shared\BasePropertyDescriptor.cs (3)
760
ITypeProvider
typeProvider = context.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
Shared\CompModHelpers.cs (4)
430
ITypeProvider
typeProvider = (
ITypeProvider
)serviceProvider.GetService(typeof(
ITypeProvider
));
433
SR.GetString(SR.General_MissingService, typeof(
ITypeProvider
).Name));
Shared\TypeSystemHelpers.cs (1)
408
internal static Type ParseTypeName(
ITypeProvider
typeProvider, SupportedLanguages language, string typeName)
System.Workflow.Runtime (13)
Hosting\DefaultWorkflowLoaderService.cs (3)
50
ITypeProvider
typeProvider = this.Runtime.GetService<
ITypeProvider
>();
52
serviceContainer.AddService(typeof(
ITypeProvider
), typeProvider);
System\Activities\Statements\Interop.cs (1)
1012
container.AddService(typeof(
ITypeProvider
), CreateTypeProvider(interop.ActivityType));
WorkflowDefinitionDispenser.cs (5)
191
internal void ValidateDefinition(Activity root, bool isNewType,
ITypeProvider
typeProvider)
228
serviceContainer.AddService(typeof(
ITypeProvider
), typeProvider);
264
ValidateDefinition(root, true, workflowRuntime.GetService<
ITypeProvider
>());
309
ITypeProvider
typeProvider = workflowRuntime.GetService<
ITypeProvider
>();
WorkflowRuntime.cs (4)
1457
ITypeProvider
typeProvider = runtime.GetService<
ITypeProvider
>();
1459
serviceContainer.AddService(typeof(
ITypeProvider
), typeProvider);
1462
serviceContainer.AddService(typeof(
ITypeProvider
), CreateTypeProvider(sender as Activity));
System.WorkflowServices (23)
System\ServiceModel\WorkflowServiceHost.cs (2)
39
public WorkflowServiceHost(string workflowDefinitionPath, string ruleDefinitionPath,
ITypeProvider
typeProvider, params Uri[] baseAddress)
58
public WorkflowServiceHost(Stream workflowDefinition, Stream ruleDefinition,
ITypeProvider
typeProvider, params Uri[] baseAddress)
System\Workflow\Activities\ReceiveActivityValidator.cs (4)
28
ITypeProvider
typeProvider = manager.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
32
SR2.GetString(SR2.General_MissingService, typeof(
ITypeProvider
).Name)));
System\Workflow\Activities\SendActivityValidator.cs (4)
28
ITypeProvider
typeProvider = manager.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
32
SR2.GetString(SR2.General_MissingService, typeof(
ITypeProvider
).Name)));
System\Workflow\Activities\TypedOperationInfo.cs (3)
119
ITypeProvider
typeProvider = null;
123
typeProvider = provider.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
System\Workflow\Activities\ValidationHelper.cs (4)
594
ITypeProvider
typeProvider = manager.GetService(typeof(
ITypeProvider
)) as
ITypeProvider
;
598
new InvalidOperationException(SR2.GetString(SR2.General_MissingService, typeof(
ITypeProvider
).Name)));
System\Workflow\Runtime\StreamedWorkflowDefinitionContext.cs (4)
24
ITypeProvider
typeProvider = null;
27
internal StreamedWorkflowDefinitionContext(Stream workflowDefinition, Stream ruleDefinition,
ITypeProvider
typeProvider)
46
internal StreamedWorkflowDefinitionContext(string workflowDefinitionPath, string ruleDefinitionPath,
ITypeProvider
typeProvider)
275
serviceContainer.AddService(typeof(
ITypeProvider
), this.typeProvider);
System\Workflow\Runtime\WorkflowDefinitionContext.cs (2)
105
ITypeProvider
typeProvider = CreateTypeProvider(rootActivity);
108
serviceContainer.AddService(typeof(
ITypeProvider
), typeProvider);