-
Notifications
You must be signed in to change notification settings - Fork 0
DiGi.Rhino.Core.Interfaces
Defines the contract for components within the DiGi Rhino framework, extending the base Grasshopper.Kernel.IGH_Component.
public interface IComponentDefines the base interface for all Goo objects within the DiGi Rhino core, extending Grasshopper's Grasshopper.Kernel.Types.IGH_Goo.
public interface IGooObjectDerived
↳ GooEnum<T>
↳ GooObject<TObject>
↳ GooSerializableObject<TSerializableObject>
↳ GooType
↳ IGooObject<TObject>
↳ IGooSerializableObject
↳ IGooSerializableObject<TSerializableObject>
Defines a generic Goo object that wraps a value of type TObject.
public interface IGooObject<TObject> : DiGi.Rhino.Core.Interfaces.IGooObjectTObject
The type of the underlying data wrapped by the Goo object.
Derived
↳ GooObject<TObject>
↳ GooSerializableObject<TSerializableObject>
↳ GooType
↳ IGooSerializableObject<TSerializableObject>
Implements IGooObject
Gets the underlying value contained within the Goo object.
TObject? Value { get; }Retrieves the underlying value cast to a specific type XObject.
XObject? GetValue<XObject>()
where XObject : TObject;XObject
The target type to retrieve the value as, which must derive from TObject.
XObject
The value cast to XObject, or null if the cast is not possible or the value is null.
Defines a contract for an object that is both a Goo object and serializable.
public interface IGooSerializableObject : DiGi.Rhino.Core.Interfaces.IGooObjectDerived
↳ GooSerializableObject<TSerializableObject>
↳ IGooSerializableObject<TSerializableObject>
Implements IGooObject
Defines a generic contract for an object that is both a Goo object and serializable, associated with a specific serializable object type.
public interface IGooSerializableObject<TSerializableObject> : DiGi.Rhino.Core.Interfaces.IGooSerializableObject, DiGi.Rhino.Core.Interfaces.IGooObject, DiGi.Rhino.Core.Interfaces.IGooObject<TSerializableObject?>
where TSerializableObject : DiGi.Core.Interfaces.ISerializableObjectTSerializableObject
The type of the serializable object. Must implement DiGi.Core.Interfaces.ISerializableObject.
Derived
↳ GooSerializableObject<TSerializableObject>
Implements IGooSerializableObject, IGooObject, DiGi.Rhino.Core.Interfaces.IGooObject<TSerializableObject>