5 writes to Id
System.Activities (5)
System\Activities\ActivityUtilities.cs (3)
559
argument.
Id
= nextEnvironmentId;
590
variable.
Id
= nextEnvironmentId;
693
boundArgument.
Id
= nextEnvironmentId;
System\Activities\DelegateArgument.cs (1)
23
this.
Id
= -1;
System\Activities\Variable.cs (1)
29
this.
Id
= -1;
30 references to Id
System.Activities (30)
System\Activities\ActivityInstance.cs (6)
897
Fx.Assert(this.Environment.GetSpecificLocation(argument.
Id
) == null, "This is a newly added argument so the location should be null");
917
Location location = this.environment.GetSpecificLocation(argument.
Id
);
970
Location location = this.environment.GetSpecificLocation(argument.
Id
);
1079
Location variableLocation = this.Environment.GetSpecificLocation(variable.
Id
);
1103
variableLocation = this.environment.GetSpecificLocation(variable.
Id
);
1237
if (this.environment.TryGetLocation(argument.
Id
, this.Activity, out location))
System\Activities\Argument.cs (1)
119
return this.runtimeArgument.
Id
;
System\Activities\DelegateArgument.cs (2)
132
if (!context.Environment.TryGetLocation(this.
Id
, this.Owner, out location))
146
if (!environment.TryGetLocation(this.
Id
, this.Owner, out location))
System\Activities\Runtime\DelegateCompletionCallbackWrapper.cs (1)
49
Location parameterLocation = environment.GetSpecificLocation(runtimeArgument.BoundArgument.
Id
);
System\Activities\Runtime\FuncCompletionCallbackWrapper.cs (2)
49
return argument.
Id
;
66
resultId = resultArgument.
Id
;
System\Activities\Runtime\LocationEnvironment.cs (9)
315
Location location = GetSpecificLocation(variable.
Id
);
355
Fx.Assert((locationReference.
Id
== 0 && this.locations == null) || (locationReference.
Id
>= 0 && this.locations != null && locationReference.
Id
< this.locations.Length), "The environment should have been created with the appropriate capacity.");
363
Fx.Assert(locationReference.
Id
== 0, "We should think the id is zero if we are setting the single location.");
369
Fx.Assert(this.locations[locationReference.
Id
] == null || this.locations[locationReference.
Id
] is DummyLocation, "We should not have had a location at the spot we are replacing.");
371
this.locations[locationReference.
Id
] = location;
737
RegisterLocation(GetSpecificLocation(locationReference.
Id
), locationReference, activityInstance);
System\Activities\Runtime\MappableObjectManager.cs (1)
101
this.MappingKeyName = string.Format(CultureInfo.InvariantCulture, "activity.{0}-{1}_{2}", activity.Id, locationOwner.
Id
, activityInstance.Id);
System\Activities\RuntimeArgument.cs (3)
399
if (!context.Environment.TryGetLocation(this.
Id
, out location))
418
if (!context.Environment.TryGetLocation(this.
Id
, this.Owner, out location))
454
if (!environment.TryGetLocation(this.
Id
, this.Owner, out location))
System\Activities\Tracking\ActivityStateRecord.cs (2)
239
if (TrackData(variable.Name, variable.
Id
, currentInstance, variables, useWildCard, ref trackedVariables))
302
if (TrackData(argument.Name, argument.
Id
, currentInstance, arguments, containsWildcard, ref trackedArguments))
System\Activities\Variable.cs (3)
208
if (!context.Environment.TryGetLocation(this.
Id
, out location))
217
if (!context.Environment.TryGetLocation(this.
Id
, this.Owner, out location))
257
if (!environment.TryGetLocation(this.
Id
, this.Owner, out location))