Created
July 20, 2015 23:38
-
-
Save mstum/e8db5950b99bce1fdc39 to your computer and use it in GitHub Desktop.
rnn (Requires.NotNull) ReSharper Template
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
// ReSharper Template to make "rnn" a shortcut to Requires.NotNull | |
// For use with the Validation NuGet Package by @AArnott | |
// https://www.nuget.org/packages/Validation | |
// https://github.com/AArnott/Validation | |
// C# Pre-6 | |
Validation.Requires.NotNull($param$,"$param$"); | |
// C# 6 | |
Validation.Requires.NotNull($param$, nameof($param$)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment