mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-10 02:25:41 +00:00
(#15) Format xmldoc for byte extensions
This commit is contained in:
parent
6722c0185e
commit
7192b46e9f
@ -1,4 +1,4 @@
|
|||||||
namespace X10D
|
namespace X10D
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Extension methods for <see cref="byte" />.
|
/// Extension methods for <see cref="byte" />.
|
||||||
@ -60,20 +60,19 @@ namespace X10D
|
|||||||
/// <returns>
|
/// <returns>
|
||||||
/// <see langword="true" /> if <paramref name="value" /> is not zero, or <see langword="false" /> otherwise.
|
/// <see langword="true" /> if <paramref name="value" /> is not zero, or <see langword="false" /> otherwise.
|
||||||
/// </returns>
|
/// </returns>
|
||||||
/// <seealso cref="BooleanExtensions.BooleanExtensions.ToByte(bool)" />
|
/// <seealso cref="BooleanExtensions.ToByte(bool)" />
|
||||||
/// <example>
|
/// <example>
|
||||||
/// The following example converts an array of <see cref="byte" /> values to <see cref="bool" /> values.
|
/// The following example converts an array of <see cref="byte" /> values to <see cref="bool" /> values.
|
||||||
///
|
|
||||||
/// <code lang="csharp">
|
/// <code lang="csharp">
|
||||||
/// byte[] bytes = { byte.MinValue, 100, 200, byte.MaxValue };
|
/// byte[] bytes = { byte.MinValue, 100, 200, byte.MaxValue };
|
||||||
/// bool result;
|
/// bool result;
|
||||||
///
|
///
|
||||||
/// foreach (byte value in bytes)
|
/// foreach (byte value in bytes)
|
||||||
/// {
|
/// {
|
||||||
/// result = value.ToBoolean();
|
/// result = value.ToBoolean();
|
||||||
/// Console.WriteLine("{0, -5} --> {1}", value, result);
|
/// Console.WriteLine("{0, -5} --> {1}", value, result);
|
||||||
/// }
|
/// }
|
||||||
///
|
///
|
||||||
/// // The example displays the following output:
|
/// // The example displays the following output:
|
||||||
/// // 0 --> False
|
/// // 0 --> False
|
||||||
/// // 100 --> True
|
/// // 100 --> True
|
||||||
|
Loading…
Reference in New Issue
Block a user