Table of Contents

Interface IMergeable<T>

Namespace
NanoByte.Common.Dispatch
Assembly
NanoByte.Common.dll

An equatable element that can be merged using 3-way merging.

public interface IMergeable<T>

Type Parameters

T

The type the interface is being applied to.

Extension Methods

Properties

MergeID

A unique identifier used when comparing for merging. Should always remain the same, even when the element is modified.

[Browsable(false)]
string MergeID { get; }

Property Value

string

Timestamp

The time this element was last modified. This is used to determine precedence with sync conflicts.

[Browsable(false)]
DateTime Timestamp { get; }

Property Value

DateTime

Remarks

This value should be ignored by clone and equality methods.