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
RequestResponse
public class Parameter

Constructors

Parameter(double)

Initializes a new instance of the Parameter class.

Declaration
RequestResponse
public Parameter(double value)
Parameters
TypeNameDescription
doublevalue

The value of the parameter.

Parameter(int)

Initializes a new instance of the Parameter class.

Declaration
RequestResponse
public Parameter(int value)
Parameters
TypeNameDescription
intvalue

The value of the parameter.

Parameter(long)

Initializes a new instance of the Parameter class.

Declaration
RequestResponse
public Parameter(long value)
Parameters
TypeNameDescription
longvalue

The value of the parameter.

Parameter(string, double)

Initializes a new instance of the Parameter class.

Declaration
RequestResponse
public Parameter(string name, double value)
Parameters
TypeNameDescription
stringname

The name of the parameter.

doublevalue

The value of the parameter.

Parameter(string, int)

Initializes a new instance of the Parameter class.

Declaration
RequestResponse
public Parameter(string name, int value)
Parameters
TypeNameDescription
stringname

The name of the parameter.

intvalue

The value of the parameter.

Parameter(string, long)

Initializes a new instance of the Parameter class.

Declaration
RequestResponse
public Parameter(string name, long value)
Parameters
TypeNameDescription
stringname

The name of the parameter.

longvalue

The value of the parameter.

Parameter(string, string)

Initializes a new instance of the Parameter class.

Declaration
RequestResponse
public Parameter(string name, string value)
Parameters
TypeNameDescription
stringname

The name of the parameter.

stringvalue

The value of the parameter.

Parameter(string)

Initializes a new instance of the Parameter class.

Declaration
RequestResponse
public Parameter(string value)
Parameters
TypeNameDescription
stringvalue

The value of the parameter.

Properties

Name

Gets the parameter name.

Declaration
RequestResponse
public string? Name { get; }
Property Value
TypeDescription
string

Value

Gets the parameter value.

Declaration
RequestResponse
public string Value { get; }
Property Value
TypeDescription
string

Do you have some feedback for us?

If you have suggestions for improving this article,