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