1. Stylelabs.M.Sdk.Models.Localization

Class Parameter

Defines a named or positional parameter for translations.

Inheritance

object

Parameter

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsLocalization

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class Parameter

Constructors

Parameter(double)

Initializes a new instance of the Parameter class.

Declaration

public Parameter(double value)

Parameters

TypeNameDescription
doublevalueThe value of the parameter.

Parameter(int)

Initializes a new instance of the Parameter class.

Declaration

public Parameter(int value)

Parameters

TypeNameDescription
intvalueThe value of the parameter.

Parameter(long)

Initializes a new instance of the Parameter class.

Declaration

public Parameter(long value)

Parameters

TypeNameDescription
longvalueThe value of the parameter.

Parameter(string, double)

Initializes a new instance of the Parameter class.

Declaration

public Parameter(string name, double value)

Parameters

TypeNameDescription
stringnameThe name of the parameter.
doublevalueThe value of the parameter.

Parameter(string, int)

Initializes a new instance of the Parameter class.

Declaration

public Parameter(string name, int value)

Parameters

TypeNameDescription
stringnameThe name of the parameter.
intvalueThe value of the parameter.

Parameter(string, long)

Initializes a new instance of the Parameter class.

Declaration

public Parameter(string name, long value)

Parameters

TypeNameDescription
stringnameThe name of the parameter.
longvalueThe value of the parameter.

Parameter(string, string)

Initializes a new instance of the Parameter class.

Declaration

public Parameter(string name, string value)

Parameters

TypeNameDescription
stringnameThe name of the parameter.
stringvalueThe value of the parameter.

Parameter(string)

Initializes a new instance of the Parameter class.

Declaration

public Parameter(string value)

Parameters

TypeNameDescription
stringvalueThe value of the parameter.

Properties

Name

Gets the parameter name.

Declaration

public string? Name { get; }

Property Value

TypeDescription
string

Value

Gets the parameter value.

Declaration

public string Value { get; }

Property Value

TypeDescription
string
If you have suggestions for improving this article, let us know!