A generic ring-buffer, that presents its item collection as last-in at the index 0 (start), and older items at subsequent indexes (end).
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public class ObservableBackwardsRingBuffer<T> : INotifyCollectionChanged, IEnumerable<T>, IEnumerable
Public Class ObservableBackwardsRingBuffer(Of T) Implements INotifyCollectionChanged, IEnumerable(Of T), IEnumerable
generic<typename T> public ref class ObservableBackwardsRingBuffer : INotifyCollectionChanged, IEnumerable<T>, IEnumerable
type ObservableBackwardsRingBuffer<'T> = class interface INotifyCollectionChanged interface IEnumerable<'T> interface IEnumerable end
Generic Template Parameters
- T
[Missing <typeparam name="T"/> documentation for "T:Keyoti.RapidFindReplace.WPF.ObservableBackwardsRingBuffer`1"]
Members
All Members | Constructors | Methods | Properties | Events | |
Icon | Member | Description |
---|---|---|
ObservableBackwardsRingBuffer<(Of <(<'T>)>)>(Int32) |
New
| |
AddItem(T) |
Adds an item to the ring-buffer
| |
Capacity |
Capacity
| |
CollectionChanged |
Event when the collection changes.
| |
Count |
Number of items in the collection
| |
Equals(Object) | (Inherited from Object.) | |
Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator()()()() |
Gets an enumerator
| |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveStartItem()()()() |
Removes item at index 0.
| |
Resize(Int32) |
Resizes the ring buffer.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
Inheritance Hierarchy
Object | |
ObservableBackwardsRingBuffer<(Of <(<'T>)>)> |
Assembly: Keyoti4.RapidFindReplace.WPF (Module: Keyoti4.RapidFindReplace.WPF.dll) Version: 1.0.14.531 (1.0.14.531)