Table of Contents

Class MaaStringListBuffer

Namespace
MaaFramework.Binding.Buffers
Assembly
MaaFramework.Binding.Native.dll

A class providing a reference implementation for Maa String List Buffer section of MaaFramework.Binding.Interop.Native.MaaBuffer.

public class MaaStringListBuffer : MaaListBuffer<nint, MaaStringBuffer>, IMaaListBuffer<nint, MaaStringBuffer>, IMaaListBuffer<MaaStringBuffer>, IList<MaaStringBuffer>, ICollection<MaaStringBuffer>, IEnumerable<MaaStringBuffer>, IEnumerable, IMaaBuffer<nint, IMaaListBuffer<MaaStringBuffer>>, IMaaBuffer<IMaaListBuffer<MaaStringBuffer>>, IMaaDisposableHandle<nint>, IMaaDisposable, IDisposable, IMaaStringListBufferStatic<nint>

Inheritance

Implements

Inherited Members

Constructors

MaaStringListBuffer(nint)

Creates a MaaFramework.Binding.Buffers.MaaStringListBuffer instance.

MaaStringListBuffer()

Creates a MaaFramework.Binding.Buffers.MaaStringListBuffer instance.

Properties

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

ReleaseHandle()

When overridden in a derived class, executes the code required to free the handle.

TryAdd(MaaStringBuffer)

Adds (Copys) an element to the MaaFramework.Binding.Buffers.IMaaListBuffer`1.

TryClear()

Removes all elements from the MaaFramework.Binding.Buffers.IMaaListBuffer`1.

TryCopyTo(nint)

Copies all values of the current buffer to the specified buffer.

TryGetList(nint, out IList<string>)

Gets the string list from a MaaStringListBuffer.

TryGetList(out IList<string>, Func<nint, bool>)

Gets the string list from a function using MaaStringListBuffer.

TryIndexOf(MaaStringBuffer, out ulong)

Attempts to get index of the specified element.

TryRemoveAt(ulong)

Removes the element at the specified index.

TrySetList(nint, IEnumerable<string>)

Sets the string list to a MaaStringListBuffer.

TrySetList(IEnumerable<string>, Func<nint, bool>)

Sets the string list to a function using MaaStringListBuffer.