Class ScopeAndPerformance
- Namespace
- CSF.Screenplay
- Assembly
- CSF.Screenplay.dll
A model which contains both an IPerformance and a dependency injection IServiceScope.
public sealed class ScopeAndPerformance : IDisposable
- Inheritance
-
ScopeAndPerformance
- Implements
- Inherited Members
Constructors
ScopeAndPerformance(IPerformance, IServiceScope)
Initialises a new instance of ScopeAndPerformance.
public ScopeAndPerformance(IPerformance performance, IServiceScope scope)
Parameters
performance
IPerformanceThe performance
scope
IServiceScopeThe scope
Exceptions
- ArgumentNullException
If any parameter is null.
Properties
Performance
Gets the performance.
public IPerformance Performance { get; }
Property Value
Scope
Gets the DI scope.
public IServiceScope Scope { get; }
Property Value
Methods
Dispose()
public void Dispose()