-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AllSegmentsWalkerBase new documentation #137
base: main
Are you sure you want to change the base?
Changes from all commits
d5ffa31
8b3574c
15e2219
1aedf15
7794022
1e58742
612af57
d325d15
b598dd9
0f9964a
3c54612
eeb35b3
56a0b4c
55e6fae
f541c3f
ccbd3c7
f275571
6ce8fe7
1c0eade
90dd4ce
804cd45
bc38b9a
57c4fdc
2af9353
79f9aa3
1ec0d84
292c04c
d22f982
27baa4c
c40fddc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,41 +6,34 @@ | |
namespace Platform.Collections.Segments.Walkers | ||
{ | ||
/// <summary> | ||
/// <para> | ||
/// Represents the all segments walker base. | ||
/// </para> | ||
/// <para></para> | ||
/// <para>Represents the base class for walkers through all possible segments of a sequence.</para> | ||
/// <para>Представляет базовый класс для проходчиков по всем возможным сегментам последовательности.</para> | ||
/// </summary> | ||
/// <seealso cref="AllSegmentsWalkerBase"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is this? seealso must be used inside tags like summary, param and so on |
||
/// <seealso cref="AllSegmentsWalkerBase{T}"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The same as above |
||
public abstract class AllSegmentsWalkerBase<T, TSegment> : AllSegmentsWalkerBase | ||
where TSegment : Segment<T> | ||
{ | ||
/// <summary> | ||
/// <para> | ||
/// The minimum string segment length. | ||
/// </para> | ||
/// <para></para> | ||
/// <para>A read-only field that represents the minimum length of the sequence segment.</para> | ||
/// <para>Поле только для чтения, которое представляет минимальную длину сегмента последовательности.</para> | ||
/// </summary> | ||
private readonly int _minimumStringSegmentLength; | ||
|
||
/// <summary> | ||
/// <para> | ||
/// Initializes a new <see cref="AllSegmentsWalkerBase"/> instance. | ||
/// </para> | ||
/// <para></para> | ||
/// <para>Constructor that initializes the field <see cref="_minimumStringSegmentLength"/>, inserts the default value there.</para> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Check how dotnet documentate their constructors: FileStream constructors |
||
/// <para>Конструктор, который инициализирует поле <see cref="_minimumStringSegmentLength"/> , вставляет туда значение по умолчанию.</para> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The same as above |
||
/// </summary> | ||
/// <param name="minimumStringSegmentLength"> | ||
/// <para>A minimum string segment length.</para> | ||
/// <para></para> | ||
/// <para>The parameter that takes a field <see cref="DefaultMinimumStringSegmentLength"/>.</para> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This description is not descriptive. Check how microsoft documentate parameters |
||
/// <para>Параметр, принимающий поле <see cref="DefaultMinimumStringSegmentLength"/>.</para> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The same as above |
||
/// </param> | ||
[MethodImpl(MethodImplOptions.AggressiveInlining)] | ||
protected AllSegmentsWalkerBase(int minimumStringSegmentLength) => _minimumStringSegmentLength = minimumStringSegmentLength; | ||
|
||
/// <summary> | ||
/// <para> | ||
/// Initializes a new <see cref="AllSegmentsWalkerBase"/> instance. | ||
/// </para> | ||
/// <para></para> | ||
/// <para>Constructor referencing another constructor by passing a field to its parameter <see cref="DefaultMinimumStringSegmentLength"/>.</para> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The same as above |
||
/// <para>Конструктор, ссылающийся на другой конструктор, передавая в его параметр поле <see cref="DefaultMinimumStringSegmentLength"/>.</para> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Конструктор, ссылающийся на свою перегрузку, передавая в его параметр поле There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The same as above |
||
/// </summary> | ||
[MethodImpl(MethodImplOptions.AggressiveInlining)] | ||
protected AllSegmentsWalkerBase() : this(DefaultMinimumStringSegmentLength) { } | ||
|
@@ -71,23 +64,23 @@ public virtual void WalkAll(IList<T> elements) | |
/// <para> | ||
/// Creates the segment using the specified elements. | ||
/// </para> | ||
/// <para></para> | ||
/// <para>Представляет базовый метод, для всех методов создания мегмента.</para> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This translation is not correct There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This documentation is incorrect. Check any documentation of abstract classes: Stream abstract class and its methods |
||
/// </summary> | ||
/// <param name="elements"> | ||
/// <para>The elements.</para> | ||
/// <para></para> | ||
/// <para>A list of elements.</para> | ||
/// <para>Список элементов.</para> | ||
/// </param> | ||
/// <param name="offset"> | ||
/// <para>The offset.</para> | ||
/// <para></para> | ||
/// <para>An offset relative to the <paramref name="elements"/> sequence from which the segment starts.</para> | ||
/// <para>Смещение относительно списка <paramref name="elements"/>, с которого начинается сегмент.</para> | ||
/// </param> | ||
/// <param name="length"> | ||
/// <para>The length.</para> | ||
/// <para></para> | ||
/// <param name="length"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Delete extra space |
||
/// <para>A segment's length.</para> | ||
/// <para>Длина сегмента.</para> | ||
/// </param> | ||
/// <returns> | ||
/// <para>The segment</para> | ||
/// <para></para> | ||
/// <para>Created megment</para> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where is an article? |
||
/// <para>Созданный мегмент</para> | ||
/// </returns> | ||
[MethodImpl(MethodImplOptions.AggressiveInlining)] | ||
protected abstract TSegment CreateSegment(IList<T> elements, int offset, int length); | ||
|
@@ -96,7 +89,7 @@ public virtual void WalkAll(IList<T> elements) | |
/// <para> | ||
/// Iterations the segment. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The description is not complete |
||
/// </para> | ||
/// <para></para> | ||
/// <para>Представляет базоый метод, для всех методов итерации.</para> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This documentation is incorrect. Check any documentation of abstract classes: Stream abstract class and its methods |
||
/// </summary> | ||
/// <param name="segment"> | ||
/// <para>The segment.</para> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The description is not complete |
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the pragma statement above because XML comments are not missing now