From 12855fc68201962311ba1474243809e2d3953964 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Mon, 24 Aug 2015 16:43:23 -0700 Subject: polishing public docs --- src/csharp/Grpc.Core/Utils/Preconditions.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/csharp/Grpc.Core/Utils/Preconditions.cs') diff --git a/src/csharp/Grpc.Core/Utils/Preconditions.cs b/src/csharp/Grpc.Core/Utils/Preconditions.cs index 374262f87a..a8ab603391 100644 --- a/src/csharp/Grpc.Core/Utils/Preconditions.cs +++ b/src/csharp/Grpc.Core/Utils/Preconditions.cs @@ -43,6 +43,7 @@ namespace Grpc.Core.Utils /// /// Throws if condition is false. /// + /// The condition. public static void CheckArgument(bool condition) { if (!condition) @@ -54,6 +55,8 @@ namespace Grpc.Core.Utils /// /// Throws with given message if condition is false. /// + /// The condition. + /// The error message. public static void CheckArgument(bool condition, string errorMessage) { if (!condition) @@ -65,6 +68,7 @@ namespace Grpc.Core.Utils /// /// Throws if reference is null. /// + /// The reference. public static T CheckNotNull(T reference) { if (reference == null) @@ -77,6 +81,8 @@ namespace Grpc.Core.Utils /// /// Throws if reference is null. /// + /// The reference. + /// The parameter name. public static T CheckNotNull(T reference, string paramName) { if (reference == null) @@ -89,6 +95,7 @@ namespace Grpc.Core.Utils /// /// Throws if condition is false. /// + /// The condition. public static void CheckState(bool condition) { if (!condition) @@ -100,6 +107,8 @@ namespace Grpc.Core.Utils /// /// Throws with given message if condition is false. /// + /// The condition. + /// The error message. public static void CheckState(bool condition, string errorMessage) { if (!condition) -- cgit v1.2.3