Table of Contents

Constructor Metadata

Namespace
LMKit.Data
Assembly
LM-Kit.NET.dll

Metadata(string, string)

Initializes a new instance of the Metadata class with the specified key and value.

public Metadata(string key, string value)

Parameters

key string

The key that identifies this metadata entry. It must not be null or empty.

value string

The value associated with the key. It must not be null.

Exceptions

ArgumentNullException

Thrown if either key or value is null, as both are essential for a valid metadata entry.

ArgumentException

Thrown if key is empty, since a key is required to meaningfully identify a metadata entry.