Class DelayAction
[ActionMetadata("Add a latency to the exchange.")]
public class DelayAction : Action
- Inheritance
-
DelayAction
- Inherited Members
Constructors
DelayAction(int)
public DelayAction(int duration)
Parameters
durationint
Properties
ActionScope
public override FilterScope ActionScope { get; }
Property Value
DefaultDescription
public override string DefaultDescription { get; }
Property Value
Duration
public int Duration { get; set; }
Property Value
Scope
public FilterScope Scope { get; set; }
Property Value
Methods
InternalAlter(ExchangeContext, Exchange?, Connection?, FilterScope, BreakPointManager)
public override ValueTask InternalAlter(ExchangeContext context, Exchange? exchange, Connection? connection, FilterScope scope, BreakPointManager breakPointManager)
Parameters
contextExchangeContextexchangeExchangeconnectionConnectionscopeFilterScopebreakPointManagerBreakPointManager