Table of Contents

Class MetaData

Namespace
ModMenu.Views
Assembly
ModMenu.dll

Holds search metadata.

public class MetaData
Inheritance
MetaData
Inherited Members

Constructors

MetaData()

Initializes a blank metadata.

public MetaData()

MetaData(IList<string>, string)

Initializes metadata from a variety of tags.

Optionally, you can also provide a description which will be displayed in a tooltip.

public MetaData(IList<string> tags, string description = null)

Parameters

tags IList<string>

The tags to use

description string

A description for the metadata

Methods

Add(IList<string>)

Adds more tags to the metadata.

public void Add(IList<string> tags)

Parameters

tags IList<string>

The tags to add

Add(string)

Adds another tag to the metadata.

public void Add(string tag)

Parameters

tag string

The tag to add

SetDescription(string)

Sets the description of this metadata (displayed in a tooltip).

public void SetDescription(string description)

Parameters

description string

The description to set