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>, IMaaBuffer<IMaaListBuffer<MaaStringBuffer>>, IList<MaaStringBuffer>, ICollection<MaaStringBuffer>, IEnumerable<MaaStringBuffer>, IEnumerable, IMaaDisposableHandle<nint>, IMaaDisposable, IDisposable

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

Add(MaaStringBuffer)

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

Clear()

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

Get(nint)

Gets a string list from a MaaStringListBufferHandle.

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

Gets a string list from a MaaStringListBufferHandle.

ReleaseHandle()

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

RemoveAt(ulong)

Removes the element at the specified index.

Set(nint, IEnumerable<string>)

Sets a string list to a MaaStringListBufferHandle.

Set(IEnumerable<string>, Func<nint, bool>)
Sets a string <code class="paramref">list</code> to a MaaStringListBufferHandle,

then calls a func to use the MaaStringListBufferHandle.

TryIndexOf(MaaStringBuffer, out ulong)

Attempts to get index of the specified element.