Exemple #1
0
        public static void Render(StaticRenderer renderer, int componentId, TextWriter writer)
        {
            var frames      = renderer.GetCurrentRenderTreeFrames(componentId);
            var context     = new Context(renderer, writer);
            var newPosition = RenderFrames(context, frames, 0, frames.Count);

            Debug.Assert(newPosition == frames.Count);
        }
Exemple #2
0
 public ContainerComponent(StaticRenderer renderer)
 {
     this.renderer = renderer;
     id            = renderer.AttachContainer(this);
 }
Exemple #3
0
 internal RenderedComponent(StaticRenderer renderer)
 {
     this.renderer = renderer;
     container     = new ContainerComponent(this.renderer);
 }