C# Class Gnip.Client.Resource.Rule

Inheritance: IResource, IDeepCompare
显示文件 Open project: electromute/gnip-dotnet Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
DeepEquals ( Rule that ) : bool

Determins if this equals that by performing a deep equals looking at all elements of all member listsand objects.

DeepEquals ( object o ) : bool

Determins if this equals that by performing a deep equals looking at all elements of all member lists and objects.

Equals ( object o ) : bool

Determines whether the specified Object is equal to the current Object. Ths performs a shallow equals where any reference types are compared by reference.

GetHashCode ( ) : int

The GetHashCode method is suitable for use in hashing algorithms and data structures such as a hash table.

Rule ( ) : System

Default constructor.

Rule ( RuleType type, string value ) : System

A simple constructor.

Method Details

DeepEquals() public method

Determins if this equals that by performing a deep equals looking at all elements of all member listsand objects.
public DeepEquals ( Rule that ) : bool
that Rule The object to compare for equality.
return bool

DeepEquals() public method

Determins if this equals that by performing a deep equals looking at all elements of all member lists and objects.
public DeepEquals ( object o ) : bool
o object
return bool

Equals() public method

Determines whether the specified Object is equal to the current Object. Ths performs a shallow equals where any reference types are compared by reference.
public Equals ( object o ) : bool
o object the specifies object
return bool

GetHashCode() public method

The GetHashCode method is suitable for use in hashing algorithms and data structures such as a hash table.
public GetHashCode ( ) : int
return int

Rule() public method

Default constructor.
public Rule ( ) : System
return System

Rule() public method

A simple constructor.
public Rule ( RuleType type, string value ) : System
type RuleType the rule type
value string the rule's value
return System