Skip to content

Instantly share code, notes, and snippets.

@alexandervantrijffel
Last active June 7, 2016 20:51
Show Gist options
  • Save alexandervantrijffel/0f40a892fb10f0791db193a36ff8c44b to your computer and use it in GitHub Desktop.
Save alexandervantrijffel/0f40a892fb10f0791db193a36ff8c44b to your computer and use it in GitHub Desktop.
shortcut: builder
public class $target$Builder
{
public $target$ $target$ { get; set; } = new $target$();
public $target$Builder With$extender$($END$)
{
return this;
}
}
shortcut: buildermethod
public $target$ With$extender$($END$)
{
return this;
}
shortcut: unittest
[Fact]
public void $TestName$()
{
// Arrange
$END$
// Act
// Assert
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment