Skip to content

Instantly share code, notes, and snippets.

Mark Rendle markrendle

Block or report user

Report or block markrendle

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View stacksie.cs
class Bobbins
{
[CallStackLocal]
public static string Value = "Foo";
public static void Write()
{
Console.WriteLine(Value);
}
}
View Angular.d.ts
declare interface AngularVersion {
full: string;
major: number;
minor: number;
dot: number;
codeName: string;
}
declare interface AngularModule {
requires: string[];
@markrendle
markrendle / GetProfile.cs
Created Aug 8, 2012 — forked from dotnetchris/gist:3298615
RESTful Simple.Web handlers
View GetProfile.cs
[UriTemplate("/accounts/profile/{Name}")]
[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;
You can’t perform that action at this time.