Class Parameter
Defines a named or positional parameter for translations.
Inheritance
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsLocalization
Assembly: Stylelabs.M.Sdk.dll
Syntax
public class ParameterConstructors
Parameter(double)
Initializes a new instance of the Parameter class.
Declaration
public Parameter(double value)Parameters
| Type | Name | Description |
|---|---|---|
| double | value |
The value of the parameter. |
Parameter(int)
Initializes a new instance of the Parameter class.
Declaration
public Parameter(int value)Parameters
| Type | Name | Description |
|---|---|---|
| int | value |
The value of the parameter. |
Parameter(long)
Initializes a new instance of the Parameter class.
Declaration
public Parameter(long value)Parameters
| Type | Name | Description |
|---|---|---|
| long | value |
The value of the parameter. |
Parameter(string, double)
Initializes a new instance of the Parameter class.
Declaration
public Parameter(string name, double value)Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
The name of the parameter. |
| double | value |
The value of the parameter. |
Parameter(string, int)
Initializes a new instance of the Parameter class.
Declaration
public Parameter(string name, int value)Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
The name of the parameter. |
| int | value |
The value of the parameter. |
Parameter(string, long)
Initializes a new instance of the Parameter class.
Declaration
public Parameter(string name, long value)Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
The name of the parameter. |
| long | value |
The value of the parameter. |
Parameter(string, string)
Initializes a new instance of the Parameter class.
Declaration
public Parameter(string name, string value)Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
The name of the parameter. |
| string | value |
The value of the parameter. |
Parameter(string)
Initializes a new instance of the Parameter class.
Declaration
public Parameter(string value)Parameters
| Type | Name | Description |
|---|---|---|
| string | value |
The value of the parameter. |
Properties
Name
Gets the parameter name.
Declaration
public string? Name { get; }Property Value
| Type | Description |
|---|---|
| string |
Value
Gets the parameter value.
Declaration
public string Value { get; }Property Value
| Type | Description |
|---|---|
| string |