lukechurch/designscript — pull request #135 by sharadkjaiswal (2013-11-27 15:41:28+00:00)
Title: MirrorData API enhancements

///

/// Returns ClassMirror if this data is an instance of a DesignScript
Class.
///

public ClassMirror Class { get; }

///

/// Gets the list of MirrorData if this data represents a collection,
/// else null.
///

/// List of MirrorData represented by this data.
public List GetElements();

///

/// Gets the CLR object for all the value type or FFI objects, else null
///

public object Data { get; }

///

/// Gets if this data points to null.
///

public bool IsNull { get; }

///

/// Gets if this data points to a collection.
///

public bool IsCollection { get; }