Méthode | Description | |
---|---|---|
CalculateHashCode ( string name, bool isNegative, IEnumerable |
Calculates a hashcode for a predicate's parameters Written separately so that it can be used for calculating hashes on predicat caching |
|
CompareTo ( object obj ) : int | ||
Create ( string name ) : |
Create a Predicate
|
|
Create ( string name, bool isNegative ) : |
Create a Predicate
|
|
Equals ( object obj ) : bool |
Is this predicate Equal to another Predicate?
|
|
FindPredicate ( string name, bool isNegative ) : |
Find the Predicate in the Cache
|
|
GetHashCode ( ) : int |
Calculates the predicate's hashcode
|
|
IsComplimentOf ( |
Are the Predicates Negatives of Eachother
|
|
ToString ( ) : string |
String Representation of the Predicate
|
|
Validate ( ) : void |
Marks the predicate as current
|
Méthode | Description | |
---|---|---|
AddPredicate ( |
Adds a Predicate to the current cache
|
|
CalculateHashCode ( |
Calculates a hashcode for a predicate Written separately so that it can be used for calculating hashes on predicat caching |
|
Predicate ( string name ) : System |
Construct a Predicate ie At(Monster,Location)
|
|
Predicate ( string name, bool isNegative ) : System |
Construct a Predicate ie At(Monster,Location)
|
Méthode | Description | |
---|---|---|
InitializeCache ( ) : void |
Initialize the Predicate Cache
|
|
Predicate ( ) : System |
Static Constructor
|
protected static AddPredicate ( |
||
predicate | Predicate to add | |
Résultat | void |
protected static CalculateHashCode ( |
||
predicate | Predicate to evaluate | |
Résultat | int |
public static CalculateHashCode ( string name, bool isNegative, IEnumerable |
||
name | string | Predicate name |
isNegative | bool | Is the predicate negative? |
parameters | IEnumerable |
Predicate parameters |
Résultat | int |
public static Create ( string name ) : |
||
name | string | Name of Predicate |
Résultat |
public static Create ( string name, bool isNegative ) : |
||
name | string | Name of Predicate |
isNegative | bool | Is Negative? |
Résultat |
public static FindPredicate ( string name, bool isNegative ) : |
||
name | string | Name of the Predicate |
isNegative | bool | Is Negated |
Résultat |
public IsComplimentOf ( |
||
predicate | Predicate to Compare | |
Résultat | bool |
protected Predicate ( string name ) : System | ||
name | string | Name of the Predicate |
Résultat | System |
protected Predicate ( string name, bool isNegative ) : System | ||
name | string | Name of the Predicate |
isNegative | bool | Is Negated? |
Résultat | System |