Class Parameter
Inheritance
System.Object
Parameter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Nui.ServiceModel.DataContract
Assembly: Terrasoft.Nui.ServiceModel.dll
Syntax
public class Parameter
Properties
ArrayValue
Declaration
public string[] ArrayValue { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
DataValueType
Declaration
public DataValueType DataValueType { get; set; }
Property Value
Type | Description |
---|---|
DataValueType |
ShouldSkipConvertion
Indicates whether the value conversion process should be skipped in GetValue(UserConnection, DataValueType, Boolean).
Declaration
public bool ShouldSkipConvertion { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Value
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
GetDataType(UserConnection)
Declaration
public DataValueType GetDataType(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection |
Returns
Type | Description |
---|---|
DataValueType |
GetLocalizableValue()
Gets parameter localizable value.
Declaration
public LocalizableString GetLocalizableValue()
Returns
Type | Description |
---|---|
LocalizableString |
GetValue(UserConnection, DataValueType, Boolean)
Gets parameter value with type conversion if required.
Declaration
public object GetValue(UserConnection userConnection, DataValueType forcedDataValueType = null, bool useUtcTime = false)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | User connection. |
DataValueType | forcedDataValueType | DataValueType that value must be converted with. |
System.Boolean | useUtcTime | Use |
Returns
Type | Description |
---|---|
System.Object |