Table of Contents

Struct AggregateItem<TObject>

Namespace
DynamicData.Aggregation
Assembly
DynamicData.dll

An object representing added and removed items in a continuous aggregation stream.

public readonly struct AggregateItem<TObject> : IEquatable<AggregateItem<TObject>>

Type Parameters

TObject

The type of the object.

Implements
Inherited Members

Remarks

Initializes a new instance of the AggregateItem<TObject> struct.

Constructors

AggregateItem(AggregateType, TObject)

An object representing added and removed items in a continuous aggregation stream.

public AggregateItem(AggregateType type, TObject item)

Parameters

type AggregateType

The type.

item TObject

The item.

Remarks

Initializes a new instance of the AggregateItem<TObject> struct.

Properties

Item

Gets the item.

public TObject Item { get; }

Property Value

TObject

Type

Gets the type.

public AggregateType Type { get; }

Property Value

AggregateType

Methods

Equals(AggregateItem<TObject>)

public bool Equals(AggregateItem<TObject> other)

Parameters

other AggregateItem<TObject>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(in AggregateItem<TObject>, in AggregateItem<TObject>)

public static bool operator ==(in AggregateItem<TObject> left, in AggregateItem<TObject> right)

Parameters

left AggregateItem<TObject>
right AggregateItem<TObject>

Returns

bool

operator !=(in AggregateItem<TObject>, in AggregateItem<TObject>)

public static bool operator !=(in AggregateItem<TObject> left, in AggregateItem<TObject> right)

Parameters

left AggregateItem<TObject>
right AggregateItem<TObject>

Returns

bool