Class PerformableResultEventArgs
- Namespace
- CSF.Screenplay.Actors
- Assembly
- CSF.Screenplay.Abstractions.dll
A specialisation of PerformableEventArgs which describe a scenario in which the performable completed and has returned a result value.
public class PerformableResultEventArgs : PerformableEventArgs, IHasPerformanceIdentity
- Inheritance
-
PerformableResultEventArgs
- Implements
- Inherited Members
Constructors
PerformableResultEventArgs(string, Guid, object, object, PerformancePhase)
Initializes a new instance of PerformableResultEventArgs.
public PerformableResultEventArgs(string actorName, Guid performanceIdentity, object performable, object result, PerformancePhase phase = PerformancePhase.Unspecified)
Parameters
actorName
stringThe actor's name
performanceIdentity
GuidThe actor's performance identity
performable
objectThe performable item
result
objectThe result from the performable
phase
PerformancePhaseThe phase of performance
Properties
Result
Gets the result value which was returned by the performable
public object Result { get; }