public virtual void PreVisit(ITransformNode transform) { System.Console.WriteLine(currentIndentation + "A Drawable of type " + transform.GetType().ToString() + " with name: " + transform.Name); currentIndentation += indentIncrement; }
/// <summary> /// /// </summary> /// <param name="template"></param> /// <param name="root"></param> /// <param name="childIsRoot"> /// Whether child elements should be constructed as the root mirror element, so that they /// incorporate the template's parent transform into their own transform /// </param> /// <param name="parent"></param> public MirrorArraySource(IArraySource <T> template, bool root, bool childIsRoot, ITransformNode parent) { _template = template; _template.AddMonitor(this); _parent = parent; _root = root; _childIsRoot = childIsRoot; }
public virtual void PreVisit(ITransformNode transform) { System.Console.WriteLine(currentIndentation + "Drawable Name: " + transform.Name); currentIndentation += indentIncrement; }
public virtual void PostVisit(ITransformNode transform) { currentIndentation = currentIndentation.Substring(0, currentIndentation.Length - indentIncrement.Length); }
public MirrorAa(IAa template, bool root, ITransformNode parent) : base(template, root, false, parent) { _template = template; }
public IChain GetMirroredElement(bool root, ITransformNode parent) { return(new MirrorChain(this, root, parent)); }
public MirrorStructure(IStructure template, bool root, ITransformNode parent) : base(template, root, false, parent) { _template = template; }
public MirrorAtom(IAtom template, bool root, ITransformNode parent) { _template = template; _root = root; Parent = parent; }
public void PreVisit(ITransformNode transform) { System.Console.WriteLine(currentIndentation + "A Transform node of type " + transform.GetType().ToString() + " with name: " + transform.Name); currentIndentation += indentIncrement; }
public void PostVisit(ITransformNode transform) { currentIndentation = currentIndentation.Substring(0, currentIndentation.Length - indentIncrement.Length); }