Class MaaListBuffer<THandle, T>
- Namespace
- MaaFramework.Binding.Buffers
- Assembly
- MaaFramework.Binding.dll
An abstract class providing a reference implementation for MaaListBuffer.
public abstract class MaaListBuffer<THandle, T> : MaaDisposableHandle<THandle>, IMaaListBuffer<THandle, T>, IMaaListBuffer<T>, IMaaBuffer<IMaaListBuffer<T>>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IMaaDisposableHandle<THandle>, IMaaDisposable, IDisposable where THandle : IEquatable<THandle>
Type Parameters
THandle
T
Inheritance
Implements
Inherited Members
Constructors
- MaaListBuffer(THandle)
-
An abstract class providing a reference implementation for MaaListBuffer.
Properties
- Count
-
Gets the number of elements contained in the System.Collections.Generic.ICollection`1.
- IsEmpty
-
Gets a value indicates whether the MaaFramework.Binding.Buffers.IMaaListBuffer`1 is empty.
- IsReadOnly
-
Gets a value indicating whether the System.Collections.Generic.ICollection`1 is read-only.
- MaaSizeCount
-
Gets the number of elements contained in the MaaFramework.Binding.Buffers.IMaaListBuffer`1.
- this[ulong]
-
Gets the element at the specified index.
Methods
- Add(T)
-
Adds an element to the MaaFramework.Binding.Buffers.IMaaListBuffer`1.
- Clear()
-
Removes all elements from the MaaFramework.Binding.Buffers.IMaaListBuffer`1.
- Contains(T)
-
Determines whether the System.Collections.Generic.ICollection`1 contains a specific value.
- CopyTo(IMaaListBuffer<T>)
-
Copies all values of the current buffer to the specified buffer.
- CopyTo(T[], int)
-
Copies the elements of the System.Collections.Generic.ICollection`1 to an System.Array, starting at a particular System.Array index.
- GetEnumerator()
-
Returns an enumerator that iterates through the collection.
- IndexOf(T)
-
Determines the index of a specific item in the System.Collections.Generic.IList`1.
- Remove(T)
-
Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection`1.
- RemoveAt(ulong)
-
Removes the element at the specified index.
- TryIndexOf(T, out ulong)
-
Attempts to get index of the specified element.