Table of Contents

Class SystemProperty

Namespace
DxFeed.Graal.Net
Assembly
DxFeed.Graal.Net.dll

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

key string

The name of the system property.

Returns

string

The string value of the system property, or null if 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

properties IReadOnlyDictionary<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)

Parameters

key string

The name of the system property.

value string

The value of the system property.