diff --git a/csharp/Platform.Ranges/EnsureExtensions.cs b/csharp/Platform.Ranges/EnsureExtensions.cs index 1747d55..cb2267e 100644 --- a/csharp/Platform.Ranges/EnsureExtensions.cs +++ b/csharp/Platform.Ranges/EnsureExtensions.cs @@ -225,7 +225,7 @@ public static void ArgumentInRange(this EnsureAlwaysExtensionRoot roo /// /// Type of argument.Тип аргумента. /// The extension root to which this method is bound.Корень-расширения, к которому привязан этот метод. - /// + /// The argument's value.Значение аргумента. /// The range restriction.Ограничение в виде диапазона. /// The argument's name.Имя аргумента. /// The thrown exception's message building .Собирающая сообщение для выбрасываемого исключения . @@ -238,7 +238,7 @@ public static void ArgumentInRange(this EnsureAlwaysExtensionRoot roo /// /// Type of argument.Тип аргумента. /// The extension root to which this method is bound.Корень-расширения, к которому привязан этот метод. - /// + /// The argument's value.Значение аргумента. /// The range restriction.Ограничение в виде диапазона. /// The argument's name.Имя аргумента. /// The message of the thrown exception.Сообщение выбрасываемого исключения. @@ -251,7 +251,7 @@ public static void ArgumentInRange(this EnsureAlwaysExtensionRoot roo /// /// Type of argument.Тип аргумента. /// The extension root to which this method is bound.Корень-расширения, к которому привязан этот метод. - /// + /// The argument's value.Значение аргумента. /// The range restriction.Ограничение в виде диапазона. /// The argument's name.Имя аргумента. [Conditional("DEBUG")] @@ -288,7 +288,7 @@ public static void ArgumentInRange(this EnsureAlwaysExtensionRoot roo /// /// Type of argument.Тип аргумента. /// The extension root to which this method is bound.Корень-расширения, к которому привязан этот метод. - /// + /// The argument's value.Значение аргумента. /// The range restriction.Ограничение в виде диапазона. [Conditional("DEBUG")] public static void ArgumentInRange(this EnsureOnDebugExtensionRoot root, TArgument argument, Range range) => Ensure.Always.ArgumentInRange(argument, range, null); diff --git a/csharp/Platform.Ranges/Range[T].cs b/csharp/Platform.Ranges/Range[T].cs index ab2f8fe..702c809 100644 --- a/csharp/Platform.Ranges/Range[T].cs +++ b/csharp/Platform.Ranges/Range[T].cs @@ -9,6 +9,7 @@ namespace Platform.Ranges /// Represents a range between minimum and maximum values. /// Представляет диапазон между минимальным и максимальным значениями. /// + /// The type of the values that define the range bounds.Тип значений, определяющих границы диапазона. /// /// Based on the question at StackOverflow. /// Основано на вопросе в StackOverflow. @@ -118,9 +119,10 @@ public Range(T minimum, T maximum) public override bool Equals(object obj) => obj is Range range ? Equals(range) : false; /// - /// Calculates the hash code for the current instance. + /// Calculates the hash code for the current instance. + /// Вычисляет хэш-код для текущего экземпляра . /// - /// The hash code for the current instance. + /// The hash code for the current instance.Хэш-код для текущего экземпляра . [MethodImpl(MethodImplOptions.AggressiveInlining)] public override int GetHashCode() => (Minimum, Maximum).GetHashCode();