GH_ScriptVariant

References
public class GH_ScriptVariant

Constructors

GH_ScriptVariant

#
public GH_ScriptVariant()

GH_ScriptVariant

#
public GH_ScriptVariant(bool val)
val (bool)

GH_ScriptVariant

#
public GH_ScriptVariant(byte val)
val (byte)

GH_ScriptVariant

#
public GH_ScriptVariant(DateTime val)
val (DateTime)

GH_ScriptVariant

#
public GH_ScriptVariant(double val)
val (double)

GH_ScriptVariant

#
public GH_ScriptVariant(int val)
val (int)

GH_ScriptVariant

#
public GH_ScriptVariant(Plane val)
val (Plane)

GH_ScriptVariant

#
public GH_ScriptVariant(Point3d val)
val (Point3d)

GH_ScriptVariant

#
public GH_ScriptVariant(string val)
val (string)

GH_ScriptVariant

#
public GH_ScriptVariant(Vector3d val)
val (Vector3d)

Fields

m_type

#
protected GH_ScriptVariantType m_type

m_value

#
protected object m_value

Properties

Boolean

#
public bool Boolean { get; }

DateTime

#
public DateTime DateTime { get; }

Double

#
public double Double { get; }

Integer

#
public int Integer { get; }

Object

#
public object Object { get; }

Plane

#
public Plane Plane { get; }

Point

#
public Point3d Point { get; }

String

#
public string String { get; }

Type

#
public GH_ScriptVariantType Type { get; }

Vector

#
public Vector3d Vector { get; }

Methods

ThrowNullOperatorException

#
protected static void ThrowNullOperatorException(string sName)
sName (string)

ThrowOperatorException

#
protected static void ThrowOperatorException(string op_name, GH_ScriptVariantType A, GH_ScriptVariantType B)

ThrowOperatorException

#
protected static void ThrowOperatorException(string op_name, GH_ScriptVariantType A)
op_name (string)
A (GH_ScriptVariantType)

ThrowOperatorException

#
protected static void ThrowOperatorException(string op_name, string A, string B)
op_name (string)
A (string)
B (string)

ThrowOperatorException

#
protected static void ThrowOperatorException(string op_name, string A)
op_name (string)
A (string)

ToString

#
public override string ToString()
Object.ToString

Operators

Convertors