C# Class NetMud.Data.System.LookupCriteria

Inheritance: ILookupCriteria
Datei anzeigen Open project: SwiftAusterity/NetMud Class Usage Examples

Private Properties

Property Type Description
LookupCriteria System

Public Methods

Method Description
CompareTo ( ILookupCriteria other ) : int

-99 = null input -1 = Matches none 0 = Matches some 1 = matches all

Equals ( ILookupCriteria other ) : bool

Compares this object to another one to see if they are the same object

LookupCriteria ( ) : System

Instansiate with empty list of criteria

LookupCriteria ( string jsonString ) : System

Instansiate by deserializing the criteria from json

ToString ( ) : string

Overriding this to make the json converter work right

Private Methods

Method Description
LookupCriteria ( string>.Dictionary criteria ) : System

Method Details

CompareTo() public method

-99 = null input -1 = Matches none 0 = Matches some 1 = matches all
public CompareTo ( ILookupCriteria other ) : int
other ILookupCriteria
return int

Equals() public method

Compares this object to another one to see if they are the same object
public Equals ( ILookupCriteria other ) : bool
other ILookupCriteria the object to compare to
return bool

LookupCriteria() public method

Instansiate with empty list of criteria
public LookupCriteria ( ) : System
return System

LookupCriteria() public method

Instansiate by deserializing the criteria from json
public LookupCriteria ( string jsonString ) : System
jsonString string
return System

ToString() public method

Overriding this to make the json converter work right
public ToString ( ) : string
return string