Interface IReadOnlyOscParameterCollection
Represents a read-only collection of OSC parameters.
public interface IReadOnlyOscParameterCollection : IReadOnlyDictionary<string, object?>, IReadOnlyCollection<KeyValuePair<string, object?>>, IEnumerable<KeyValuePair<string, object?>>, IEnumerable
- Inherited Members
Methods
AddValueChangedEventByAddress(string, OscParameterChangedEventHandler<IReadOnlyOscParameterCollection>)
Adds an event handler to the collection that is invoked when the value of the parameter with the specified OSC address changes.
void AddValueChangedEventByAddress(string address, OscParameterChangedEventHandler<IReadOnlyOscParameterCollection> handler)
Parameters
address
stringThe OSC address of the parameter to listen for value changes on.
handler
OscParameterChangedEventHandler<IReadOnlyOscParameterCollection>The event handler to add.
RemoveValueChangedEventByAddress(string, OscParameterChangedEventHandler<IReadOnlyOscParameterCollection>)
Removes an event handler to the collection that is invoked when the value of the parameter with the specified OSC address changes.
bool RemoveValueChangedEventByAddress(string address, OscParameterChangedEventHandler<IReadOnlyOscParameterCollection> handler)
Parameters
address
stringThe OSC address of the parameter to listen for value changes on.
handler
OscParameterChangedEventHandler<IReadOnlyOscParameterCollection>The event handler to remove.
Returns
Events
ValueChanged
Occurs when a value in the collection changes.
event OscParameterChangedEventHandler<IReadOnlyOscParameterCollection>? ValueChanged