Table of Contents

Class GainAbilityEventArgs

Namespace
CSF.Screenplay.Actors
Assembly
CSF.Screenplay.Abstractions.dll

A model for event arguments which relate to an actor gaining a new ability.

public class GainAbilityEventArgs : ActorEventArgs, IHasPerformanceIdentity
Inheritance
GainAbilityEventArgs
Implements
Inherited Members

Constructors

GainAbilityEventArgs(string, Guid, object)

Initializes a new instance of GainAbilityEventArgs.

public GainAbilityEventArgs(string actorName, Guid performanceIdentity, object ability)

Parameters

actorName string

The actor's name

performanceIdentity Guid

The actor's performance identity

ability object

The ability

Properties

Ability

Gets the ability which the actor has gained

public object Ability { get; }

Property Value

object