Skip to content

Commit

Permalink
Refactoring of the Source Code Generator (#1141) CONTRIBUTING.md Gene…
Browse files Browse the repository at this point in the history
…rators README.md Samples Source Tests doc docfx.json index.md license.txt Refactoring of the Source Code Generator - Moved the Svg_Model.cs file as SvgModel.cs into the main source. - Restore the standard naming of the generated code files with "*.g.cs" suffix. - Set the output directory of the generated codes to "Generated". - Added the Generated directory to the main source codes. - Moved the Svg.Custom project to Tests directory. CONTRIBUTING.md Generators README.md Samples Source Tests doc docfx.json index.md license.txt Update runtests.yml - NuGet/setup-nuget@v1 to NuGet/setup-nuget@v2 - Needed to eliminate the warning: Node.js 16 actions are deprecated. CONTRIBUTING.md Generators README.md Samples Source Tests doc docfx.json index.md license.txt Update AvailableElementsGenerator.cs Removed the comment out portions.
  • Loading branch information
CI Build authored and CI Build committed Feb 3, 2024
1 parent d8eb260 commit 05e0d54
Show file tree
Hide file tree
Showing 194 changed files with 1,376 additions and 1,076 deletions.
4 changes: 2 additions & 2 deletions api/Svg.AttributeEventArgs.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ <h1 id="Svg_AttributeEventArgs" data-uid="Svg.AttributeEventArgs" class="text-br
<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.eventargs">EventArgs</a></div>
<div class="level1"><span class="xref">System.EventArgs</span></div>
<div class="level2"><a class="xref" href="Svg.SVGArg.html">SVGArg</a></div>
<div class="level3"><span class="xref">AttributeEventArgs</span></div>
</div>
Expand All @@ -105,7 +105,7 @@ <h5>Inherited Members</h5>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
Expand Down
4 changes: 2 additions & 2 deletions api/Svg.ChildAddedEventArgs.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ <h1 id="Svg_ChildAddedEventArgs" data-uid="Svg.ChildAddedEventArgs" class="text-
<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.eventargs">EventArgs</a></div>
<div class="level1"><span class="xref">System.EventArgs</span></div>
<div class="level2"><a class="xref" href="Svg.SVGArg.html">SVGArg</a></div>
<div class="level3"><span class="xref">ChildAddedEventArgs</span></div>
</div>
Expand All @@ -105,7 +105,7 @@ <h5>Inherited Members</h5>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
Expand Down
4 changes: 2 additions & 2 deletions api/Svg.ContentEventArgs.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ <h1 id="Svg_ContentEventArgs" data-uid="Svg.ContentEventArgs" class="text-break"
<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.eventargs">EventArgs</a></div>
<div class="level1"><span class="xref">System.EventArgs</span></div>
<div class="level2"><a class="xref" href="Svg.SVGArg.html">SVGArg</a></div>
<div class="level3"><span class="xref">ContentEventArgs</span></div>
</div>
Expand All @@ -105,7 +105,7 @@ <h5>Inherited Members</h5>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
Expand Down
4 changes: 2 additions & 2 deletions api/Svg.CoordinateParser.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h5>Inherited Members</h5>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
Expand Down Expand Up @@ -205,7 +205,7 @@ <h5 class="parameters">Parameters</h5>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Single</span></td>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">Single</a></td>
<td><span class="parametername">result</span></td>
<td></td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions api/Svg.CoordinateParserState.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ <h5>Inherited Members</h5>
<span class="xref">System.ValueType.ToString()</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype#system-object-gettype">Object.GetType()</a>
Expand Down Expand Up @@ -140,7 +140,7 @@ <h5 class="parameters">Parameters</h5>
</thead>
<tbody>
<tr>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.readonlyspan-1">ReadOnlySpan</a>&lt;<span class="xref">System.Char</span>&gt;</td>
<td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.readonlyspan-1">ReadOnlySpan</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">Char</a>&gt;</td>
<td><span class="parametername">chars</span></td>
<td></td>
</tr>
Expand Down
12 changes: 6 additions & 6 deletions api/Svg.DataTypes.SvgOrientConverter.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ <h5>Inherited Members</h5>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.canconvertfrom#system-componentmodel-typeconverter-canconvertfrom(system-type)">TypeConverter.CanConvertFrom(Type)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.canconvertto#system-componentmodel-typeconverter-canconvertto(system-type)">TypeConverter.CanConvertTo(Type)</a>
<span class="xref">System.ComponentModel.TypeConverter.CanConvertTo(System.Type)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.convertfrom#system-componentmodel-typeconverter-convertfrom(system-object)">TypeConverter.ConvertFrom(Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.convertfrominvariantstring#system-componentmodel-typeconverter-convertfrominvariantstring(system-componentmodel-itypedescriptorcontext-system-string)">TypeConverter.ConvertFromInvariantString(ITypeDescriptorContext, String)</a>
<span class="xref">System.ComponentModel.TypeConverter.ConvertFromInvariantString(System.ComponentModel.ITypeDescriptorContext, System.String)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.convertfrominvariantstring#system-componentmodel-typeconverter-convertfrominvariantstring(system-string)">TypeConverter.ConvertFromInvariantString(String)</a>
Expand All @@ -124,7 +124,7 @@ <h5>Inherited Members</h5>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.converttoinvariantstring#system-componentmodel-typeconverter-converttoinvariantstring(system-componentmodel-itypedescriptorcontext-system-object)">TypeConverter.ConvertToInvariantString(ITypeDescriptorContext, Object)</a>
</div>
<div>
<span class="xref">System.ComponentModel.TypeConverter.ConvertToInvariantString(System.Object)</span>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.converttoinvariantstring#system-componentmodel-typeconverter-converttoinvariantstring(system-object)">TypeConverter.ConvertToInvariantString(Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.converttostring#system-componentmodel-typeconverter-converttostring(system-componentmodel-itypedescriptorcontext-system-globalization-cultureinfo-system-object)">TypeConverter.ConvertToString(ITypeDescriptorContext, CultureInfo, Object)</a>
Expand Down Expand Up @@ -187,19 +187,19 @@ <h5>Inherited Members</h5>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.getstandardvaluessupported#system-componentmodel-typeconverter-getstandardvaluessupported(system-componentmodel-itypedescriptorcontext)">TypeConverter.GetStandardValuesSupported(ITypeDescriptorContext)</a>
</div>
<div>
<span class="xref">System.ComponentModel.TypeConverter.IsValid(System.ComponentModel.ITypeDescriptorContext, System.Object)</span>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.isvalid#system-componentmodel-typeconverter-isvalid(system-componentmodel-itypedescriptorcontext-system-object)">TypeConverter.IsValid(ITypeDescriptorContext, Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.isvalid#system-componentmodel-typeconverter-isvalid(system-object)">TypeConverter.IsValid(Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.sortproperties#system-componentmodel-typeconverter-sortproperties(system-componentmodel-propertydescriptorcollection-system-string())">TypeConverter.SortProperties(PropertyDescriptorCollection, String[])</a>
<span class="xref">System.ComponentModel.TypeConverter.SortProperties(System.ComponentModel.PropertyDescriptorCollection, System.String[])</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
Expand Down
12 changes: 6 additions & 6 deletions api/Svg.DataTypes.SvgPreserveAspectRatioConverter.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ <h5>Inherited Members</h5>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.canconvertfrom#system-componentmodel-typeconverter-canconvertfrom(system-type)">TypeConverter.CanConvertFrom(Type)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.canconvertto#system-componentmodel-typeconverter-canconvertto(system-type)">TypeConverter.CanConvertTo(Type)</a>
<span class="xref">System.ComponentModel.TypeConverter.CanConvertTo(System.Type)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.convertfrom#system-componentmodel-typeconverter-convertfrom(system-object)">TypeConverter.ConvertFrom(Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.convertfrominvariantstring#system-componentmodel-typeconverter-convertfrominvariantstring(system-componentmodel-itypedescriptorcontext-system-string)">TypeConverter.ConvertFromInvariantString(ITypeDescriptorContext, String)</a>
<span class="xref">System.ComponentModel.TypeConverter.ConvertFromInvariantString(System.ComponentModel.ITypeDescriptorContext, System.String)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.convertfrominvariantstring#system-componentmodel-typeconverter-convertfrominvariantstring(system-string)">TypeConverter.ConvertFromInvariantString(String)</a>
Expand All @@ -124,7 +124,7 @@ <h5>Inherited Members</h5>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.converttoinvariantstring#system-componentmodel-typeconverter-converttoinvariantstring(system-componentmodel-itypedescriptorcontext-system-object)">TypeConverter.ConvertToInvariantString(ITypeDescriptorContext, Object)</a>
</div>
<div>
<span class="xref">System.ComponentModel.TypeConverter.ConvertToInvariantString(System.Object)</span>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.converttoinvariantstring#system-componentmodel-typeconverter-converttoinvariantstring(system-object)">TypeConverter.ConvertToInvariantString(Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.converttostring#system-componentmodel-typeconverter-converttostring(system-componentmodel-itypedescriptorcontext-system-globalization-cultureinfo-system-object)">TypeConverter.ConvertToString(ITypeDescriptorContext, CultureInfo, Object)</a>
Expand Down Expand Up @@ -187,19 +187,19 @@ <h5>Inherited Members</h5>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.getstandardvaluessupported#system-componentmodel-typeconverter-getstandardvaluessupported(system-componentmodel-itypedescriptorcontext)">TypeConverter.GetStandardValuesSupported(ITypeDescriptorContext)</a>
</div>
<div>
<span class="xref">System.ComponentModel.TypeConverter.IsValid(System.ComponentModel.ITypeDescriptorContext, System.Object)</span>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.isvalid#system-componentmodel-typeconverter-isvalid(system-componentmodel-itypedescriptorcontext-system-object)">TypeConverter.IsValid(ITypeDescriptorContext, Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.isvalid#system-componentmodel-typeconverter-isvalid(system-object)">TypeConverter.IsValid(Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter.sortproperties#system-componentmodel-typeconverter-sortproperties(system-componentmodel-propertydescriptorcollection-system-string())">TypeConverter.SortProperties(PropertyDescriptorCollection, String[])</a>
<span class="xref">System.ComponentModel.TypeConverter.SortProperties(System.ComponentModel.PropertyDescriptorCollection, System.String[])</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
Expand Down
2 changes: 1 addition & 1 deletion api/Svg.Document_Structure.SvgSymbol.html
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ <h5>Inherited Members</h5>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">Object.Equals(Object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">Object.Equals(Object, Object)</a>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode">Object.GetHashCode()</a>
Expand Down
Loading

0 comments on commit 05e0d54

Please sign in to comment.