C# Class Mvp.Xml.Common.XPath.XPathVariable

Represents a variable to use in dynamic XPath expression queries.
Author: Daniel Cazzulino, blog
Mostrar archivo Open project: Monobjc/monobjc-tools Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

Checks equality of two variables. They are equal if both their Name and their Value are equal.

GetHashCode ( ) : int

See Object.GetHashCode.

XPathVariable ( string name, object value ) : System

Initializes the new variable.

operator ( ) : bool

Checks equality of two variables. They are not equal if both their Name and their Value are different.

Method Details

Equals() public method

Checks equality of two variables. They are equal if both their Name and their Value are equal.
public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

See Object.GetHashCode.
public GetHashCode ( ) : int
return int

XPathVariable() public method

Initializes the new variable.
public XPathVariable ( string name, object value ) : System
name string The name to assign to the variable.
value object The variable value.
return System

operator() public static method

Checks equality of two variables. They are not equal if both their Name and their Value are different.
public static operator ( ) : bool
return bool