Integer Parameter Class
Intger-Valued parameter for use in the CAPE-OPEN parameter collection.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[SerializableAttribute]
[GuidAttribute("2C57DC9F-1368-42eb-888F-5BC6ED7DDFA7")]
[ComVisibleAttribute(true)]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class IntegerParameter : CapeParameter,
ICapeParameter, ICapeParameterSpec, ICapeIntegerParameterSpec, ICloneable, INotifyPropertyChangedVB
<SerializableAttribute>
<GuidAttribute("2C57DC9F-1368-42eb-888F-5BC6ED7DDFA7")>
<ComVisibleAttribute(true)>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
Public Class IntegerParameter
Inherits CapeParameter
Implements ICapeParameter, ICapeParameterSpec, ICapeIntegerParameterSpec, ICloneable,
INotifyPropertyChanged- Inheritance
- Object CapeIdentification CapeParameter IntegerParameter
Remarks
Intger-Valued parameter for use in the CAPE-OPEN parameter collection.
Constructors
| IntegerParameter(String, Int32, CapeParamMode) | Creates a new instance of the integer-valued parameter class. |
| IntegerParameter(String, String, Int32, Int32, Int32, Int32, CapeParamMode) | Creates a new instance of the integer-valued parameter class using the values enterred. |
Properties
| ComponentDescription |
Gets and sets the description of the component.
(Inherited from CapeIdentification) |
| ComponentName |
Gets and sets the name of the component.
(Inherited from CapeIdentification) |
| DefaultValue | Gets and sets the default value of the parameter. |
| LowerBound | Gets and sets the lower bound of the parameter. |
| Mode |
Gets and sets the mode of the parameter.
(Inherited from CapeParameter) |
| Type |
Gets the type of the parameter.
(Overrides CapeParameterType) |
| UpperBound | Gets and sets the upper bound of the parameter. |
| ValStatus |
Gets the flag to indicate parameter validation's status.
(Inherited from CapeParameter) |
| Value | Gets and sets the value for this Parameter. |
Methods
| NotifyPropertyChanged |
Notifies the collection that the value of a proparty of the parameter has been changed.
(Inherited from CapeIdentification) |
| OnComponentDescriptionChanged |
Occurs when the user changes of the description of a component.
(Inherited from CapeIdentification) |
| OnComponentNameChanged |
Occurs when the user changes of the description of a component.
(Inherited from CapeIdentification) |
| OnParameterDefaultValueChanged | Occurs when the user changes of the default value of a parameter. |
| OnParameterLowerBoundChanged | Occurs when the user changes of the lower bound of a parameter. |
| OnParameterModeChanged |
Occurs when the user changes of the mode of a parameter.
(Inherited from CapeParameter) |
| OnParameterReset |
Occurs when the user resets a parameter.
(Inherited from CapeParameter) |
| OnParameterUpperBoundChanged | Occurs when the user changes of the upper bound of a parameter. |
| OnParameterValidated |
Occurs when a parameter is validated.
(Inherited from CapeParameter) |
| OnParameterValueChanged |
Occurs when the user changes of the value of a paramter.
(Inherited from CapeParameter) |
| Reset |
Sets the value of the parameter to its default value.
(Overrides CapeParameterReset) |
| Validate(String) |
Validates the current value of the parameter against the
specification of the parameter.
(Overrides CapeParameterValidate(String)) |
| Validate(Int32, String) | Validates the value sent against the specification of the parameter. |
Events
| ComponentDescriptionChanged |
Occurs when the user changes of the description of a component.
(Inherited from CapeIdentification) |
| ComponentNameChanged |
Occurs when the user changes of the name of a component.
(Inherited from CapeIdentification) |
| ParameterDefaultValueChanged | Occurs when the user changes of the default value of the parameter changes. |
| ParameterLowerBoundChanged | Occurs when the user changes of the lower bound of the parameter changes. |
| ParameterModeChanged |
Occurs when the user changes of the mode of the parameter changes.
(Inherited from CapeParameter) |
| ParameterReset |
Occurs when the user changes of the parameter value is reset to the default value.
(Inherited from CapeParameter) |
| ParameterUpperBoundChanged | Occurs when the user changes of the upper bound of the parameter changes. |
| ParameterValidated |
Occurs when the user validates the parameter.
(Inherited from CapeParameter) |
| ParameterValueChanged |
Occurs when the user changes of the value of the parameter changes.
(Inherited from CapeParameter) |
| PropertyChanged |
Notifies the collection that the value of a proparty of the parameter has been changed.
(Inherited from CapeIdentification) |
Fields
| m_DefaultValue | |
| m_LowerBound | |
| m_UpperBound | |
| m_ValStatus |
The flag to indicate parameter validation's status.
(Inherited from CapeParameter) |
| m_value | |
| ParameterDefaultValueChanged | |
| ParameterLowerBoundChanged | |
| ParameterUpperBoundChanged |
Extension Methods
| GetEnumNames | (Defined by General) |
| IsValidDouble | (Defined by General) |
Explicit Interface Implementations
| ICloneableClone | Creates a copy of the parameter. |