Properties

IsParsable

#
Gets a value indicating whether or not the type can be instantiated from a String.
bool IsParsable { get; }

ProxyOwner

#
Gets the piece of Grasshopper data that spawned this proxy.
IGH_Goo ProxyOwner { get; }

UserString

#
Gets or sets the user-defined string that describes this proxy. This only really makes sense if the Proxy is Parsable.
string UserString { get; set; }
The UserString value or the value of FormatInstance() if UserString has not been assigned.

Valid

#
Gets a value indicating whether this proxy represents valid data.
bool Valid { get; }

Methods

Construct

#
This method will be called when a new instance of this type is constructed. It allows implementers to supply a customized UI to be shown during construction. This method should never throw exceptions.
void Construct()

FormatInstance

#
Returns a String description of the current value.
string FormatInstance()
Remarks: If the implementation IsParsable(), then this representation will be in parsable format.

FromString

#
If IsParsable(), then attempts to convert the string to a generic type value
bool FromString(
in
The String to parse.
)
True on success, false on failure. This method should not throw exceptions.

MutateString

#
Munge a string to remove obvious errors on account of the user.
string MutateString()