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 IdentityModel; | |
| using IdentityServer3.Core.Extensions; | |
| using Microsoft.AspNet.Identity; | |
| using Microsoft.Owin.Infrastructure; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.Specialized; | |
| using System.Linq; | |
| using System.Threading.Tasks; | |
| using System.Web; |
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
| public static class NumberWordConverter | |
| { | |
| #region Lookups | |
| private static readonly Dictionary<char, string> units = new Dictionary<char, string>() | |
| { | |
| {'0', ""}, | |
| {'1', " One"}, | |
| {'2', " Two"}, | |
| {'3', " Three"}, |
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
| /// <reference path="../Scripts/jquery-1.8.3.js"/> | |
| /// <reference path="../Scripts/knockout-2.2.0.debug.js"/> | |
| /// <reference path="../Scripts/linq.js" src="http://linqjs.codeplex.com/" /> | |
| /// <reference path="glimpse.js" /> | |
| var koInstrumentation = (function(window, ko, glimspe) { | |
| // Sanity check dependencies | |
| if (ko === undefined || ko === null ) { | |
| console.log("Knockout library missing or not loaded before KnockoutInstrumentration"); |