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(IPerformance)
Initialises a new instance of PerformanceEventArgs
public PerformanceEventArgs(IPerformance performance)
Parameters
performanceIPerformanceThe performance
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
Performance
Gets the IPerformance to which this event relates.
public IPerformance Performance { get; }