Class History<T>
Assembly: cs.temp.dll.dll
Syntax
public class History<T> : IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Constructors
History()
Declaration
History(IEnumerable<T>)
Declaration
public History(IEnumerable<T> entries)
Parameters
Properties
Count
Declaration
public int Count { get; }
Property Value
Methods
Clear()
Declaration
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Peek()
Declaration
Returns
Pop()
Declaration
Returns
Push(T)
Declaration
public void Push(T entry)
Parameters
Type |
Name |
Description |
T |
entry |
|
TryPeek(out T)
Declaration
public bool TryPeek(out T result)
Parameters
Type |
Name |
Description |
T |
result |
|
Returns
TryPop(out T)
Declaration
public bool TryPop(out T result)
Parameters
Type |
Name |
Description |
T |
result |
|
Returns