Skip to content

Instantly share code, notes, and snippets.

class Bobbins
public static string Value = "Foo";
public static void Write()
declare interface AngularVersion {
full: string;
major: number;
minor: number;
dot: number;
codeName: string;
declare interface AngularModule {
requires: string[];
markrendle / GetProfile.cs
Created August 8, 2012 20:48 — forked from dotnetchris/gist:3298615
RESTful Simple.Web handlers
[Canonical(typeof(ProfileViewModel))] // RESTful, baby!
public class GetProfile : IGet, IOutput<ProfileViewModel>
private readonly UserReports _userReports;
private readonly ILogger _logger;
public GetProfile(UserReports userReports, ILogger logger) // No unnecessary injections
_userReports = userReports;