From c6c8b0cb057c09abb16cd88ca1d98bb67cb6b647 Mon Sep 17 00:00:00 2001 From: conceptdev Date: Tue, 30 Jul 2019 11:42:04 -0700 Subject: [PATCH] add yaml for sample gallery rendering --- AsyncAwait/README.md | 19 ++++++++++++++----- ModelRenderingMG/README.md | 21 +++++++++++++++------ ModelsAndVertsMG/README.md | 21 +++++++++++++++------ MonoGameTvOs/README.md | 21 +++++++++++++++------ SharingCode/README.md | 15 ++++++++++++--- StandardControls/README.md | 27 +++++++++++++++------------ TaskyPortable/README.md | 27 +++++++++++++++------------ WalkingGameMG/README.md | 21 +++++++++++++++------ 8 files changed, 116 insertions(+), 56 deletions(-) diff --git a/AsyncAwait/README.md b/AsyncAwait/README.md index 9399c25fd..7a4ec9d96 100644 --- a/AsyncAwait/README.md +++ b/AsyncAwait/README.md @@ -1,5 +1,14 @@ -AsyncAwait -========== +--- +name: Xamarin - async/await +description: "Using async/await with Xamarin" +page_type: sample +languages: +- csharp +products: +- xamarin +urlFragment: asyncawait +--- +# async/await This sample was first presented in the Xamarin Introduction to C# 5 Async webinar on August 15th, 2013. Re-live the excitement with these links to the video, slides and Xamarin docs. @@ -7,11 +16,11 @@ This sample was first presented in the Xamarin Introduction to C# 5 Async webina [Miguel's slides](http://www.slideshare.net/Xamarin/xamarin-asyncwebinar-2013) [Craig's slides](http://www.slideshare.net/Xamarin/c-async-on-ios-and-android-craig-dunn-developer-evangelist-at-xamarin) -[Xamarin's Introduction to Async article](http://docs.xamarin.com/guides/cross-platform/advanced/async_support_overview) +[Xamarin's Async support overview](https://docs.microsoft.com/xamarin/cross-platform/platform/async) The sample apps (for iOS and Android) has two examples: -* a simple text & image download using the new C# 5 `async` and `await` syntax. -* another example that shows how to download multiple files in the background and report download progress using `IProgress`/`Progress`. It also demonstrates how to cancel the background downloads using a `CancellationTokenSource`. +- a simple text & image download using the new C# 5 `async` and `await` syntax. +- another example that shows how to download multiple files in the background and report download progress using `IProgress`/`Progress`. It also demonstrates how to cancel the background downloads using a `CancellationTokenSource`. Also check out [Miguel's blog post on the subject](http://tirania.org/blog/archive/2013/Aug-15.html). diff --git a/ModelRenderingMG/README.md b/ModelRenderingMG/README.md index d0a898c40..b12d6e6b9 100644 --- a/ModelRenderingMG/README.md +++ b/ModelRenderingMG/README.md @@ -1,11 +1,20 @@ -Drawing Models in MonoGame -==================================== +--- +name: Xamarin - Drawing models in MonoGame +description: "Demo game using MonoGame for iOS and Android" +page_type: sample +languages: +- csharp +products: +- xamarin +extensions: + tags: + - monogame +urlFragment: modelrenderingmg +--- +# Drawing Models in MonoGame This is a small demo game using MonoGame for iOS and Android, using a shared code project. It is the result of working through the the article on adding 3D models to a MonoGame project. It is built against MonoGame 3.3. -Author ------- - -Victor Chelaru \ No newline at end of file +![Game models on screen](Screenshots/Screenshot1.PNG) diff --git a/ModelsAndVertsMG/README.md b/ModelsAndVertsMG/README.md index 6a2da3f11..a15e2f76c 100644 --- a/ModelsAndVertsMG/README.md +++ b/ModelsAndVertsMG/README.md @@ -1,11 +1,20 @@ -Drawing with Vertices in MonoGame -==================================== +--- +name: Xamarin - Drawing models in MonoGame +description: "Demo game using MonoGame for iOS and Android" +page_type: sample +languages: +- csharp +products: +- xamarin +extensions: + tags: + - monogame +urlFragment: modelsandvertsmg +--- +# Drawing with Vertices in MonoGame This is a small demo game using MonoGame for iOS and Android, using a shared code project. It is the result of working through the the article on working with vertices in a MonoGame project. It is built against MonoGame 3.3. -Author ------- - -Victor Chelaru \ No newline at end of file +![Game models on screen](Screenshots/Screenshot1.PNG) diff --git a/MonoGameTvOs/README.md b/MonoGameTvOs/README.md index 8ab715bf2..50e32380d 100644 --- a/MonoGameTvOs/README.md +++ b/MonoGameTvOs/README.md @@ -1,12 +1,21 @@ -MonoGame tvOS Project -================ +--- +name: Xamarin - MonoGame tvOS project +description: "Empty project template using MonoGame (tvOS)" +page_type: sample +languages: +- csharp +products: +- xamarin +extensions: + tags: + - monogame + - tvos +urlFragment: monogametvos +--- +# MonoGame tvOS Project This solution contains an empty MonoGame tvOS project. It contains a pre-compiled .dll (not from Nuget) since MonoGame does not currently distribute a tvOS .dll. This project contains an empty Game class with a single call to GraphicsDevice.Clear, setting the background color to Color.CornflowerBlue. This demo includes MonoGame.Framework.dll which was compiled using MonoGame 3.5 source. - -Authors -------- -Victor Chelaru \ No newline at end of file diff --git a/SharingCode/README.md b/SharingCode/README.md index 9af7db2e2..a9e983535 100644 --- a/SharingCode/README.md +++ b/SharingCode/README.md @@ -1,5 +1,14 @@ -Sharing Code -============ +--- +name: Xamarin - Sharing Code +description: "Example of sharing code across iOS and Android using the 64-bit types added to Xamarin.iOS" +page_type: sample +languages: +- csharp +products: +- xamarin +urlFragment: sharingcode +--- +# Sharing Code -Example of sharing code across iOS and Android while using the +Example of sharing code across iOS and Android while using the [Unified (64-bit) types on iOS](https://docs.microsoft.com/xamarin/cross-platform/macios/native-types-cross-platform) \ No newline at end of file diff --git a/StandardControls/README.md b/StandardControls/README.md index d0f8ee979..edcc95747 100644 --- a/StandardControls/README.md +++ b/StandardControls/README.md @@ -1,8 +1,17 @@ -Standard Controls -===================== - -iOS --- +name: Xamarin - Standard Controls +description: "Standard controls on Android and iOS (UI)" +page_type: sample +languages: +- csharp +products: +- xamarin +urlFragment: standardcontrols +--- +# Standard Controls + +## iOS + This example application illustrates how to use a number of standard controls including: * Action Sheet @@ -35,8 +44,8 @@ This example application illustrates how to use a number of standard controls in * Toolbar -Android -------- +## Android + This sample demonstrates Android's built-in UI controls. * Form Controls: TextView, EditText, AutoCompleteTextView, Button, CheckBox, RadioGroup, RatingBar @@ -52,9 +61,3 @@ This sample demonstrates Android's built-in UI controls. * Menus: Options Menu, Context Menu * Layouts: Tab Layout, RelativeLayout, LinearLayout, FrameLayout, TableLayout - - -Authors -------- - -Craig Dunn, Bryan Costanich \ No newline at end of file diff --git a/TaskyPortable/README.md b/TaskyPortable/README.md index 798f5d3a4..18c038706 100644 --- a/TaskyPortable/README.md +++ b/TaskyPortable/README.md @@ -1,11 +1,20 @@ -Tasky -===== +--- +name: Xamarin - Tasky Portable +description: "Tasky is a simple cross-platform todo/task application sample that tracks todo/task items" +page_type: sample +languages: +- csharp +products: +- xamarin +urlFragment: taskyportable +--- +# Tasky Tasky is a simple cross-platform todo/task application sample that allows you to track todo/task items. Tasky supports iOS and Android - each with a native UI written in C#. -Common code lives in a [Portable Class Library](http://developer.xamarin.com/guides/cross-platform/application_fundamentals/pcl/), +Common code lives in a [Portable Class Library](https://docs.microsoft.com/xamarin/cross-platform/app-fundamentals/pcl), which is referenced by each application project. It uses a local SQLite database to store the tasks, which are saved and read using the SQLite-PCL NuGet package. @@ -13,15 +22,9 @@ the SQLite-PCL NuGet package. This project type requires Xamarin 3 (Xamarin Studio 5.x) or Visual Studio 2013 with PCL support. It requires an Indie licence (or start a free Trial) of Xamarin. -![screenshot](https://github.com/xamarin/mobile-samples/raw/master/Tasky/Screenshots/all-small.png "iOS and Android") +![screenshot](Screenshots/all-small.png "iOS and Android") +## Xamarin.Forms Version -Xamarin.Forms Version ---------------------- -The equivalent app written with [Xamarin.Forms](http://xamarin.com/forms) is +The equivalent app written with [Xamarin.Forms](https://docs.microsoft.com/xamarin/xamarin-forms/) is called [Todo](https://github.com/xamarin/xamarin-forms-samples/tree/master/Todo). - -Authors -------- - -Bryan Costanich, Craig Dunn diff --git a/WalkingGameMG/README.md b/WalkingGameMG/README.md index 808375675..c096b58c5 100644 --- a/WalkingGameMG/README.md +++ b/WalkingGameMG/README.md @@ -1,5 +1,17 @@ -MonoGame WalkingGame Project for iOS and Android -==================================== +--- +name: Xamarin - MonoGame Walking Game +description: "Demo game using MonoGame for iOS and Android" +page_type: sample +languages: +- csharp +products: +- xamarin +extensions: + tags: + - monogame +urlFragment: walkinggamemg +--- +# MonoGame WalkingGame Project for iOS and Android This is a small demo game using MonoGame for iOS and Android, using a shared code project. It is the result of working through the the entire Introduction to Monogame walkthrough. @@ -7,7 +19,4 @@ The demo can be played by touching the screen to move the character around the s It is built against MonoGame 3.3. -Author ------- - -Victor Chelaru \ No newline at end of file +![Game models on screen](Screenshots/Screenshot1.gif)