Skip to content

Commit

Permalink
Create GenericCollectionMethodsBase.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Misha-272 authored Jan 9, 2021
1 parent d0be928 commit 1d954bf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ public abstract class GenericCollectionMethodsBase<TElement>
protected virtual TElement GetZero() => default;

/// <summary>
/// <para>Presents the Range in readable format.</para>
/// <para>Представляет диапазон в удобном для чтения формате.</para>
/// <para>Returns a null constant of type <see. Cref="EqualToZero" />.</para>
/// <para>Возвращает нулевую константу типа <see cref="EqualToZero" />.</para>
/// </summary>
/// <returns><para>String representation of the Range.</para><para>Строковое представление диапазона.</para></returns>
/// <returns><para>A null constant of type <see cref="EqualToZero" />.</para><para>Нулевая константа типа <см. Cref="EqualToZero" />.</para></returns>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
protected virtual bool EqualToZero(TElement value) => EqualityComparer.Equals(value, Zero);

Expand Down

0 comments on commit 1d954bf

Please sign in to comment.