This file contains hidden or 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
namespace Songhay.Models | |
{ | |
/// <summary> | |
/// Selected MIME types | |
/// </summary> | |
public static class MimeTypes | |
{ | |
/// <summary> | |
/// The application atom XML | |
/// </summary> |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
This file is used by the publish/package process of your Web project. You can customize the behavior of this process | |
by editing this MSBuild file. In order to learn more about this please visit http://go.microsoft.com/fwlink/?LinkID=208121. | |
--> | |
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<PackageDependsOn> | |
$(PackageDependsOn); | |
AddReplaceRuleForAppPath; |
This file contains hidden or 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
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Diagnostics; | |
using System.Collections.Generic; | |
namespace Songhay.Extensions | |
{ | |
/// <summary> |
This file contains hidden or 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
void Main() | |
{ | |
var xaml = @" | |
<UserControl | |
xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation"" | |
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml"" | |
xmlns:sys=""clr-namespace:System;assembly=mscorlib""> | |
<UserControl.Resources> | |
<Style TargetType=""{x:Type Button}""> | |
<Setter Property=""Height"" Value=""32"" /> |
This file contains hidden or 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
using System; | |
using System.Globalization; | |
using System.Linq; | |
using System.Windows; | |
using System.Windows.Data; | |
namespace LexusDashboard.ValueConverters | |
{ | |
public sealed class BooleanToVisibilityMultiValueConverter : IMultiValueConverter | |
{ |
This file contains hidden or 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
using System; | |
using System.Windows; | |
using System.Windows.Media; | |
namespace Songhay.Extensions | |
{ | |
public static class VisualExtensions | |
{ | |
public static Point GetVisualOrigin(this Visual visual, Visual ancestorVisual) | |
{ |
This file contains hidden or 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
using System; | |
using System.Collections; | |
using System.Globalization; | |
using System.IO; | |
using System.Net; | |
using System.Text; | |
namespace Songhay.Extensions | |
{ | |
/// <summary> |
This file contains hidden or 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
/// <summary> | |
/// Extensions of <see cref="JObject"/> | |
/// </summary> | |
public static class JObjectExtensions | |
{ | |
/// <summary> | |
/// Gets the <see cref="JArray"/>. | |
/// </summary> | |
/// <param name="jsonObject">The json object.</param> | |
/// <param name="arrayPropertyName">Name of the array property.</param> |
This file contains hidden or 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
<?xml version="1.0"?> | |
<package > | |
<metadata> | |
<id>MyProject</id> | |
<version>1.0.0</version> | |
<title>My Project</title> | |
<authors>[email protected]</authors> | |
<owners>[email protected]</owners> | |
<projectUrl>http://git-stash.myco.com/projects/CV/repos/myproject/browse</projectUrl> | |
<iconUrl>http://git-stash.myco.com/projects/CV/avatar.png?s=256</iconUrl> |
This file contains hidden or 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
void Main() | |
{ | |
var baseAddress = "http://localhost:9000/"; | |
var client = new HttpClient(); | |
try | |
{ | |
using (WebApp.Start<Startup>(url: baseAddress)) | |
{ | |
HttpResponseMessage response; |