3 writes to Direction
System.Activities (3)
System\Activities\InArgument.cs (1)
23
this.
Direction
= ArgumentDirection.In;
System\Activities\InOutArgument.cs (1)
21
this.
Direction
= ArgumentDirection.InOut;
System\Activities\OutArgument.cs (1)
23
this.
Direction
= ArgumentDirection.Out;
34 references to Direction
System.Activities (23)
System\Activities\Activity.cs (1)
1761
RuntimeArgument runtimeArgument = new RuntimeArgument(key, value.ArgumentType, value.
Direction
, false, null, value);
System\Activities\Argument.cs (5)
143
return ActivityUtilities.CreateReferenceArgument(argumentToReference.ArgumentType, argumentToReference.
Direction
, referencedArgumentName);
182
Fx.Assert(binding.
Direction
== argument.Direction, "The directions must match.");
202
if (binding.
Direction
!= argument.Direction)
204
violationOwner.AddTempValidationError(new ValidationError(SR.ArgumentDirectionMismatch(argument.Name, argument.Direction, binding.
Direction
)));
282
switch (this.
Direction
)
System\Activities\ArgumentDirectionHelper.cs (2)
28
return ArgumentDirectionHelper.IsIn(argument.
Direction
);
38
return ArgumentDirectionHelper.IsOut(argument.
Direction
);
System\Activities\Expressions\New.cs (4)
75
RuntimeArgument runtimeArgument = new RuntimeArgument("Argument" + i, this.arguments[i].ArgumentType, this.arguments[i].
Direction
, true);
78
types[i] = this.Arguments[i].
Direction
== ArgumentDirection.In ? this.Arguments[i].ArgumentType : this.Arguments[i].ArgumentType.MakeByRefType();
110
if (argument.
Direction
== ArgumentDirection.InOut || argument.
Direction
== ArgumentDirection.Out)
System\Activities\Expressions\NewArray.cs (1)
73
RuntimeArgument runtimeArgument = new RuntimeArgument("Argument" + i, this.Bounds[i].ArgumentType, this.bounds[i].
Direction
, true);
System\Activities\Statements\InvokeDelegate.cs (5)
62
RuntimeArgument argument = new RuntimeArgument(entry.Key, entry.Value.ArgumentType, entry.Value.
Direction
);
88
if (delegateArgument.
Direction
!= expectedParameter.Direction)
90
metadata.AddValidationError(SR.DelegateParameterDirectionalityMismatch(parameterName, delegateArgument.
Direction
, expectedParameter.Direction));
141
if (ArgumentDirectionHelper.IsIn(entry.Value.
Direction
))
160
if (ArgumentDirectionHelper.IsOut(argument.
Direction
))
System\Activities\Statements\MethodExecutor.cs (1)
147
if (parameters[index].
Direction
!= ArgumentDirection.In)
System\Activities\Statements\MethodResolver.cs (4)
110
RuntimeArgument argument = new RuntimeArgument(name, Parameters[i].ArgumentType, Parameters[i].
Direction
, true);
138
RuntimeArgument argument = new RuntimeArgument(name, Parameters[index].ArgumentType, Parameters[index].
Direction
, true);
150
RuntimeArgument argument = new RuntimeArgument(name, Parameters[i].ArgumentType, Parameters[i].
Direction
, true);
228
Parameters.Select(argument => argument.
Direction
== ArgumentDirection.In ? argument.ArgumentType : argument.ArgumentType.MakeByRefType())
System.Activities.Core.Presentation (5)
System\Activities\Core\Presentation\InvokeDelegateValidationFeature.cs (3)
171
if ((expectedArgument.Direction == ActivityDelegateArgumentDirection.In && delegateArgument.
Direction
!= ArgumentDirection.In) ||
172
(expectedArgument.Direction == ActivityDelegateArgumentDirection.Out && delegateArgument.
Direction
!= ArgumentDirection.Out))
174
errorBuilder.AppendFormat(CultureInfo.CurrentUICulture, SR.DelegateArgumentsDirectionalityMismatch, expectedArgument.Name, delegateArgument.
Direction
, expectedArgument.Direction);
System\Activities\Core\Presentation\MorphHelpers.cs (1)
52
morphed = Argument.Create(targetType, original.
Direction
);
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (1)
826
this.Direction = argument.
Direction
;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (1)
241
Argument newArgument = Argument.Create(expectedReturnType, argumentAccessorWrapper.Argument.
Direction
);
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\InternalReceiveMessage.cs (1)
756
correlation.CorrelationHandle.ArgumentType, correlation.CorrelationHandle.
Direction
, true);
System\ServiceModel\Activities\InternalSendMessage.cs (1)
569
correlation.CorrelationHandle.ArgumentType, correlation.CorrelationHandle.
Direction
, true);
System.Workflow.Runtime (3)
System\Activities\Statements\Interop.cs (3)
250
if (inBinding.
Direction
!= ArgumentDirection.In)
451
if (argument.
Direction
== ArgumentDirection.Out)
470
if (argument.
Direction
== ArgumentDirection.In)