Search Results for

    Show / Hide Table of Contents

    Class FirebirdIdentifierComparer

    A custom IEqualityComparer<T> for Firebird identifiers

    Inheritance
    object
    FirebirdIdentifierComparer
    Implements
    IEqualityComparer<string>
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Runner.Processors.Firebird
    Assembly: FluentMigrator.Runner.Firebird.dll
    Syntax
    public class FirebirdIdentifierComparer : IEqualityComparer<string>

    Constructors

    FirebirdIdentifierComparer(IQuoter)

    Initializes a new instance of the FirebirdIdentifierComparer class.

    Declaration
    public FirebirdIdentifierComparer(IQuoter quoter)
    Parameters
    Type Name Description
    IQuoter quoter

    The quoted used to unquote the quoted identifiers

    Methods

    Equals(string, string)

    Determines whether the specified objects are equal.

    Declaration
    public bool Equals(string x, string y)
    Parameters
    Type Name Description
    string x

    The first object of type T to compare.

    string y

    The second object of type T to compare.

    Returns
    Type Description
    bool

    true if the specified objects are equal; otherwise, false.

    GetHashCode(string)

    Returns a hash code for the specified object.

    Declaration
    public int GetHashCode(string obj)
    Parameters
    Type Name Description
    string obj

    The object for which a hash code is to be returned.

    Returns
    Type Description
    int

    A hash code for the specified object.

    Exceptions
    Type Condition
    ArgumentNullException

    The type of obj is a reference type and obj is null.

    Implements

    IEqualityComparer<T>
    In this article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.