Show / Hide Table of Contents

    Class StructUtilityExtensions

    This is an extension implementation of the most common methods on the StructUtility class.

    Inheritance
    System.Object
    StructUtilityExtensions
    Namespace: Cuemon
    Assembly: Cuemon.Core.dll
    Syntax
    public static class StructUtilityExtensions

    Methods

    | Improve this Doc

    GetHashCode32<T>(IEnumerable<T>)

    Computes a suitable hash code from the specified sequence of convertibles.

    Declaration
    public static int GetHashCode32<T>(this IEnumerable<T> convertibles)
        where T : struct, IConvertible
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<T> convertibles

    A sequence of structs implementing the System.IConvertible interface.

    Returns
    Type Description
    System.Int32

    A 32-bit signed integer that is the hash code of convertibles.

    Type Parameters
    Name Description
    T
    Exceptions
    Type Condition
    System.ArgumentNullException

    convertibles is null.

    | Improve this Doc

    GetHashCode64<T>(IEnumerable<T>)

    Computes a suitable hash code from the specified sequence of convertibles.

    Declaration
    public static long GetHashCode64<T>(this IEnumerable<T> convertibles)
        where T : struct, IConvertible
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<T> convertibles

    A sequence of structs implementing the System.IConvertible interface.

    Returns
    Type Description
    System.Int64

    A 64-bit signed integer that is the hash code of convertibles.

    Type Parameters
    Name Description
    T
    Exceptions
    Type Condition
    System.ArgumentNullException

    convertibles is null.

    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX