C# Class Elmah.Assertions.StaticAssertion

An static assertion implementation that always evaluates to a preset value.
Inheritance: IAssertion
显示文件 Open project: elmah/Elmah

Public Properties

Property Type Description
False StaticAssertion
True StaticAssertion

Public Methods

Method Description
Test ( object context ) : bool

Private Methods

Method Description
StaticAssertion ( bool value )

Method Details

Test() public method

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

Property Details

False public_oe static_oe property

public static StaticAssertion,Elmah.Assertions False
return StaticAssertion

True public_oe static_oe property

public static StaticAssertion,Elmah.Assertions True
return StaticAssertion