Class CustomUpdateData
Represents a set of custom data, each indexed by a string-key.
Implements
Inherited Members
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public sealed class CustomUpdateData : ICustomUpdateData
Constructors
| Edit this page View SourceCustomUpdateData()
Initializes a new instance of the CustomUpdateData class.
Declaration
public CustomUpdateData()
CustomUpdateData(params (string key, object value)[])
Initializes a new instance of the CustomUpdateData class.
Declaration
public CustomUpdateData(params (string key, object value)[] values)
Parameters
Type | Name | Description |
---|---|---|
(string key, object value)[] | values | A params-list of tuples containing the key (string) and the value of a specific custom-data. |
Properties
| Edit this page View Sourcethis[string]
Gets or sets the value for a specific key.
Declaration
public object? this[string key] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
string | key | The key of the value. |
Property Value
Type | Description |
---|---|
object | The value represented by the specified key. |