# C1.Web.Mvc.Serialization.C1ConverterAttribute

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Serialization_C1ConverterAttribute" data-uid="C1.Web.Mvc.Serialization.C1ConverterAttribute" class="text-break">C1ConverterAttribute Class
</h1>
  <div class="markdown level0 summary"><p>Instructs the <a class="xref" href="C1.Web.Mvc.Serialization.C1ConverterAttribute.html">C1ConverterAttribute</a> to use the specified <a class="xref" href="C1.Web.Mvc.Serialization.BaseConverter.html">BaseConverter</a> when serializing the member or class.</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="https://learn.microsoft.com/dotnet/api/system.attribute">Attribute</a></div>
    <div class="level2"><span class="xref">C1ConverterAttribute</span></div>
      <div class="level3"><a class="xref" href="C1.JsonNet.JsonConverterAttribute.html">JsonConverterAttribute</a></div>
      <div class="level3"><a class="xref" href="C1.Web.Mvc.Serialization.C1CollectionItemConverterAttribute.html">C1CollectionItemConverterAttribute</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_C1ConverterAttribute_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Interface|AttributeTargets.Parameter)]
public abstract class C1ConverterAttribute : Attribute</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;AttributeUsage(AttributeTargets.ClassOrAttributeTargets.StructOrAttributeTargets.EnumOrAttributeTargets.PropertyOrAttributeTargets.FieldOrAttributeTargets.InterfaceOrAttributeTargets.Parameter)&gt;
Public MustInherit Class C1ConverterAttribute
    Inherits Attribute</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_C1ConverterAttribute__ctor_System_Type_" data-uid="C1.Web.Mvc.Serialization.C1ConverterAttribute.#ctor(System.Type)">
          <a class="xref" href="C1.Web.Mvc.Serialization.C1ConverterAttribute.-ctor.html#C1_Web_Mvc_Serialization_C1ConverterAttribute__ctor_System_Type_">C1ConverterAttribute(Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Web.Mvc.Serialization.C1ConverterAttribute.html">C1ConverterAttribute</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Serialization_C1ConverterAttribute__ctor_System_Type_System_Object___" data-uid="C1.Web.Mvc.Serialization.C1ConverterAttribute.#ctor(System.Type,System.Object[])">
          <a class="xref" href="C1.Web.Mvc.Serialization.C1ConverterAttribute.-ctor.html#C1_Web_Mvc_Serialization_C1ConverterAttribute__ctor_System_Type_System_Object___">C1ConverterAttribute(Type, params object[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Web.Mvc.Serialization.C1ConverterAttribute.html">C1ConverterAttribute</a> class.</p>
</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_C1ConverterAttribute_ConverterParameters" data-uid="C1.Web.Mvc.Serialization.C1ConverterAttribute.ConverterParameters">
          <a class="xref" href="C1.Web.Mvc.Serialization.C1ConverterAttribute.ConverterParameters.html#C1_Web_Mvc_Serialization_C1ConverterAttribute_ConverterParameters">ConverterParameters</a>
        </td>
        <td class="markdown level1 summary"><p>The parameter list to use when constructing the JsonConverter described by ConverterType.<br>
If null, the default constructor is used.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Serialization_C1ConverterAttribute_ConverterType" data-uid="C1.Web.Mvc.Serialization.C1ConverterAttribute.ConverterType">
          <a class="xref" href="C1.Web.Mvc.Serialization.C1ConverterAttribute.ConverterType.html#C1_Web_Mvc_Serialization_C1ConverterAttribute_ConverterType">ConverterType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type of the converter.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
