C# Класс Microsoft.CodeAnalysis.Sarif.MultiplyByPrimesHash

Multiply by primes hash calculator.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( int item ) : void

Adds item to the calculated hash.

Add ( object item ) : void

Adds item to the calculated hash.

Equals ( object obj ) : bool

Indicates whether this instance and a specified object are equal.

GetHashCode ( ) : int

Returns the hash code for this instance.

MultiplyByPrimesHash ( ) : System.Collections

Initializes a new instance of the MultiplyByPrimesHash class.

ToString ( ) : string

Returns a human readable string describing this instance.

operator ( ) : bool

Inequality operator.

Приватные методы

Метод Описание
AddRange ( IEnumerable items ) : void
AddRange ( IEnumerable items ) : void
AddRange ( int items ) : void

Описание методов

Add() публичный Метод

Adds item to the calculated hash.
public Add ( int item ) : void
item int The item to add to the calculated hash.
Результат void

Add() публичный Метод

Adds item to the calculated hash.
public Add ( object item ) : void
item object The item to add to the calculated hash. If this parameter is /// null, the effect will be the same as if its /// function returns 0.
Результат void

Equals() публичный Метод

Indicates whether this instance and a specified object are equal.
public Equals ( object obj ) : bool
obj object Another object to compare to.
Результат bool

GetHashCode() публичный Метод

Returns the hash code for this instance.
public GetHashCode ( ) : int
Результат int

MultiplyByPrimesHash() публичный Метод

Initializes a new instance of the MultiplyByPrimesHash class.
public MultiplyByPrimesHash ( ) : System.Collections
Результат System.Collections

ToString() публичный Метод

Returns a human readable string describing this instance.
public ToString ( ) : string
Результат string

operator() публичный статический Метод

Inequality operator.
public static operator ( ) : bool
Результат bool