ISystemPropertiesDataSource
Interface for reading and writing system property values.
Namespace: ControlBee.Interfaces
Methods
GetValue
Retrieves a property value.
object? GetValue(string actorName, string itemPath, string propertyName);
object? GetValue(string actorName, string propertyPath);
object? GetValue(string propertyPath);
Parameters:
actorName— The actor name.itemPath— The item path.propertyName— The property name.propertyPath— A combined property path.
Returns: The property value, or null.
SetValue
Sets a property value.
void SetValue(string actorName, string propertyPath, object value);
ReadFromFile
Reads all properties from the configured file.
void ReadFromFile();
ReadFromString
Reads all properties from a string.
void ReadFromString(string content);
SaveToFile
Saves all properties to the configured file.
void SaveToFile();