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
class MyModel { | |
public ID: number; | |
public Value: string; | |
} | |
export = MyModel; |
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
{ | |
Start: "2014-01-01 00:00:01", | |
End: "2014-01-31 00:00:01", | |
TotalWorkedHours: "01:02:03", | |
TotalBreakHours: "01:02:03", | |
Days: [ | |
{ | |
Date: "2014-01-01 00:00:01", | |
TotalWorkedHours: "01:02:03", |
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
Alla | |
Malmö | |
Stockholm | |
Göteborg | |
Lund | |
Karlstad | |
Helsingborg | |
Uppsala | |
Västerås | |
Linköping |
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="ko.d.ts" /> | |
class MyKnockOutApp { | |
User: KnockoutObservable<User>; | |
PrivateMessage = ko.observable<Message>(null); | |
MyComputedMessage: KnockoutComputed<Message>; | |
constructor() { | |
// Will throw an error since types are not matching | |
this.User = ko.observable<Message>(undefined); |
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
class MyApp { | |
constructor() { | |
var myUsers = new CustomCollection<User>(); | |
var myMessages = new CustomCollection<Message>(); | |
myUsers.Add(new User()); | |
myMessages.Add(new Message()); | |
var user: User = myUsers.GetFirst(); | |
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
<system.webServer> | |
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files"> | |
<scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" /> | |
<dynamicTypes> | |
<add mimeType="text/*" enabled="true" /> | |
<add mimeType="message/*" enabled="true" /> | |
<add mimeType="application/javascript" enabled="true" /> | |
<add mimeType="*/*" enabled="false" /> | |
</dynamicTypes> | |
<staticTypes> |
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
Imports System | |
Imports System.Web | |
Imports System.Web.Mvc | |
Imports System.IO | |
Imports System.Xml | |
Imports System.Text | |
Imports System.Collections.Generic | |
Imports System.Web.Script.Serialization | |
Imports System.Runtime.Serialization | |
Imports System.Reflection |
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
Imports System | |
Imports System.Web | |
Imports System.Web.Mvc | |
Imports System.IO | |
Imports System.Xml | |
Imports System.Text | |
Imports System.Collections.Generic | |
Imports System.Web.Script.Serialization | |
Imports System.Runtime.Serialization | |
Imports System.Reflection |
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
'Anders Åberg | |
'LinkButton med ikon & text | |
'Används: | |
'<cc1:myBtn ID="addTask" runat="server" Text="Lägg till uppgift" ImageUrl="Images/add.png" ></cc1:myBtn> | |
Imports System | |
Imports System.Collections.Generic | |
Imports System.ComponentModel | |
Imports System.Text | |
Imports 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
Imports System | |
Imports System.Collections.Generic | |
Imports System.ComponentModel | |
Imports System.Text | |
Imports System.Web | |
Imports System.Web.UI | |
Imports System.Web.UI.WebControls | |
<DefaultProperty("Text"), ToolboxData("<{0}:myBtn runat=server></{0}:myBtn>")> _ |