Table of Contents

Class HistoryCollection

Namespace
Shift.Sdk.UI
Assembly
Shift.Sdk.dll
public class HistoryCollection : IReadOnlyCollection<HistoryEntity>, IEnumerable<HistoryEntity>, IEnumerable
Inheritance
HistoryCollection
Implements
Inherited Members
Extension Methods

Constructors

HistoryCollection(int)

public HistoryCollection(int maxTimeInterval = 1000)

Parameters

maxTimeInterval int

Properties

Count

public int Count { get; }

Property Value

int

First

public HistoryEntity First { get; }

Property Value

HistoryEntity

Methods

Add(HistoryEntity)

public HistoryEntity Add(HistoryEntity entity)

Parameters

entity HistoryEntity

Returns

HistoryEntity

Add(DateTime, string, string)

public HistoryEntity Add(DateTime when, string who, string what)

Parameters

when DateTime
who string
what string

Returns

HistoryEntity

AddRange(IEnumerable<HistoryEntity>)

public void AddRange(IEnumerable<HistoryEntity> enumerable)

Parameters

enumerable IEnumerable<HistoryEntity>

GetEnumerator()

public IEnumerator<HistoryEntity> GetEnumerator()

Returns

IEnumerator<HistoryEntity>