Show / Hide Table of Contents

Class ConstructAction.DefaultInteger

A DefaultInteger object is usually used in conjunction with a ConstructAction.MultipleChoiceInput object (see DefaultChoice). It specifies a default value for the input field as long as the user didn't specify that input via keybord or mouse. When the point input is locked, the value is saved in the corresponding DefaultInteger object. DefaultInteger objects are usually static in a ConstructAction to preserve that value from one instance of the action to the next instance.

Inheritance
System.Object
ConstructAction.DefaultInteger
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability.Actions
Assembly: CADability.dll
Syntax
public class DefaultInteger

Constructors

| Improve this Doc View Source

DefaultInteger()

Creates an undefined DefaultInteger

Declaration
public DefaultInteger()
| Improve this Doc View Source

DefaultInteger(Int32)

Creates a defined DefaultInteger

Declaration
public DefaultInteger(int StartValue)
Parameters
Type Name Description
System.Int32 StartValue

initial value

Properties

| Improve this Doc View Source

Integer

Gets or sets the current value.

Declaration
public int Integer { get; set; }
Property Value
Type Description
System.Int32

Operators

| Improve this Doc View Source

Implicit(ConstructAction.DefaultInteger to Int32)

Converts to an int

Declaration
public static implicit operator int (ConstructAction.DefaultInteger di)
Parameters
Type Name Description
ConstructAction.DefaultInteger di

convert this

Returns
Type Description
System.Int32
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX