Table of Contents

Class PersonComparer

Namespace
InSite.Domain.Contacts
Assembly
Shift.Sdk.dll
public static class PersonComparer
Inheritance
PersonComparer
Inherited Members

Methods

CompareAddressFields(PersonAddress, PersonAddress)

public static PersonComparer.AddressFieldDifference[] CompareAddressFields(PersonAddress address1, PersonAddress address2)

Parameters

address1 PersonAddress
address2 PersonAddress

Returns

AddressFieldDifference[]

CompareCommentFields(PersonComment, PersonComment)

public static PersonComparer.CommentFieldDifference[] CompareCommentFields(PersonComment comment1, PersonComment comment2)

Parameters

comment1 PersonComment
comment2 PersonComment

Returns

CommentFieldDifference[]

CompareCommentFields(Guid, Dictionary<Guid, PersonComment>, Dictionary<Guid, PersonComment>)

public static PersonComparer.CommentDifference[] CompareCommentFields(Guid ownerId, Dictionary<Guid, PersonComment> comments1, Dictionary<Guid, PersonComment> comments2)

Parameters

ownerId Guid
comments1 Dictionary<Guid, PersonComment>
comments2 Dictionary<Guid, PersonComment>

Returns

CommentDifference[]

CompareStateFields(PersonState, PersonState)

public static PersonComparer.StateFieldDifference[] CompareStateFields(PersonState state1, PersonState state2)

Parameters

state1 PersonState
state2 PersonState

Returns

StateFieldDifference[]