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(Actor, object)

Initializes a new instance of GainAbilityEventArgs.

public GainAbilityEventArgs(Actor actor, object ability)

Parameters

actor Actor

The actor

ability object

The ability

Properties

Ability

Gets the ability which the actor has gained

public object Ability { get; }

Property Value

object