C# Class Strilanc.Value.MayNoValue

显示文件 Open project: Strilanc/May

Private Properties

Property Type Description

Public Methods

Method Description
Equals ( IMayHaveValue other ) : bool

Determines if the given potential value contains no value.

Equals ( object obj ) : bool

Determines if the given object is a potential value containing no value.

GetHashCode ( ) : int

Returns the hash code for a lack of potential value.

ToString ( ) : string

Returns a string representation of this lack of value.

operator ( ) : bool

Determines if two lack of values are not equal (they're not).

Method Details

Equals() public method

Determines if the given potential value contains no value.
public Equals ( IMayHaveValue other ) : bool
other IMayHaveValue
return bool

Equals() public method

Determines if the given object is a potential value containing no value.
public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

Returns the hash code for a lack of potential value.
public GetHashCode ( ) : int
return int

ToString() public method

Returns a string representation of this lack of value.
public ToString ( ) : string
return string

operator() public static method

Determines if two lack of values are not equal (they're not).
public static operator ( ) : bool
return bool