From 84706fe54bbf93cf541f81063c54963e22889d3d Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Fri, 12 Mar 2021 13:19:31 +0000 Subject: [PATCH] (#15) Add seealso in xmldoc --- X10D/src/BooleanExtensions/BooleanExtensions.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/X10D/src/BooleanExtensions/BooleanExtensions.cs b/X10D/src/BooleanExtensions/BooleanExtensions.cs index 1a9ebe7..0980109 100644 --- a/X10D/src/BooleanExtensions/BooleanExtensions.cs +++ b/X10D/src/BooleanExtensions/BooleanExtensions.cs @@ -36,6 +36,7 @@ namespace X10D.BooleanExtensions /// // True converts to 1. /// /// + /// public static byte ToByte(this bool value) { return value ? 1 : 0; @@ -60,6 +61,7 @@ namespace X10D.BooleanExtensions /// // True converts to 1. /// /// + /// public static decimal ToDecimal(this bool value) { return value ? 1.0m : 0.0m; @@ -70,6 +72,7 @@ namespace X10D.BooleanExtensions /// /// The Boolean value to convert. /// 1 if is , or 0 otherwise. + /// /// /// The following example illustrates the conversion of to values. /// @@ -84,6 +87,7 @@ namespace X10D.BooleanExtensions /// // True converts to 1. /// /// + /// public static double ToDouble(this bool value) { return value ? 1.0 : 0.0; @@ -108,6 +112,7 @@ namespace X10D.BooleanExtensions /// // True converts to 1. /// /// + /// public static short ToInt16(this bool value) { return value ? 1 : 0; @@ -132,6 +137,7 @@ namespace X10D.BooleanExtensions /// // True converts to 1. /// /// + /// public static int ToInt32(this bool value) { return value ? 1 : 0; @@ -156,6 +162,7 @@ namespace X10D.BooleanExtensions /// // True converts to 1. /// /// + /// public static long ToInt64(this bool value) { return value ? 1L : 0L; @@ -180,6 +187,7 @@ namespace X10D.BooleanExtensions /// // True converts to 1. /// /// + /// public static float ToSingle(this bool value) { return value ? 1.0f : 0.0f;