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 Bobbins | |
{ | |
[CallStackLocal] | |
public static string Value = "Foo"; | |
public static void Write() | |
{ | |
Console.WriteLine(Value); | |
} | |
} |
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
declare interface AngularVersion { | |
full: string; | |
major: number; | |
minor: number; | |
dot: number; | |
codeName: string; | |
} | |
declare interface AngularModule { | |
requires: string[]; |
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
[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; |