Table of Contents

Class ChangeSet<TObject, TKey, TContext>

Namespace
DynamicData
Assembly
DynamicData.dll

A collection of changes with some arbitrary additional context.

public sealed class ChangeSet<TObject, TKey, TContext> : ChangeSet<TObject, TKey>, IList<Change<TObject, TKey>>, ICollection<Change<TObject, TKey>>, IList, ICollection, IReadOnlyList<Change<TObject, TKey>>, IReadOnlyCollection<Change<TObject, TKey>>, IChangeSet<TObject, TKey, TContext>, IChangeSet<TObject, TKey>, IChangeSet, IEnumerable<Change<TObject, TKey>>, IEnumerable where TObject : notnull where TKey : notnull

Type Parameters

TObject

The type of the object.

TKey

The type of the key.

TContext

The additional context.

Inheritance
List<Change<TObject, TKey>>
ChangeSet<TObject, TKey>
ChangeSet<TObject, TKey, TContext>
Implements
IList<Change<TObject, TKey>>
ICollection<Change<TObject, TKey>>
IReadOnlyList<Change<TObject, TKey>>
IReadOnlyCollection<Change<TObject, TKey>>
IChangeSet<TObject, TKey, TContext>
IChangeSet<TObject, TKey>
IEnumerable<Change<TObject, TKey>>
Inherited Members
Extension Methods

Constructors

ChangeSet(IEnumerable<Change<TObject, TKey>>, TContext)

Initializes a new instance of the ChangeSet<TObject, TKey, TContext> class.

public ChangeSet(IEnumerable<Change<TObject, TKey>> collection, TContext context)

Parameters

collection IEnumerable<Change<TObject, TKey>>

The collection of items to start the change set with.

context TContext

The additional context.

ChangeSet(int, TContext)

Initializes a new instance of the ChangeSet<TObject, TKey, TContext> class.

public ChangeSet(int capacity, TContext context)

Parameters

capacity int

The initial capacity of the change set.

context TContext

The additional context.

ChangeSet(TContext)

Initializes a new instance of the ChangeSet<TObject, TKey, TContext> class.

public ChangeSet(TContext context)

Parameters

context TContext

The additional context.

Properties

Context

Additional context.

public TContext Context { get; }

Property Value

TContext