public override void Write(object?value) { if (value is IShape shape) { _sequence = _shapeRenderer.RenderShapeAsync(shape, _sequence, _builder).GetAwaiter().GetResult(); return; } base.Write(value); }