# C1.Web.Mvc.Serialization.BaseWriter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Serialization_BaseWriter" data-uid="C1.Web.Mvc.Serialization.BaseWriter" class="text-break">BaseWriter Class
</h1>
  <div class="markdown level0 summary"><p>Defines the base class for Writer.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Web.Mvc.Serialization.Operation.html">Operation</a></div>
    <div class="level2"><span class="xref">BaseWriter</span></div>
      <div class="level3"><a class="xref" href="C1.JsonNet.JsonWriter.html">JsonWriter</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Serialization.html">C1.Web.Mvc.Serialization</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Serialization_BaseWriter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class BaseWriter : Operation, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class BaseWriter
    Inherits Operation
    Implements IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Serialization_BaseWriter__ctor_C1_Web_Mvc_Serialization_IContext_C1_Web_Mvc_Serialization_IAttributeHelper_System_IO_TextWriter_" data-uid="C1.Web.Mvc.Serialization.BaseWriter.#ctor(C1.Web.Mvc.Serialization.IContext,C1.Web.Mvc.Serialization.IAttributeHelper,System.IO.TextWriter)">
          <a class="xref" href="C1.Web.Mvc.Serialization.BaseWriter.-ctor.html#C1_Web_Mvc_Serialization_BaseWriter__ctor_C1_Web_Mvc_Serialization_IContext_C1_Web_Mvc_Serialization_IAttributeHelper_System_IO_TextWriter_">BaseWriter(IContext, IAttributeHelper, TextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of <a class="xref" href="C1.Web.Mvc.Serialization.BaseWriter.html">BaseWriter</a></p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Serialization_BaseWriter_WriteObject_System_Object_C1_Web_Mvc_Serialization_BaseConverter_" data-uid="C1.Web.Mvc.Serialization.BaseWriter.WriteObject(System.Object,C1.Web.Mvc.Serialization.BaseConverter)">
          <a class="xref" href="C1.Web.Mvc.Serialization.BaseWriter.WriteObject.html#C1_Web_Mvc_Serialization_BaseWriter_WriteObject_System_Object_C1_Web_Mvc_Serialization_BaseConverter_">WriteObject(object, BaseConverter)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes the object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Serialization_BaseWriter_WriteText_System_String_" data-uid="C1.Web.Mvc.Serialization.BaseWriter.WriteText(System.String)">
          <a class="xref" href="C1.Web.Mvc.Serialization.BaseWriter.WriteText.html#C1_Web_Mvc_Serialization_BaseWriter_WriteText_System_String_">WriteText(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes a text value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
