SymbolWithDirectValue Constructor (Value, IEqualityComparer.Value., JsonSchemaValue, JsonSchemaValue, Nullable.Boolean.)

Initializes a new instance of the SymbolWithDirectValue class with the specified Value, IEqualityComparer.T. and schemes.

Namespace:  TcHmiSrv.Core.Tools.DynamicSymbols
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public SymbolWithDirectValue(
    Value value,
    IEqualityComparer<Value> valueComparer,
    JsonSchemaValue readValue,
    JsonSchemaValue writeValue,
    Nullable<bool> function
)

Parameters

value

Type: TcHmiSrv.Core.Value
The Value of the SymbolWithDirectValue.

valueComparer

Type: System.Collections.Generic.IEqualityComparer.Value.
An IEqualityComparer.T. that is used to compare Value with other Values. -or- null to use the default IEqualityComparer.T. for Values.

readValue

Type: TcHmiSrv.Core.Tools.DynamicSymbols.JsonSchemaValue
A JsonSchemaValue that represents the JSON schema of the read value of the SymbolWithDirectValue.

writeValue

Type: TcHmiSrv.Core.Tools.DynamicSymbols.JsonSchemaValue
A JsonSchemaValue that represents the JSON schema of the write value of the SymbolWithDirectValue.

function

Type: System.Nullable.Boolean.
A value that indicates whether the SymbolWithDirectValue is a function. -or- null to use the default value.

Reference

SymbolWithDirectValue Class

SymbolWithDirectValue Overload

TcHmiSrv.Core.Tools.DynamicSymbols Namespace