Merge pull request #50 from tzachov/patch-2

Use "nameof" instead of string
This commit is contained in:
Steve Sanderson
2016-04-28 11:14:46 +01:00

View File

@@ -14,7 +14,7 @@ namespace Microsoft.AspNet.AngularServices {
// HTTP requests made during server-side rendering, without risking unnecessary duplicate requests.
if (string.IsNullOrEmpty(url)) {
throw new ArgumentException("Value cannot be null or empty", "url");
throw new ArgumentException("Value cannot be null or empty", nameof(url));
}
try {