Table of Contents

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 IPerformance

The performance

scope IServiceScope

The scope

Exceptions

ArgumentNullException

If any parameter is null.

Properties

Performance

Gets the performance.

public IPerformance Performance { get; }

Property Value

IPerformance

Scope

Gets the DI scope.

public IServiceScope Scope { get; }

Property Value

IServiceScope

Methods

Dispose()

public void Dispose()