Class PerformanceEventArgs
- Namespace
- CSF.Screenplay.Performances
- Assembly
- CSF.Screenplay.Abstractions.dll
A model for event arguments which relate to a scope of a IPerformance.
public class PerformanceEventArgs : PerformanceScopeEventArgs, IHasPerformanceIdentity
- Inheritance
-
PerformanceEventArgs
- Implements
- Derived
- Inherited Members
Constructors
PerformanceEventArgs(Guid, IReadOnlyList<IdentifierAndName>)
Initialises a new instance of PerformanceEventArgs
public PerformanceEventArgs(Guid performanceIdentity, IReadOnlyList<IdentifierAndName> namingHierarchy)
Parameters
performanceIdentity
GuidThe performance identity
namingHierarchy
IReadOnlyList<IdentifierAndName>The screenplay naming hierarchy
Exceptions
- ArgumentNullException
If the scenario hierarchy is null
Properties
NamingHierarchy
Gets an ordered list of identifiers which indicate the IPerformance's name within an organisational hierarchy.
public IReadOnlyList<IdentifierAndName> NamingHierarchy { get; }
Property Value
Remarks
This hierarchical name has the exact same meaning and corresponds directly to NamingHierarchy.
- See Also