C# Class Machine.Specifications.Result

显示文件 Open project: machine/machine.specifications Class Usage Examples

Public Methods

Method Description
ContextFailure ( Exception exception ) : Result
Failure ( Exception exception ) : Result
GetSupplement ( string name ) : string>.IDictionary
HasSupplement ( string name ) : bool
Ignored ( ) : Result
NotImplemented ( ) : Result
Pass ( ) : Result
Supplement ( Result result, string supplementName, string>.IDictionary supplement ) : Result

Private Methods

Method Description
Result ( Exception exception ) : System
Result ( Result result, string supplementName, string>.IDictionary supplement ) : System
Result ( Status status ) : System

Method Details

ContextFailure() public static method

public static ContextFailure ( Exception exception ) : Result
exception System.Exception
return Result

Failure() public static method

public static Failure ( Exception exception ) : Result
exception System.Exception
return Result

GetSupplement() public method

public GetSupplement ( string name ) : string>.IDictionary
name string
return string>.IDictionary

HasSupplement() public method

public HasSupplement ( string name ) : bool
name string
return bool

Ignored() public static method

public static Ignored ( ) : Result
return Result

NotImplemented() public static method

public static NotImplemented ( ) : Result
return Result

Pass() public static method

public static Pass ( ) : Result
return Result

Supplement() public static method

public static Supplement ( Result result, string supplementName, string>.IDictionary supplement ) : Result
result Result
supplementName string
supplement string>.IDictionary
return Result