Loading...
Searching...
No Matches
realvirtual.SignalMetadata Class Reference
Generic metadata container for signals providing key-value storage for interface configuration. More...
Public Member Functions | |
| T | Get< T > (string key, T defaultValue=default(T)) |
| Get metadata value with automatic type conversion. | |
| void | Set (string key, object value) |
| Set metadata value for the specified key. | |
| bool | Has (string key) |
| Check if metadata key exists in the container. | |
| void | Remove (string key) |
| Remove metadata key and its value from the container. | |
| IEnumerable< string > | GetKeys () |
| Get all available metadata keys. | |
Public Attributes | |
| List< SignalMetadataEntry > | Metadata |
| List of metadata entries visible in Unity Inspector. | |
Detailed Description
Generic metadata container for signals providing key-value storage for interface configuration.
Member Function Documentation
◆ Get< T >()
| T realvirtual.SignalMetadata.Get< T > | ( | string | key, |
| T | defaultValue = default(T) |
||
| ) |
Get metadata value with automatic type conversion.
◆ GetKeys()
| IEnumerable< string > realvirtual.SignalMetadata.GetKeys | ( | ) |
Get all available metadata keys.
◆ Has()
| bool realvirtual.SignalMetadata.Has | ( | string | key | ) |
Check if metadata key exists in the container.
◆ Remove()
| void realvirtual.SignalMetadata.Remove | ( | string | key | ) |
Remove metadata key and its value from the container.
◆ Set()
| void realvirtual.SignalMetadata.Set | ( | string | key, |
| object | value | ||
| ) |
Set metadata value for the specified key.
Member Data Documentation
◆ Metadata
| List<SignalMetadataEntry> realvirtual.SignalMetadata.Metadata |
List of metadata entries visible in Unity Inspector.