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); }
public ContainerComponent(StaticRenderer renderer) { this.renderer = renderer; id = renderer.AttachContainer(this); }
internal RenderedComponent(StaticRenderer renderer) { this.renderer = renderer; container = new ContainerComponent(this.renderer); }