Skip to content

Commit

Permalink
Merge pull request #6 from AvantiPoint/strongnames
Browse files Browse the repository at this point in the history
Updating Mapping Classes
  • Loading branch information
dansiegel authored Apr 30, 2020
2 parents a6ddcbc + cf40513 commit 731fbdc
Show file tree
Hide file tree
Showing 51 changed files with 3,153 additions and 2,797 deletions.
2 changes: 2 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ root = true
# Don't use tabs for indentation.
[*]
indent_style = space
end_of_line = lf
insert_final_newline = true
# (Please don't specify an indent_size here; that has too many unintended consequences.)

[*.yml]
Expand Down
576 changes: 292 additions & 284 deletions AP.MobileToolkit.Fonts.sln

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Clean-Outputs.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Get-ChildItem .\ -Include bin,obj -Recurse | ForEach-Object ($_) { Remove-Item $_.FullName -Force -Recurse }
Get-ChildItem .\ -Include .mfractor -Attributes Hidden -Recurse | ForEach-Object ($_) { Remove-Item $_.FullName -Force -Recurse }
Get-ChildItem .\ -Include .vs -Attributes Hidden -Recurse | ForEach-Object ($_) { Remove-Item $_.FullName -Force -Recurse }
Get-ChildItem .\ -Include bin,obj -Recurse | ForEach-Object ($_) { Remove-Item $_.FullName -Force -Recurse }
Get-ChildItem .\ -Include .mfractor -Attributes Hidden -Recurse | ForEach-Object ($_) { Remove-Item $_.FullName -Force -Recurse }
Get-ChildItem .\ -Include .vs -Attributes Hidden -Recurse | ForEach-Object ($_) { Remove-Item $_.FullName -Force -Recurse }
Get-ChildItem .\ -Include *.csproj.user -Recurse | ForEach-Object ($_) { Remove-Item $_.FullName -Force -Recurse }
5 changes: 5 additions & 0 deletions Directory.build.props
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,9 @@
<None Remove=".DS_Store" />
</ItemGroup>

<ItemGroup Condition=" $(MappingFile) != '' ">
<Compile Include="$(MSBuildThisFileDirectory)mappings\$(MappingFile).cs;$(MSBuildThisFileDirectory)mappings\MappingXmlns.cs"
Link="Mappings\%(Filename)%(Extension)" />
</ItemGroup>

</Project>
3 changes: 3 additions & 0 deletions Generate-Mappings.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nuget restore .\tools\MappingClassGenerator.sln
dotnet publish .\tools\MappingClassGenerator\MappingClassGenerator.csproj
.\tools\MappingClassGenerator\bin\Debug\net48\publish\MappingClassGenerator.exe
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Using it in your XAML couldn't be easier:
<Label Text="{ap:Icon 'far fa-user'}" />
<Button Text="{ap:Icon 'far fa-user'}" />
<Image Source="{FontImage Glyph={ap:Icon 'far fa-check-circle'}, Color=Blue, Size=60}" />
<Label Text="{ap:Icon {x:Static ap:FontAwesomeRegular.User}}" />
</StackLayout>
</ContentPage>
```
Expand All @@ -87,4 +88,4 @@ Using it in your XAML couldn't be easier:
[FASolidShield]: https://img.shields.io/nuget/vpre/AP.MobileToolkit.Forms.Fonts.FontAwesomeFree.Solid.svg
[FASolidNuGet]: https://www.nuget.org/packages/AP.MobileToolkit.Forms.Fonts.FontAwesomeFree.Solid
[FASolidMyGetShield]: https://img.shields.io/myget/apmobiletoolkit/vpre/AP.MobileToolkit.Forms.Fonts.FontAwesomeFree.Solid.svg
[FASolidMyGet]: https://www.myget.org/feed/apmobiletoolkit/package/nuget/AP.MobileToolkit.Forms.Fonts.FontAwesomeFree.Solid
[FASolidMyGet]: https://www.myget.org/feed/apmobiletoolkit/package/nuget/AP.MobileToolkit.Forms.Fonts.FontAwesomeFree.Solid
444 changes: 444 additions & 0 deletions mappings/FontAwesomeBrands.cs

Large diffs are not rendered by default.

157 changes: 157 additions & 0 deletions mappings/FontAwesomeRegular.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
namespace AP.MobileToolkit.Fonts.Mappings
{
public static class FontAwesomeRegular
{
public const string Heart = "far fa-heart";
public const string Star = "far fa-star";
public const string User = "far fa-user";
public const string Clock = "far fa-clock";
public const string ListAlt = "far fa-list-alt";
public const string Flag = "far fa-flag";
public const string Bookmark = "far fa-bookmark";
public const string Image = "far fa-image";
public const string Edit = "far fa-edit";
public const string TimesCircle = "far fa-times-circle";
public const string CheckCircle = "far fa-check-circle";
public const string QuestionCircle = "far fa-question-circle";
public const string Eye = "far fa-eye";
public const string EyeSlash = "far fa-eye-slash";
public const string CalendarAlt = "far fa-calendar-alt";
public const string Comment = "far fa-comment";
public const string Folder = "far fa-folder";
public const string FolderOpen = "far fa-folder-open";
public const string ChartBar = "far fa-chart-bar";
public const string Comments = "far fa-comments";
public const string StarHalf = "far fa-star-half";
public const string Lemon = "far fa-lemon";
public const string CreditCard = "far fa-credit-card";
public const string Hdd = "far fa-hdd";
public const string HandPointRight = "far fa-hand-point-right";
public const string HandPointLeft = "far fa-hand-point-left";
public const string HandPointUp = "far fa-hand-point-up";
public const string HandPointDown = "far fa-hand-point-down";
public const string Copy = "far fa-copy";
public const string Save = "far fa-save";
public const string Square = "far fa-square";
public const string Envelope = "far fa-envelope";
public const string Lightbulb = "far fa-lightbulb";
public const string Bell = "far fa-bell";
public const string Hospital = "far fa-hospital";
public const string PlusSquare = "far fa-plus-square";
public const string Circle = "far fa-circle";
public const string Smile = "far fa-smile";
public const string Frown = "far fa-frown";
public const string Meh = "far fa-meh";
public const string Keyboard = "far fa-keyboard";
public const string Calendar = "far fa-calendar";
public const string PlayCircle = "far fa-play-circle";
public const string MinusSquare = "far fa-minus-square";
public const string CheckSquare = "far fa-check-square";
public const string ShareSquare = "far fa-share-square";
public const string Compass = "far fa-compass";
public const string CaretSquareDown = "far fa-caret-square-down";
public const string CaretSquareUp = "far fa-caret-square-up";
public const string CaretSquareRight = "far fa-caret-square-right";
public const string File = "far fa-file";
public const string FileAlt = "far fa-file-alt";
public const string ThumbsUp = "far fa-thumbs-up";
public const string ThumbsDown = "far fa-thumbs-down";
public const string Sun = "far fa-sun";
public const string Moon = "far fa-moon";
public const string CaretSquareLeft = "far fa-caret-square-left";
public const string DotCircle = "far fa-dot-circle";
public const string Building = "far fa-building";
public const string FilePdf = "far fa-file-pdf";
public const string FileWord = "far fa-file-word";
public const string FileExcel = "far fa-file-excel";
public const string FilePowerpoint = "far fa-file-powerpoint";
public const string FileImage = "far fa-file-image";
public const string FileArchive = "far fa-file-archive";
public const string FileAudio = "far fa-file-audio";
public const string FileVideo = "far fa-file-video";
public const string FileCode = "far fa-file-code";
public const string LifeRing = "far fa-life-ring";
public const string PaperPlane = "far fa-paper-plane";
public const string Futbol = "far fa-futbol";
public const string Newspaper = "far fa-newspaper";
public const string BellSlash = "far fa-bell-slash";
public const string Copyright = "far fa-copyright";
public const string ClosedCaptioning = "far fa-closed-captioning";
public const string ObjectGroup = "far fa-object-group";
public const string ObjectUngroup = "far fa-object-ungroup";
public const string StickyNote = "far fa-sticky-note";
public const string Clone = "far fa-clone";
public const string Hourglass = "far fa-hourglass";
public const string HandRock = "far fa-hand-rock";
public const string HandPaper = "far fa-hand-paper";
public const string HandScissors = "far fa-hand-scissors";
public const string HandLizard = "far fa-hand-lizard";
public const string HandSpock = "far fa-hand-spock";
public const string HandPointer = "far fa-hand-pointer";
public const string HandPeace = "far fa-hand-peace";
public const string Registered = "far fa-registered";
public const string CalendarPlus = "far fa-calendar-plus";
public const string CalendarMinus = "far fa-calendar-minus";
public const string CalendarTimes = "far fa-calendar-times";
public const string CalendarCheck = "far fa-calendar-check";
public const string Map = "far fa-map";
public const string CommentAlt = "far fa-comment-alt";
public const string PauseCircle = "far fa-pause-circle";
public const string StopCircle = "far fa-stop-circle";
public const string Handshake = "far fa-handshake";
public const string EnvelopeOpen = "far fa-envelope-open";
public const string AddressBook = "far fa-address-book";
public const string AddressCard = "far fa-address-card";
public const string UserCircle = "far fa-user-circle";
public const string IdBadge = "far fa-id-badge";
public const string IdCard = "far fa-id-card";
public const string WindowMaximize = "far fa-window-maximize";
public const string WindowMinimize = "far fa-window-minimize";
public const string WindowRestore = "far fa-window-restore";
public const string Snowflake = "far fa-snowflake";
public const string TrashAlt = "far fa-trash-alt";
public const string Images = "far fa-images";
public const string Clipboard = "far fa-clipboard";
public const string ArrowAltCircleDown = "far fa-arrow-alt-circle-down";
public const string ArrowAltCircleLeft = "far fa-arrow-alt-circle-left";
public const string ArrowAltCircleRight = "far fa-arrow-alt-circle-right";
public const string ArrowAltCircleUp = "far fa-arrow-alt-circle-up";
public const string Gem = "far fa-gem";
public const string MoneyBillAlt = "far fa-money-bill-alt";
public const string WindowClose = "far fa-window-close";
public const string CommentDots = "far fa-comment-dots";
public const string SmileWink = "far fa-smile-wink";
public const string Angry = "far fa-angry";
public const string Dizzy = "far fa-dizzy";
public const string Flushed = "far fa-flushed";
public const string FrownOpen = "far fa-frown-open";
public const string Grimace = "far fa-grimace";
public const string Grin = "far fa-grin";
public const string GrinAlt = "far fa-grin-alt";
public const string GrinBeam = "far fa-grin-beam";
public const string GrinBeamSweat = "far fa-grin-beam-sweat";
public const string GrinHearts = "far fa-grin-hearts";
public const string GrinSquint = "far fa-grin-squint";
public const string GrinSquintTears = "far fa-grin-squint-tears";
public const string GrinStars = "far fa-grin-stars";
public const string GrinTears = "far fa-grin-tears";
public const string GrinTongue = "far fa-grin-tongue";
public const string GrinTongueSquint = "far fa-grin-tongue-squint";
public const string GrinTongueWink = "far fa-grin-tongue-wink";
public const string GrinWink = "far fa-grin-wink";
public const string Kiss = "far fa-kiss";
public const string KissBeam = "far fa-kiss-beam";
public const string KissWinkHeart = "far fa-kiss-wink-heart";
public const string Laugh = "far fa-laugh";
public const string LaughBeam = "far fa-laugh-beam";
public const string LaughSquint = "far fa-laugh-squint";
public const string LaughWink = "far fa-laugh-wink";
public const string MehBlank = "far fa-meh-blank";
public const string MehRollingEyes = "far fa-meh-rolling-eyes";
public const string SadCry = "far fa-sad-cry";
public const string SadTear = "far fa-sad-tear";
public const string SmileBeam = "far fa-smile-beam";
public const string Surprise = "far fa-surprise";
public const string Tired = "far fa-tired";
}
}
Loading

0 comments on commit 731fbdc

Please sign in to comment.