C# Class NServiceBus.BestPracticesOptionExtensions

Provides options for disabling the best practice enforcement.
Show file Open project: Particular/NServiceBus

Public Methods

Method Description
DoNotEnforceBestPractices ( this options ) : void

Turns off the best practice enforcement for the given message.

IgnoredBestPractices ( this options ) : bool

Returns whether DoNotEnforceBestPractices(NServiceBus.Extensibility.ExtendableOptions) has ben called or not.

Private Methods

Method Description
SetDoNotEnforceBestPractices ( this context ) : void

Method Details

DoNotEnforceBestPractices() public static method

Turns off the best practice enforcement for the given message.
public static DoNotEnforceBestPractices ( this options ) : void
options this
return void

IgnoredBestPractices() public static method

Returns whether DoNotEnforceBestPractices(NServiceBus.Extensibility.ExtendableOptions) has ben called or not.
public static IgnoredBestPractices ( this options ) : bool
options this
return bool