# C1.Web.Mvc.Serialization.BaseConverter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Serialization_BaseConverter" data-uid="C1.Web.Mvc.Serialization.BaseConverter" class="text-break">BaseConverter Class
</h1>
  <div class="markdown level0 summary"><p>Defines the base class for the converter.</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"><span class="xref">BaseConverter</span></div>
      <div class="level2"><a class="xref" href="C1.JsonNet.JsonConverter.html">JsonConverter</a></div>
      <div class="level2"><a class="xref" href="C1.Web.Mvc.Serialization.DefaultConverter.html">DefaultConverter</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_BaseConverter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class BaseConverter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class BaseConverter</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_BaseConverter__ctor" data-uid="C1.Web.Mvc.Serialization.BaseConverter.#ctor">
          <a class="xref" href="C1.Web.Mvc.Serialization.BaseConverter.-ctor.html#C1_Web_Mvc_Serialization_BaseConverter__ctor">BaseConverter()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</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_BaseConverter_CanRead" data-uid="C1.Web.Mvc.Serialization.BaseConverter.CanRead">
          <a class="xref" href="C1.Web.Mvc.Serialization.BaseConverter.CanRead.html#C1_Web_Mvc_Serialization_BaseConverter_CanRead">CanRead</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this <a class="xref" href="C1.Web.Mvc.Serialization.BaseConverter.html">BaseConverter</a> can read.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Serialization_BaseConverter_CanWrite" data-uid="C1.Web.Mvc.Serialization.BaseConverter.CanWrite">
          <a class="xref" href="C1.Web.Mvc.Serialization.BaseConverter.CanWrite.html#C1_Web_Mvc_Serialization_BaseConverter_CanWrite">CanWrite</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this <a class="xref" href="C1.Web.Mvc.Serialization.BaseConverter.html">BaseConverter</a> can write.</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_BaseConverter_CanConvert_System_Type_C1_Web_Mvc_Serialization_IContext_" data-uid="C1.Web.Mvc.Serialization.BaseConverter.CanConvert(System.Type,C1.Web.Mvc.Serialization.IContext)">
          <a class="xref" href="C1.Web.Mvc.Serialization.BaseConverter.CanConvert.html#C1_Web_Mvc_Serialization_BaseConverter_CanConvert_System_Type_C1_Web_Mvc_Serialization_IContext_">CanConvert(Type, IContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether this instance can convert the specified object type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Serialization_BaseConverter_Write_C1_Web_Mvc_Serialization_BaseWriter_System_Object_C1_Web_Mvc_Serialization_IContext_" data-uid="C1.Web.Mvc.Serialization.BaseConverter.Write(C1.Web.Mvc.Serialization.BaseWriter,System.Object,C1.Web.Mvc.Serialization.IContext)">
          <a class="xref" href="C1.Web.Mvc.Serialization.BaseConverter.Write.html#C1_Web_Mvc_Serialization_BaseConverter_Write_C1_Web_Mvc_Serialization_BaseWriter_System_Object_C1_Web_Mvc_Serialization_IContext_">Write(BaseWriter, object, IContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes the specified value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
