Interface IShieldDecorator

Namespace
Kevlar
Assembly
Kevlar.dll

Decorates shields created by dependency-injection and HTTP integrations.

public interface IShieldDecorator

Methods

Decorate(Shield, string?)

Decorates an untyped shield.

Shield Decorate(Shield shield, string? name)

Parameters

shield Shield
name string

Returns

Shield

Decorate<TResult>(Shield<TResult>, string?)

Decorates a result-aware shield.

Shield<TResult> Decorate<TResult>(Shield<TResult> shield, string? name)

Parameters

shield Shield<TResult>
name string

Returns

Shield<TResult>

Type Parameters

TResult