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
using Newtonsoft.Json.Linq; | |
using Songhay.Extensions; | |
using Songhay.Web.Extensions; | |
using System; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.IO; | |
using System.Linq; | |
using System.ServiceModel.Syndication; | |
using System.Web.Http; |
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
namespace Songhay.Models | |
{ | |
/// <summary> | |
/// Selected MIME types | |
/// </summary> | |
public static class MimeTypes | |
{ | |
/// <summary> | |
/// The application atom XML | |
/// </summary> |
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
<?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 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; | |
namespace Cetera.Security | |
{ | |
/// <summary> | |
/// Password utilities. | |
/// </summary> | |
public static class PasswordUtility | |
{ | |
/// <summary> |
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
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 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 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 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 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 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> |