Interface IMetadataTableBuffer<TRow>
- Namespace
- AsmResolver.DotNet.Builder.Metadata
- Assembly
- AsmResolver.DotNet.dll
Provides members for constructing a new metadata table.
public interface IMetadataTableBuffer<TRow> : IMetadataTableBuffer where TRow : struct, IMetadataRow
Type Parameters
TRowThe type of rows the table stores.
- Inherited Members
Properties
this[uint]
Gets or sets a row in the metadata table.
TRow this[uint rid] { get; set; }
Parameters
riduintThe identifier of the metadata row.
Property Value
- TRow
Methods
EnsureCapacity(int)
Ensures the capacity of the table buffer is at least the provided amount of elements.
void EnsureCapacity(int capacity)
Parameters
capacityintThe number of elements to store.
GetRowRef(uint)
Gets or sets a reference to a row in the metadata table.
ref TRow GetRowRef(uint rid)
Parameters
riduintThe identifier of the metadata row.
Returns
- TRow