Skip to content

CategoryRef

public sealed class CategoryRef

Namespace Clipwise.Api

Fluent handle to a declared category. Every Item call lands in it, so the source and category key are stated once.

public string Source { get; }

The registering mod’s reverse-DNS id.

public string Id { get; }

The category’s id within Source.

public string Key { get; }

The canonical "source:id" key this category is addressed by.

public CategoryRef Item(
string id,
string itemId,
string[] tags = null,
int sortOrder = 0,
string sortKey = null,
string description = null,
int precedence = 0)

Place an item in this category. See RegisterItem for the parameters.