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