1 write to rootProperties
System.Activities (1)
System\Activities\Activity.cs (1)
904this.rootProperties = new RootProperties();
40 references to rootProperties
System.Activities (40)
System\Activities\Activity.cs (40)
342if (this.RootActivity != null && this.RootActivity.rootProperties != null) 344return this.RootActivity.rootProperties.HostEnvironment; 411if (this.rootProperties != null) 413return this.rootProperties.HasBeenAssociatedWithAnInstance; 415else if (this.IsMetadataCached && this.RootActivity != null && this.RootActivity.rootProperties != null) 417return this.RootActivity.rootProperties.HasBeenAssociatedWithAnInstance; 426Fx.Assert(this.rootProperties != null, "This should only be called on the root and we should already be cached."); 429this.rootProperties.HasBeenAssociatedWithAnInstance = value; 437Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "This should only be called on the root."); 438return this.rootProperties.OverloadGroups; 442Fx.Assert(this.rootProperties != null, "This should only be called on the root."); 443this.rootProperties.OverloadGroups = value; 451Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "This should only be called on the root."); 452return this.rootProperties.RequiredArgumentsNotInOverloadGroups; 456Fx.Assert(this.rootProperties != null, "This should only be called on the root."); 457this.rootProperties.RequiredArgumentsNotInOverloadGroups = value; 465Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "This should only be called on the root."); 466return this.rootProperties.EquivalenceInfo; 470Fx.Assert(this.rootProperties != null, "This should only be called on the root."); 471this.rootProperties.EquivalenceInfo = value; 539Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "only callable on the root"); 540return this.rootProperties.RequiredExtensionTypesCount; 548Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "only callable on the root"); 549return this.rootProperties.DefaultExtensionsCount; 555Fx.Assert(this.rootProperties != null, "only callable on the root"); 556return this.rootProperties.GetActivityExtensionInformation(out activityExtensionProviders, out requiredActivityExtensionTypes); 858if (this.rootActivity == null || this.rootActivity.rootProperties == null) 864return this.rootActivity.rootProperties.IsSingletonActivityDeclared(name); 870if (this.rootActivity != null && this.rootActivity.rootProperties != null) 872this.rootActivity.rootProperties.DeclareSingletonActivity(name, activity); 878if (this.rootActivity != null && this.rootActivity.rootProperties != null) 880return this.rootActivity.rootProperties.GetSingletonActivity(name); 905this.rootProperties.HostEnvironment = hostEnvironment; 915Fx.Assert(this.rootProperties != null, "Root properties must be available now."); 917parentEnvironment = new ActivityLocationReferenceEnvironment(this.rootProperties.HostEnvironment) { InternalRoot = this }; 928parentEnvironment = this.RootActivity.rootProperties.HostEnvironment; 1274Fx.Assert(this.rootActivity != null && this.rootActivity.rootProperties != null, "need a valid root"); 1275this.rootActivity.rootProperties.AddDefaultExtensionProvider(extensionProvider); 1281Fx.Assert(this.rootActivity != null && this.rootActivity.rootProperties != null, "need a valid root"); 1282this.rootActivity.rootProperties.RequireExtension(extensionType);