Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
adding Font Awesome Free 5.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
thudugala committed Aug 27, 2019
1 parent 27c4eb2 commit db62f4b
Show file tree
Hide file tree
Showing 17 changed files with 1,416 additions and 1,103 deletions.
4 changes: 2 additions & 2 deletions Source/Plugin.Glypher.FontAwesome5Free/GlyphListBrands.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Plugin.Glypher.FontAwesome5Free
{
/// <summary>
/// Font Awesome Free 5.10.0
/// Font Awesome Free 5.10.2
/// </summary>
public static class GlyphListBrands
{
Expand Down Expand Up @@ -440,4 +440,4 @@ public static class GlyphListBrands
#pragma warning restore CA1707
#pragma warning restore 1591
}
}
}
2 changes: 1 addition & 1 deletion Source/Plugin.Glypher.FontAwesome5Free/GlyphListRegular.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Plugin.Glypher.FontAwesome5Free
{
/// <summary>
/// Font Awesome Free 5.10.0
/// Font Awesome Free 5.10.2
/// </summary>
public static class GlyphListRegular
{
Expand Down
2 changes: 1 addition & 1 deletion Source/Plugin.Glypher.FontAwesome5Free/GlyphListSolid.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Plugin.Glypher.FontAwesome5Free
{
/// <summary>
/// Font Awesome Free 5.10.0
/// Font Awesome Free 5.10.2
/// </summary>
public static class GlyphListSolid
{
Expand Down
2 changes: 1 addition & 1 deletion Source/Plugin.Glypher.FontAwesome5Pro/GlyphListBrands.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Plugin.Glypher.FontAwesome5Pro
{
/// <summary>
/// Font Awesome Pro 5.10.1
/// Font Awesome Pro 5.10.2
/// </summary>
public static class GlyphListBrands
{
Expand Down
2 changes: 1 addition & 1 deletion Source/Plugin.Glypher.FontAwesome5Pro/GlyphListDuotone.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Plugin.Glypher.FontAwesome5Pro
{
/// <summary>
/// Font Awesome Pro 5.10.1
/// Font Awesome Pro 5.10.2
/// </summary>
public static class GlyphListDuotone
{
Expand Down
2 changes: 1 addition & 1 deletion Source/Plugin.Glypher.FontAwesome5Pro/GlyphListLight.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Plugin.Glypher.FontAwesome5Pro
{
/// <summary>
/// Font Awesome Pro 5.10.1
/// Font Awesome Pro 5.10.2
/// </summary>
public static class GlyphListLight
{
Expand Down
2 changes: 1 addition & 1 deletion Source/Plugin.Glypher.FontAwesome5Pro/GlyphListRegular.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Plugin.Glypher.FontAwesome5Pro
{
/// <summary>
/// Font Awesome Pro 5.10.1
/// Font Awesome Pro 5.10.2
/// </summary>
public static class GlyphListRegular
{
Expand Down
2 changes: 1 addition & 1 deletion Source/Plugin.Glypher.FontAwesome5Pro/GlyphListSolid.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Plugin.Glypher.FontAwesome5Pro
{
/// <summary>
/// Font Awesome Pro 5.10.1
/// Font Awesome Pro 5.10.2
/// </summary>
public static class GlyphListSolid
{
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

public enum ChangeEnum { The31, The32, The41, The42, The43, The44, The45, The46, The47, The500, The501, The5010, The5011, The5012, The5013, The502, The503, The505, The507, The509, The510, The5100, The5101, The511, The520, The530, The540, The541, The542, The550, The560, The561, The563, The570, The580, The581, The582, The590 };
public enum ChangeEnum { The31, The32, The41, The42, The43, The44, The45, The46, The47, The500, The501, The5010, The5011, The5012, The5013, The502, The503, The505, The507, The509, The510, The5100, The5101, The5102, The511, The520, The530, The540, The541, The542, The550, The560, The561, The563, The570, The580, The581, The582, The590 };

public enum Free { Brands, Regular, Solid };

Expand Down Expand Up @@ -197,6 +197,9 @@ public override object ReadJson(JsonReader reader, Type t, object existingValue,
case "5.10.1":
return new ChangeElement { Enum = ChangeEnum.The5101 };

case "5.10.2":
return new ChangeElement { Enum = ChangeEnum.The5102 };

case "5.2.0":
return new ChangeElement { Enum = ChangeEnum.The520 };

Expand Down Expand Up @@ -352,6 +355,10 @@ public override void WriteJson(JsonWriter writer, object untypedValue, JsonSeria
serializer.Serialize(writer, "5.10.1");
return;

case ChangeEnum.The5102:
serializer.Serialize(writer, "5.10.2");
return;

case ChangeEnum.The520:
serializer.Serialize(writer, "5.2.0");
return;
Expand Down Expand Up @@ -502,6 +509,9 @@ public override object ReadJson(JsonReader reader, Type t, object existingValue,
case "5.10.1":
return ChangeEnum.The5101;

case "5.10.2":
return ChangeEnum.The5102;

case "5.2.0":
return ChangeEnum.The520;

Expand Down Expand Up @@ -653,6 +663,10 @@ public override void WriteJson(JsonWriter writer, object untypedValue, JsonSeria
serializer.Serialize(writer, "5.10.1");
return;

case ChangeEnum.The5102:
serializer.Serialize(writer, "5.10.2");
return;

case ChangeEnum.The520:
serializer.Serialize(writer, "5.2.0");
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ private static void Main(string[] args)
}

const string folderPath = @"..\..\..\..\..\..\Source\Plugin.Glypher.FontAwesome5Free";
const string libName = @"Font Awesome Free 5.10.1";
const string libName = @"Font Awesome Free 5.10.2";
const string libNamespace = @"FontAwesome5Free";

FieldGenerator.Write(
Expand Down
Loading

0 comments on commit db62f4b

Please sign in to comment.