/// <summary> /// Initializes a new instance of the <see cref="UnfoldScope"/> class. /// </summary> public UnfoldScope(IAutomationExtension<IAutomationSettings> originatingAutomation, ReferenceTag artifactReferenceTag, string templateUri) { Guard.NotNull(() => originatingAutomation, originatingAutomation); Guard.NotNull(() => artifactReferenceTag, artifactReferenceTag); Guard.NotNullOrEmpty(() => templateUri, templateUri); this.parentScope = scopes.Peek(); scopes.Push(this); this.templateUri = templateUri; this.Automation = originatingAutomation; this.ReferenceTag = artifactReferenceTag; tracer.Verbose(Resources.UnfoldScope_Initialized, templateUri); }
/// <summary> /// Initializes a new instance of the <see cref="UnfoldScope"/> class. /// </summary> public UnfoldScope(IAutomationExtension <IAutomationSettings> originatingAutomation, ReferenceTag artifactReferenceTag, string templateUri) { Guard.NotNull(() => originatingAutomation, originatingAutomation); Guard.NotNull(() => artifactReferenceTag, artifactReferenceTag); Guard.NotNullOrEmpty(() => templateUri, templateUri); this.parentScope = scopes.Peek(); scopes.Push(this); this.templateUri = templateUri; this.Automation = originatingAutomation; this.ReferenceTag = artifactReferenceTag; tracer.Verbose(Resources.UnfoldScope_Initialized, templateUri); }