Class SystemProperty
Native wrapper over the Java java.lang.System class, contains work with property getter/setter methods.
In Java world, these properties can be set by passing the "-Dprop=value" argument in command line
or calls java.lang.System.setProperty(String key, String value).
The location of the imported functions is in the header files "dxfg_system.h".
public static class SystemProperty
- Inheritance
-
SystemProperty
- Inherited Members
Examples
-Ddxfeed.address="demo.dxfeed.com:7400".
Methods
GetProperty(string)
Gets the system property indicated by the specified key.
public static string? GetProperty(string key)
Parameters
keystringThe name of the system property.
Returns
- string
The string value of the system property, or
nullif there is no property with that key.
SetProperties(IReadOnlyDictionary<string, string>)
Sets the system properties from the provided key-value collection.
public static void SetProperties(IReadOnlyDictionary<string, string> properties)
Parameters
propertiesIReadOnlyDictionary<string, string>The key-value collection.
SetProperty(string, string)
Sets the system property indicated by the specified key.
public static void SetProperty(string key, string value)