C# 클래스 Hudl.Mjolnir.Command.CommandContext

Handles some dependency injection and configuration for Mjolnir.
파일 보기 프로젝트 열기: hudl/Mjolnir

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
IgnoreExceptions ( HashSet types ) : void

Ignored exception types won't count toward breakers tripping or other error counters. Useful for things like validation, where the system isn't having any problems and the caller needs to validate before invoking. This list is most applicable when using [Command] attributes, since extending Command offers the ability to catch these types specifically within Execute() - though there may still be some benefit in extended Commands for validation-like situations where throwing is still desired.

메소드 상세

IgnoreExceptions() 공개 정적인 메소드

Ignored exception types won't count toward breakers tripping or other error counters. Useful for things like validation, where the system isn't having any problems and the caller needs to validate before invoking. This list is most applicable when using [Command] attributes, since extending Command offers the ability to catch these types specifically within Execute() - though there may still be some benefit in extended Commands for validation-like situations where throwing is still desired.
public static IgnoreExceptions ( HashSet types ) : void
types HashSet
리턴 void