C# Class Elmah.Assertions.LogicalAssertion

Inheritance: Elmah.Assertions.CompositeAssertion
显示文件 Open project: elmah/Elmah Class Usage Examples

Public Methods

Method Description
LogicalAnd ( IAssertion operands ) : LogicalAssertion
LogicalNot ( IAssertion operands ) : LogicalAssertion
LogicalOr ( IAssertion operands ) : LogicalAssertion
Test ( object context ) : bool

Private Methods

Method Description
LogicalAssertion ( IEnumerable assertions, bool not, bool all ) : System

Method Details

LogicalAnd() public static method

public static LogicalAnd ( IAssertion operands ) : LogicalAssertion
operands IAssertion
return LogicalAssertion

LogicalNot() public static method

public static LogicalNot ( IAssertion operands ) : LogicalAssertion
operands IAssertion
return LogicalAssertion

LogicalOr() public static method

public static LogicalOr ( IAssertion operands ) : LogicalAssertion
operands IAssertion
return LogicalAssertion

Test() public method

public Test ( object context ) : bool
context object
return bool