StencilBuilder

public static class StencilBuilder
Utility class for instantiating generic tree stencil instances.

Methods

CreateItemStencil

#
public static IStencil CreateItemStencil(Paths paths, int[] twigLengths)
Create a non-constrained tree stencil for populating items.
paths (Paths)Paths to include.
twigLengths (int[])Length of twig for each path.
Empty stencil ready for population.

CreateItemStencil<T>

#
public static IStencil<T> CreateItemStencil<T>(Paths paths, int[] twigLengths)
Create a type-constrained tree stencil for populating items.
paths (Paths)Paths to include.
twigLengths (int[])Length of twig for each path.
Empty stencil ready for population.

CreateTreeStencil

#
public static IStencil CreateTreeStencil(Paths paths)
Create a non-constrained tree stencil for populating trees.
paths (Paths)Paths to include.
Empty stencil ready for population.

CreateTreeStencil<T>

#
public static IStencil<T> CreateTreeStencil<T>(Paths paths)
Create a type-constrained tree stencil for populating trees.
paths (Paths)Paths to include.
Empty stencil ready for population.

CreateTwigStencil

#
public static IStencil CreateTwigStencil(Paths paths)
Create a non-constrained tree stencil for populating twigs.
paths (Paths)Paths to include.
Empty stencil ready for population.

CreateTwigStencil<T>

#
public static IStencil<T> CreateTwigStencil<T>(Paths paths)
Create a type-constrained tree stencil for populating twigs.
paths (Paths)Paths to include.
Empty stencil ready for population.

ParameterItemStencil

#
public static IStencil ParameterItemStencil(IParameter parameter, Paths paths, int[] lengths)
Create a stencil for a specific parameter.
parameter (IParameter)
paths (Paths)
lengths (int[])

ParameterTreeStencil

#
public static IStencil ParameterTreeStencil(IParameter parameter, Paths paths)
Create a stencil for a specific parameter.
parameter (IParameter)
paths (Paths)

ParameterTwigStencil

#
public static IStencil ParameterTwigStencil(IParameter parameter, Paths paths)
Create a stencil for a specific parameter.
parameter (IParameter)
paths (Paths)

TypeConstrainedItemStencil

#
public static IStencil TypeConstrainedItemStencil(Type type, Paths paths, int[] lengths)
Create an item stencil for a specific type constraint.
type (Type)
paths (Paths)
lengths (int[])

TypeConstrainedTreeStencil

#
public static IStencil TypeConstrainedTreeStencil(Type type, Paths paths)
Create a tree stencil for a specific type constraint.
type (Type)
paths (Paths)

TypeConstrainedTwigStencil

#
public static IStencil TypeConstrainedTwigStencil(Type type, Paths paths)
Create a twig stencil for a specific type constraint.
type (Type)
paths (Paths)