2 writes to activity
System.Activities (2)
System\Activities\ActivityMetadata.cs (2)
20
this.
activity
= activity;
284
this.
activity
= null;
32 references to activity
System.Activities (32)
System\Activities\ActivityMetadata.cs (32)
45
if (this.
activity
== null)
51
return this.
activity
.HasTempViolations;
64
return other.
activity
== this.
activity
&& other.Environment == this.Environment
70
if (this.
activity
== null)
76
return this.
activity
.GetHashCode();
94
Argument.TryBind(binding, argument, this.
activity
);
103
this.
activity
.SetTempValidationErrorCollection(validationErrors);
117
this.
activity
.AddTempValidationError(validationError);
127
this.
activity
.SetArgumentsCollection(arguments, this.createEmptyBindings);
136
this.
activity
.AddArgument(argument, this.createEmptyBindings);
146
this.
activity
.SetImportedChildrenCollection(importedChildren);
157
ActivityUtilities.ValidateOrigin(origin, this.
activity
);
161
this.
activity
.AddImportedChild(importedChild);
162
if (importedChild.CacheId != this.
activity
.CacheId)
175
this.
activity
.SetImportedDelegatesCollection(importedDelegates);
186
ActivityUtilities.ValidateOrigin(origin, this.
activity
);
190
this.
activity
.AddImportedDelegate(importedDelegate);
191
if (importedDelegate.Handler != null && importedDelegate.Handler.CacheId != this.
activity
.CacheId)
206
this.
activity
.SetVariablesCollection(variables);
217
ActivityUtilities.ValidateOrigin(origin, this.
activity
);
221
this.
activity
.AddVariable(variable);
222
if (variable.CacheId != this.
activity
.CacheId)
225
if (variable.Default != null && variable.Default.CacheId != this.
activity
.CacheId)
235
return Activity.ReflectedInformation.GetArguments(this.
activity
);
240
return Activity.ReflectedInformation.GetChildren(this.
activity
);
245
return Activity.ReflectedInformation.GetVariables(this.
activity
);
250
return Activity.ReflectedInformation.GetDelegates(this.
activity
);
260
this.
activity
.AddDefaultExtensionProvider(extensionProvider);
266
this.
activity
.RequireExtension(typeof(T));
279
this.
activity
.RequireExtension(extensionType);
289
if (this.
activity
== null)