Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Razorback with WildlifeView and ProxyMessageView. (#11)
- Loading branch information
Eric Dahlvang
committed
May 9, 2018
1 parent
31ca991
commit 0f2177b
Showing
12 changed files
with
272 additions
and
143 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-16" ?> | ||
<Card xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<Version Major="1" Minor="0" /> | ||
<Container> | ||
<TextBlock Size="Default" Weight="Bolder" Wrap="true">@Model.Introduction</TextBlock> | ||
<TextBlock Size="Default">@Model.Instructions</TextBlock> | ||
</Container> | ||
|
||
<ImageSet ImageSize="Medium"> | ||
@foreach (var image in Model.Images) | ||
{ | ||
<Image Url="@image.ImageUrl"> | ||
<AdaptiveOpenUrlAction Type="OpenUrl" Url="@image.OpenUrl" /> | ||
</Image> | ||
} | ||
</ImageSet> | ||
|
||
</Card> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace ContosoScuba.Bot.Models | ||
{ | ||
public class ProxyMessage | ||
{ | ||
public string Title { get; set; } | ||
public string Name { get; set; } | ||
public string Text { get; set; } | ||
public string ImageUrl { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace ContosoScuba.Bot.Models | ||
{ | ||
public class ViewImage | ||
{ | ||
public string ImageUrl { get; set; } | ||
public string OpenUrl { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace ContosoScuba.Bot.Models | ||
{ | ||
|
||
public class WildlifeData | ||
{ | ||
public WildlifeData() | ||
{ | ||
Images = new List<ViewImage>(); | ||
} | ||
public string Introduction { get; set; } | ||
public string Instructions { get; set; } | ||
public List<ViewImage> Images { get; set; } | ||
} | ||
} |
Oops, something went wrong.