Search Results for

    Show / Hide Table of Contents

    Class StringSpecificCultureComparerAscending

    Inheritance
    object
    StringSpecificCultureComparerAscending
    Implements
    IRefComparer<string>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tenray.ZoneTree.Comparers
    Assembly: ZoneTree.dll
    Syntax
    public sealed class StringSpecificCultureComparerAscending : IRefComparer<string>

    Constructors

    | Improve this Doc View Source

    StringSpecificCultureComparerAscending(string, bool)

    Declaration
    public StringSpecificCultureComparerAscending(string culture, bool ignoreCase)
    Parameters
    Type Name Description
    string culture
    bool ignoreCase

    Fields

    | Improve this Doc View Source

    CultureInfo

    Declaration
    public readonly CultureInfo CultureInfo
    Field Value
    Type Description
    CultureInfo
    | Improve this Doc View Source

    IgnoreCase

    Declaration
    public readonly bool IgnoreCase
    Field Value
    Type Description
    bool

    Methods

    | Improve this Doc View Source

    Compare(in string, in string)

    Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

    Declaration
    public int Compare(in string x, in string y)
    Parameters
    Type Name Description
    string x

    The first key

    string y

    The second key

    Returns
    Type Description
    int

    -1 (x < y), 0 (x == y) or 1 (x > y)

    Implements

    IRefComparer<TKey>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 Tenray.io