2 writes to activity
System.Activities (2)
System\Activities\NativeActivityMetadata.cs (2)
19
this.
activity
= activity;
400
this.
activity
= null;
46 references to activity
System.Activities (46)
System\Activities\NativeActivityMetadata.cs (46)
44
if (this.
activity
== null)
50
return this.
activity
.HasTempViolations;
73
return other.
activity
== this.
activity
&& other.Environment == this.Environment
79
if (this.
activity
== null)
85
return this.
activity
.GetHashCode();
93
Argument.TryBind(binding, argument, this.
activity
);
102
this.
activity
.SetTempValidationErrorCollection(validationErrors);
116
this.
activity
.AddTempValidationError(validationError);
126
this.
activity
.SetArgumentsCollection(arguments, this.createEmptyBindings);
135
this.
activity
.AddArgument(argument, this.createEmptyBindings);
145
this.
activity
.SetChildrenCollection(children);
156
ActivityUtilities.ValidateOrigin(origin, this.
activity
);
160
this.
activity
.AddChild(child);
161
if (child.CacheId != this.
activity
.CacheId)
174
this.
activity
.SetImplementationChildrenCollection(implementationChildren);
183
this.
activity
.AddImplementationChild(implementationChild);
193
this.
activity
.SetImportedChildrenCollection(importedChildren);
204
ActivityUtilities.ValidateOrigin(origin, this.
activity
);
208
this.
activity
.AddImportedChild(importedChild);
209
if (importedChild.CacheId != this.
activity
.CacheId)
222
this.
activity
.SetDelegatesCollection(delegates);
233
ActivityUtilities.ValidateOrigin(origin, this.
activity
);
237
this.
activity
.AddDelegate(activityDelegate);
238
if (activityDelegate.Handler != null && activityDelegate.Handler.CacheId != this.
activity
.CacheId)
253
this.
activity
.SetImplementationDelegatesCollection(implementationDelegates);
262
this.
activity
.AddImplementationDelegate(implementationDelegate);
272
this.
activity
.SetImportedDelegatesCollection(importedDelegates);
283
ActivityUtilities.ValidateOrigin(origin, this.
activity
);
287
this.
activity
.AddImportedDelegate(importedDelegate);
288
if (importedDelegate.Handler != null && importedDelegate.Handler.CacheId != this.
activity
.CacheId)
303
this.
activity
.SetVariablesCollection(variables);
314
ActivityUtilities.ValidateOrigin(origin, this.
activity
);
318
this.
activity
.AddVariable(variable);
319
if (variable.CacheId != this.
activity
.CacheId)
322
if (variable.Default != null && variable.Default.CacheId != this.
activity
.CacheId)
336
this.
activity
.SetImplementationVariablesCollection(implementationVariables);
345
this.
activity
.AddImplementationVariable(implementationVariable);
351
return Activity.ReflectedInformation.GetArguments(this.
activity
);
356
return Activity.ReflectedInformation.GetChildren(this.
activity
);
361
return Activity.ReflectedInformation.GetVariables(this.
activity
);
366
return Activity.ReflectedInformation.GetDelegates(this.
activity
);
376
this.
activity
.AddDefaultExtensionProvider(extensionProvider);
382
this.
activity
.RequireExtension(typeof(T));
395
this.
activity
.RequireExtension(extensionType);
405
if (this.
activity
== null)