/// <summary> /// Called for every GlowCommand found in the glow tree. /// </summary> /// <param name="glow">The GlowCommand to process.</param> /// <param name="path">The path of the element containing the GlowCommand.</param> protected abstract void OnCommand(GlowCommand glow, int[] path);
object IGlowVisitor <object, object> .Visit(GlowCommand glow, object state) { OnCommand(glow, PathToArray()); return(null); }