public static string RenderLeafInlineRaw(LeafBlock leafBlock) { using (var stringWriter = new StringWriter()) { var renderer = new RawRenderer(stringWriter); renderer.WriteLeafInline(leafBlock); return(stringWriter.ToString()); } }
/// <summary> /// Initializes a new instance of the <see cref="BarcodeWriter"/> class. /// </summary> public BarcodeWriter() { Renderer = new RawRenderer(); }
public override IEnumerable<Barebones.Dependencies.IDependency> GetDependencies() { yield return new Dependency<PhysicsComponent>(item => { }, item => item.DisposePhysics(m_World)); yield return new Dependency<RawRenderer>(item => m_Renderer = item, item => m_Renderer = null); yield return new Dependency<Camera>(item => m_Camera = item, item => m_Camera = null); }