IStencil<T>

References
public interface IStencil<T> : IStencil
Defines a somewhat mutable, fully allocated, strongly typed tree to be populated at leisure. In a way this interface acts as a TreeBuilder pattern, but it is not called TreeBuilder because the size of the tree it populates must be set at construction. Maybe at some point in the future a fully mutable builder pattern will be provided in the api.
T

Properties

StencilAccess

Access StencilAccess { get; }
Gets the access level for this stencil. Only those SetXXXX methods which are compatible with the access will work, the remainder will throw exceptions.
inherited fromIStencil

Methods

SetArray

void SetArray(int twigIndex, Array items, MetaData[] metas, bool[] nulls)
Set all items, meta data and null flags at the specified coverage.
inherited fromIStencil
twigIndex (int)
items (Array)
metas (MetaData[])
nulls (bool[])

SetArray

void SetArray(int twigIndex, Array items, MetaData[] metas)
Set all items and meta data at the specified coverage.
inherited fromIStencil
twigIndex (int)
items (Array)
metas (MetaData[])

SetArray

void SetArray(int twigIndex, Array items)
Set all items at the specified coverage.
inherited fromIStencil
twigIndex (int)
items (Array)

SetArray

#
void SetArray(int twigIndex, T[] items, MetaData[] metas, bool[] nulls)
Set all items, meta data and null flags at the specified coverage.
twigIndex (int)
items (T[])
metas (MetaData[])
nulls (bool[])

SetArray

#
void SetArray(int twigIndex, T[] items, MetaData[] metas)
Set all items and meta data at the specified coverage.
twigIndex (int)
items (T[])
metas (MetaData[])

SetArray

#
void SetArray(int twigIndex, T[] items)
Set all items at the specified coverage.
twigIndex (int)
items (T[])

SetItem

void SetItem(int twigIndex, int itemIndex, object item, MetaData meta)
Set the item and meta data values at the specified coverage site.
inherited fromIStencil
twigIndex (int)
itemIndex (int)
item (object)
meta (MetaData)

SetItem

void SetItem(int twigIndex, int itemIndex, object item)
Set the item value at the specified coverage site.
inherited fromIStencil
twigIndex (int)
itemIndex (int)
item (object)

SetItem

#
void SetItem(int twigIndex, int itemIndex, T item, MetaData meta)
Set the item and meta data values at the specified coverage site.
twigIndex (int)
itemIndex (int)
item (T)
meta (MetaData)

SetItem

#
void SetItem(int twigIndex, int itemIndex, T item)
Set the item value at the specified coverage site.
twigIndex (int)
itemIndex (int)
item (T)

SetPear

void SetPear(int twigIndex, int itemIndex, IPear pear)
Set the item, meta data and null values at the specified coverage site.
inherited fromIStencil
twigIndex (int)
itemIndex (int)
pear (IPear)

SetPear

#
void SetPear(int twigIndex, int itemIndex, Pear<T> pear)
Set the item, meta data and null values at the specified coverage site.
twigIndex (int)
itemIndex (int)
pear (Pear<T>)

SetTree

void SetTree(int pathIndex, ITree tree)
Set an entire tree at the specified coverage site.
inherited fromIStencil
pathIndex (int)
tree (ITree)

SetTwig

void SetTwig(int twigIndex, ITwig twig)
Set an entire twig at the specified coverage.
inherited fromIStencil
twigIndex (int)
twig (ITwig)

SetTwig

#
void SetTwig(int twigIndex, Twig<T> twig)
Set an entire twig at the specified coverage.
twigIndex (int)
twig (Twig<T>)

ToTree

ITree ToTree()
Gets the data tree representing the current state of the stencil.
inherited fromIStencil

ToTreeOfT

#
Tree<T> ToTreeOfT()
Gets the data tree representing the current state of the stencil.