24 writes to Name
System.Activities (14)
System\Activities\ActivityUtilities.cs (1)
450
variable.
Name
= name;
System\Activities\Statements\CompensableActivity.cs (3)
209
Variable<bool> assertFlag = new Variable<bool> {
Name
= "assertFlag", Default = true };
210
Variable<IEnumerable<Activity>> elements = new Variable<IEnumerable<Activity>>() {
Name
= "elements" };
211
Variable<int> index = new Variable<int>() {
Name
= "index" };
System\Activities\Statements\Compensate.cs (3)
96
Variable<bool> assertFlag = new Variable<bool> {
Name
= "assertFlag" };
97
Variable<IEnumerable<Activity>> elements = new Variable<IEnumerable<Activity>>() {
Name
= "elements" };
98
Variable<int> index = new Variable<int>() {
Name
= "index" };
System\Activities\Statements\Confirm.cs (3)
104
Variable<bool> assertFlag = new Variable<bool> {
Name
= "assertFlag" };
105
Variable<IEnumerable<Activity>> elements = new Variable<IEnumerable<Activity>>() {
Name
= "elements" };
106
Variable<int> index = new Variable<int>() {
Name
= "index" };
System\Activities\Statements\StateMachine.cs (1)
62
this.eventManager = new Variable<StateMachineEventManager> {
Name
= "EventManager", Default = new StateMachineEventManagerFactory() };
System\Activities\Statements\WorkflowCompensationBehavior.cs (1)
21
Name
= "currentCompensationToken",
System\Activities\Variable.cs (2)
296
this.
Name
= name;
305
this.
Name
= name;
System.Activities.Core.Presentation (3)
System\ServiceModel\Activities\Presentation\Factories\ReceiveAndSendReplyFactory.cs (1)
28
Variable<CorrelationHandle> requestReplyCorrelation = new Variable<CorrelationHandle> {
Name
= correlationHandleName };
System\ServiceModel\Activities\Presentation\Factories\SendAndReceiveReplyFactory.cs (1)
28
Variable<CorrelationHandle> requestReplyCorrelation = new Variable<CorrelationHandle> {
Name
= correlationHandleName };
System\ServiceModel\Activities\Presentation\ServiceContractImporter.cs (1)
167
Variable<CorrelationHandle> handle = new Variable<CorrelationHandle> {
Name
= "__handle" };
System.ServiceModel.Activities (7)
System\ServiceModel\Activities\Receive.cs (2)
60
Variable<Message> request = new Variable<Message> {
Name
= "RequestMessage" };
61
Variable<NoPersistHandle> noPersistHandle = new Variable<NoPersistHandle> {
Name
= "ReceiveNoPersistHandle" };
System\ServiceModel\Activities\ReceiveReply.cs (1)
43
Variable<Message> response = new Variable<Message> {
Name
= "ResponseMessage" };
System\ServiceModel\Activities\Send.cs (1)
56
Variable<Message> request = new Variable<Message> {
Name
= "RequestMessage" };
System\ServiceModel\Activities\SendReply.cs (1)
48
Variable<Message> response = new Variable<Message> {
Name
= "ResponseMessage" };
System\ServiceModel\Activities\TransactedReceiveScope.cs (2)
35
Name
= "TransactionHandle"
98
Name
= "nestedCompensableActivity"
43 references to Name
System.Activities (42)
System\Activities\Debugger\DebugInfo.cs (5)
230
Name = variable.
Name
,
263
if (variable.
Name
== null)
268
if (!(variable.
Name
.StartsWith("_", StringComparison.Ordinal) || // private variables that should be hidden
269
existingNames.Contains(variable.
Name
))) // variable name already exists in current scope
272
existingNames.Add(variable.
Name
);
System\Activities\DynamicUpdate\ActivityComparer.cs (3)
100
return AreVariableNamesIdentical(leftVar.
Name
, rightVar.
Name
) && leftVar.Type == rightVar.Type && leftVar.Modifiers == rightVar.Modifiers;
115
return variables.Any(v => string.IsNullOrEmpty(v.
Name
));
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (15)
238
if (string.IsNullOrEmpty(variable.
Name
))
260
error = SR.DuplicateOriginVariableVariable(origin, dupe.
Name
, elementVar.
Name
);
264
error = SR.DuplicateOriginActivityVariable(origin, element, dupe.
Name
);
273
error = SR.DuplicateOriginActivityVariable(origin, dupe, elementVar.
Name
);
639
SR.AddedIdleVariableDefaultBlockDU(newVariable.
Name
, idleActivity));
771
throw FxTrace.Exception.AsError(new InvalidWorkflowException(SR.OriginalVariableReusedInModifiedDefinition(variables[i].
Name
)));
932
source, newVariable.
Name
, newVariable.Type, newVariable.Modifiers, oldVariable.
Name
, oldVariable.Type, oldVariable.Modifiers));
938
source, newVariable.
Name
, newVariable.Owner));
943
newVariable.
Name
, oldVariable.
Name
, newVariable.Owner, oldVariable.Owner));
947
throw FxTrace.Exception.Argument("newVariable", SR.AddMatchVariablePrivateChild(newVariable.
Name
));
951
throw FxTrace.Exception.Argument("oldVariable", SR.AddMatchVariablePrivateChild(oldVariable.
Name
));
1055
if (String.IsNullOrEmpty(newVariable.
Name
))
System\Activities\Expressions\VariableReference.cs (5)
49
metadata.AddValidationError(SR.VariableShouldBeOpen(this.Variable.
Name
));
54
metadata.AddValidationError(SR.VariableNotVisible(this.Variable.
Name
));
59
metadata.AddValidationError(SR.VariableIsReadOnly(this.Variable.
Name
));
66
if (Variable != null && !string.IsNullOrEmpty(Variable.
Name
))
68
return Variable.
Name
;
System\Activities\Expressions\VariableValue.cs (4)
49
metadata.AddValidationError(SR.VariableShouldBeOpen(this.Variable.
Name
));
54
metadata.AddValidationError(SR.VariableNotVisible(this.Variable.
Name
));
61
if (Variable != null && !string.IsNullOrEmpty(Variable.
Name
))
63
return Variable.
Name
;
System\Activities\Tracking\ActivityStateRecord.cs (1)
239
if (TrackData(variable.
Name
, variable.Id, currentInstance, variables, useWildCard, ref trackedVariables))
System\Activities\Variable.cs (8)
138
ValidationError validationError = new ValidationError(SR.VariableAlreadyInUseOnActivity(this.
Name
, parent.DisplayName, this.Owner.DisplayName), false, this.
Name
, parent);
163
new ValidationError(SR.VariableExpressionTypeMismatch(this.
Name
, this.Type, expression.ResultType), false, this.
Name
, parent));
176
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.VariableNotOpen(this.
Name
, this.Type)));
210
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.VariableDoesNotExist(this.
Name
)));
219
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.VariableDoesNotExist(this.
Name
)));
259
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.VariableDoesNotExist(this.
Name
)));
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
364
AddMember(v.
Name
, v.Type, contextDescriptor);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (1)
82
expressionString = variable.
Name
;