C# Class Octopus.Client.Model.Forms.Control

An visual component of a Form.
Mostrar archivo Open project: OctopusDeploy/Octo.exe Class Usage Examples

Public Methods

Method Description
CoerceValue ( string value ) : object

Convert a string into the native type supported by the control. Only supported if GetNativeValueType returns a non-null type.

GetNativeValueType ( ) : Type

Get the native value type supported by the control. If the value returned is null, the control does not support values.

Method Details

CoerceValue() public method

Convert a string into the native type supported by the control. Only supported if GetNativeValueType returns a non-null type.
public CoerceValue ( string value ) : object
value string The value to coerce. Must not be null or whitespace.
return object

GetNativeValueType() public method

Get the native value type supported by the control. If the value returned is null, the control does not support values.
public GetNativeValueType ( ) : Type
return System.Type