Class FirebirdIdentifierComparer
A custom IEqualityComparer<T> for Firebird identifiers
Implements
Inherited Members
Namespace: FluentMigrator.Runner.Processors.Firebird
Assembly: FluentMigrator.Runner.Firebird.dll
Syntax
public class FirebirdIdentifierComparer : IEqualityComparer<string>
Constructors
| Edit this page View SourceFirebirdIdentifierComparer(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
| Edit this page View SourceEquals(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 |
string | y | The second object of type |
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 |