# C1.Schedule.DayOfWeekConverter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Schedule_DayOfWeekConverter" data-uid="C1.Schedule.DayOfWeekConverter" class="text-break">DayOfWeekConverter Class
</h1>
  <div class="markdown level0 summary"><p>Provides a type converter to convert <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.dayofweek">DayOfWeek</a> objects to and from various other representations.</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.componentmodel.typeconverter">TypeConverter</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.enumconverter">EnumConverter</a></div>
    <div class="level3"><span class="xref">DayOfWeekConverter</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Schedule.html">C1.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.ScheduleCore.dll</h6>
  <h5 id="C1_Schedule_DayOfWeekConverter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DayOfWeekConverter : EnumConverter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DayOfWeekConverter
    Inherits EnumConverter</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_Schedule_DayOfWeekConverter__ctor" data-uid="C1.Schedule.DayOfWeekConverter.#ctor">
          <a class="xref" href="C1.Schedule.DayOfWeekConverter.-ctor.html#C1_Schedule_DayOfWeekConverter__ctor">DayOfWeekConverter()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Schedule.DayOfWeekConverter.html">DayOfWeekConverter</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Schedule_DayOfWeekConverter_AllWeekDays" data-uid="C1.Schedule.DayOfWeekConverter.AllWeekDays">
          <a class="xref" href="C1.Schedule.DayOfWeekConverter.AllWeekDays.html">AllWeekDays</a>
        </td>
        <td class="markdown level1 summary"><p>The array of all week days.</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_Schedule_DayOfWeekConverter_ConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_" data-uid="C1.Schedule.DayOfWeekConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)">
          <a class="xref" href="C1.Schedule.DayOfWeekConverter.ConvertFrom.html#C1_Schedule_DayOfWeekConverter_ConvertFrom_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_">ConvertFrom(ITypeDescriptorContext, CultureInfo, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Schedule_DayOfWeekConverter_ConvertTo_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_System_Type_" data-uid="C1.Schedule.DayOfWeekConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object,System.Type)">
          <a class="xref" href="C1.Schedule.DayOfWeekConverter.ConvertTo.html#C1_Schedule_DayOfWeekConverter_ConvertTo_System_ComponentModel_ITypeDescriptorContext_System_Globalization_CultureInfo_System_Object_System_Type_">ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
