Table of Contents

Class FieldDefinitionBaseEqualityComparer

Namespace
Dynamicweb.Indexing.Schemas
Assembly
Dynamicweb.Indexing.dll
Field definition comparer
public class FieldDefinitionBaseEqualityComparer : IEqualityComparer<FieldDefinitionBase>
Inheritance
FieldDefinitionBaseEqualityComparer
Implements
Inherited Members

Methods

Equals(FieldDefinitionBase, FieldDefinitionBase)

Shows if two instances of FieldDefinitionBse objects have the same SystemName
public bool Equals(FieldDefinitionBase x, FieldDefinitionBase y)

Parameters

x FieldDefinitionBase
First FieldDefinitionBase object
y FieldDefinitionBase
Second FieldDefinitionBase object

Returns

bool
True if SystemName of both instances are the same

GetHashCode(FieldDefinitionBase)

Returns hash code of FieldDefinitionBase object instance SystemName
public int GetHashCode(FieldDefinitionBase obj)

Parameters

obj FieldDefinitionBase
Instance of FieldDefinitionBase

Returns

int
Hash code of object instance SystemName
To top