C# Class Octopus.Client.Util.HashCodeCombiner

Hash code creator, based on the original NuGet hash code combiner/ASP hash code combiner implementations
Show file Open project: OctopusDeploy/Octo.exe

Public Methods

Method Description
AddInt32 ( int i ) : HashCodeCombiner
AddObject ( bool b ) : HashCodeCombiner
AddObject ( int i ) : HashCodeCombiner
AddObject ( object o ) : HashCodeCombiner
GetHashCode ( ) : int

Create a unique hash code for the given set of items

HashCodeCombiner ( ) : System

Method Details

AddInt32() public method

public AddInt32 ( int i ) : HashCodeCombiner
i int
return HashCodeCombiner

AddObject() public method

public AddObject ( bool b ) : HashCodeCombiner
b bool
return HashCodeCombiner

AddObject() public method

public AddObject ( int i ) : HashCodeCombiner
i int
return HashCodeCombiner

AddObject() public method

public AddObject ( object o ) : HashCodeCombiner
o object
return HashCodeCombiner

GetHashCode() public static method

Create a unique hash code for the given set of items
public static GetHashCode ( ) : int
return int

HashCodeCombiner() public method

public HashCodeCombiner ( ) : System
return System