Skip to content
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

Update documentation for SuperLinq #495

Closed
wants to merge 124 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
e511b35
Add linqpad samples to nuget package
viceroypenguin Aug 17, 2023
c05d413
Update documentation for `AggregateRight`
viceroypenguin Aug 5, 2023
306ca05
Update documentation for `AssertCount`
viceroypenguin Aug 5, 2023
6af45a0
Update documentation for `Backsert`
viceroypenguin Aug 5, 2023
ce10631
Update documentation for `Aggregate`
viceroypenguin Aug 18, 2023
f34fe93
Update documentation for `Batch`
viceroypenguin Aug 18, 2023
0e854c3
Update documentation for `BindByIndex`
viceroypenguin Aug 18, 2023
0b6aae4
Update documentation for `Buffer`
viceroypenguin Aug 18, 2023
9f31752
Update documentation for `Case`
viceroypenguin Aug 18, 2023
8725dc4
Update documentation for `Catch`
viceroypenguin Aug 20, 2023
816e35e
Update documentation for `Choose`
viceroypenguin Aug 20, 2023
c0cb16e
Update documentation for `CollectionEqual`
viceroypenguin Aug 23, 2023
425c9af
Update documentation for `Consume` operator
viceroypenguin Aug 23, 2023
5a0a748
Update documentation for `CopyTo`
viceroypenguin Aug 23, 2023
673d06f
Update documentation for `CountDown`
viceroypenguin Aug 23, 2023
04cd8cf
Update documentation for `CountBy`
viceroypenguin Aug 23, 2023
a2b3cd8
Update documentation for Count Methods
viceroypenguin Aug 24, 2023
6c48914
Update documentation for `Defer`
viceroypenguin Aug 24, 2023
138ef1e
Update documentation for `DensePartialSort`
viceroypenguin Aug 26, 2023
a9883d1
Update documentation for `DistinctUntilChanged`
viceroypenguin Aug 26, 2023
101999c
Update documentation for `Do`
viceroypenguin Aug 30, 2023
fa51802
Update documentation for `DoWhile`
viceroypenguin Aug 30, 2023
5449796
Update documentation for `DistinctBy`
viceroypenguin Aug 30, 2023
eda7e86
Update documentation for `ElementAt`
viceroypenguin Aug 30, 2023
e74b961
Update documentation for `EndsWith`
viceroypenguin Aug 30, 2023
dc80dc0
Update documentation for `Evaluate`
viceroypenguin Aug 30, 2023
4b0cd44
Update documentation for `ExceptBy`
viceroypenguin Aug 30, 2023
6fdbb12
Update documentation for `EquiZip`
viceroypenguin Aug 31, 2023
ba97d6f
Update documentation for `FallbackIfEmpty`
viceroypenguin Aug 31, 2023
5e513b8
Update documentation for `Exclude`
viceroypenguin Aug 31, 2023
c192b36
Update documentation for `FillBackward`
viceroypenguin Aug 31, 2023
335ec9b
Update documentation for `FillForward`
viceroypenguin Sep 1, 2023
d4c4b57
Update documentation for `Finally`
viceroypenguin Sep 2, 2023
8cd7df2
Update documentation for `FindIndex`
viceroypenguin Sep 2, 2023
54a33b6
Update documentation for `FindLastIndex`
viceroypenguin Sep 3, 2023
1be2d80
Update documentation for `Flatten`
viceroypenguin Sep 4, 2023
a02f7b8
Update documentation for `Fold`
viceroypenguin Sep 4, 2023
95d6687
Update documentation for `ForEach`
viceroypenguin Sep 4, 2023
ebe093b
Update documentation for `From`
viceroypenguin Sep 6, 2023
da01e42
Update documentation for `FullGroupJoin`
viceroypenguin Sep 6, 2023
32ca469
Update documentation for `Generate`
viceroypenguin Sep 6, 2023
f7a9fef
Update documentation for `GetShortestPath`
viceroypenguin Oct 12, 2023
43cf9b0
Update documentation for `GetShortestPathCost`
viceroypenguin Oct 12, 2023
6ddf1ce
Update documentation for `GetShortestPaths`
viceroypenguin Oct 12, 2023
a162aa6
Update documentation for `GroupAdjacent`
viceroypenguin Oct 12, 2023
a5530fc
Update documentation for `HasDuplicates`
viceroypenguin Oct 13, 2023
b8ddaa7
Update documentation for `If`
viceroypenguin Oct 13, 2023
c040349
Update documentation for `Index`
viceroypenguin Oct 15, 2023
b341c81
Update documentation for `IndexBy`
viceroypenguin Oct 15, 2023
22f1d6c
Update documentation for `IndexOf`
viceroypenguin Oct 20, 2023
f59c194
Update documentation for `Insert`
viceroypenguin Oct 23, 2023
1bdc8d0
Update documentation for `Interleave`
viceroypenguin Oct 23, 2023
0ecb084
Update documentation for `Lag`
viceroypenguin Oct 26, 2023
aab0926
Update documentation for `LastIndexOf`
viceroypenguin Oct 27, 2023
c40d4b7
Update documentation for `Lead`
viceroypenguin Oct 27, 2023
a8d4aa3
Update documentation for `MaxItems`
viceroypenguin Oct 28, 2023
db9f941
Update documentation for `Memoize`
viceroypenguin Oct 28, 2023
5a1624a
Update documentation for `MinItems`
viceroypenguin Oct 28, 2023
e787c4b
Update documentation for `Move`
viceroypenguin Oct 30, 2023
41f50c1
Update documentation for `OnErrorResumeNext`
viceroypenguin Oct 31, 2023
4cf3725
Update documentation for `OrderBy` and `ThenBy`
viceroypenguin Oct 31, 2023
fae114c
Update documentation for `Pad`
viceroypenguin Nov 1, 2023
4dc415e
Update documentation for `PadStart`
viceroypenguin Nov 1, 2023
f375a37
Update documentation for `PartialSort`
viceroypenguin Nov 1, 2023
f06c81c
Update documentation for `Partition`
viceroypenguin Nov 2, 2023
b5a085f
Update documentation for `Permutations`
viceroypenguin Nov 2, 2023
9fcb67f
Update documentation for `Pipe`
viceroypenguin Nov 2, 2023
1f8b60c
Update documentation for `PreScan`
viceroypenguin Nov 2, 2023
7af3e75
Update documentation for `Random`
viceroypenguin Nov 3, 2023
998ca88
Update documentation for `RandomSubset`
viceroypenguin Nov 3, 2023
f5a9f64
Update documentation for `(Dense)Rank(By)`
viceroypenguin Nov 6, 2023
09e7a36
Update documentation for `AggregateBy`
viceroypenguin Nov 7, 2023
4fbecd1
Update documentation for `Publish`
viceroypenguin Nov 7, 2023
dcf69c7
Update documentation for `Repeat`
viceroypenguin Nov 7, 2023
a9919fc
Update documentation for `Replace`
viceroypenguin Nov 8, 2023
6c78ab4
Update documentation for `Retry`
viceroypenguin Nov 8, 2023
2aa9e5d
Update documentation for `Return`
viceroypenguin Nov 11, 2023
264eab8
Update documentation for `RunLengthEncode`
viceroypenguin Nov 11, 2023
8c193e2
Update documentation for `Scan`
viceroypenguin Nov 11, 2023
0af9a7e
Update documentation for `ScanBy`
viceroypenguin Nov 11, 2023
3ab1d76
Update documentation for `ScanRight`
viceroypenguin Nov 11, 2023
f31a263
Update documentation for `Segment`
viceroypenguin Nov 12, 2023
9985616
Update documentation for `Sequence`
viceroypenguin Nov 13, 2023
0ad74ca
Update documentation for `Share`
viceroypenguin Nov 13, 2023
05c27f5
Update documentation for `Shuffle`
viceroypenguin Nov 13, 2023
e00df95
Update documentation for `SkipUntil`
viceroypenguin Nov 13, 2023
e1a72eb
Update documentation for `SortedMerge(By)`
viceroypenguin Nov 14, 2023
a5dc17d
Update documentation for `Split`
viceroypenguin Nov 14, 2023
fcd6770
Update documentation for `StartsWith`
viceroypenguin Nov 14, 2023
f832a39
Update documentation for `Subsets`
viceroypenguin Nov 14, 2023
8bb2e8e
Fix documentation bugs
viceroypenguin Nov 14, 2023
2dadd03
Update documentation for `TagFirstLast`
viceroypenguin Nov 14, 2023
e190683
Update documentation for `TakeEvery`
viceroypenguin Nov 14, 2023
adb0825
Update documentation for `TakeUntil`
viceroypenguin Nov 14, 2023
5bd16b5
Update documentation for `Throw`
viceroypenguin Nov 14, 2023
9433972
Consistency on order of `<exception/>` and `<return/>`
viceroypenguin Nov 22, 2023
5532623
Add missing tags
viceroypenguin Nov 22, 2023
6b6bd5f
Clean up whitespace mistakes
viceroypenguin Nov 22, 2023
9d9066d
Update documenation for `Take`
viceroypenguin Nov 22, 2023
334ae16
Update documentation for `ToDictionary`
viceroypenguin Nov 22, 2023
f744224
Update documentation for `ValueTupleComparer`
viceroypenguin Nov 22, 2023
132d2c2
Update documentation for `ValueTupleEqualityComparer`
viceroypenguin Nov 22, 2023
cdc49e7
Update documentation for `Slice`
viceroypenguin Nov 22, 2023
6a08b45
Update documentation for `Cartesian`
viceroypenguin Nov 22, 2023
f3e3f17
Update documentation for `ToArrayByIndex`
viceroypenguin Nov 22, 2023
a795965
Update documentation for `ToDataTable`
viceroypenguin Nov 22, 2023
d6fbae6
Update documentation for `ToLookup`
viceroypenguin Nov 22, 2023
3e87aeb
Update documentation for `ToDelimitedString`
viceroypenguin Nov 22, 2023
72dccf7
Update documentation for `Transpose`
viceroypenguin Nov 22, 2023
e484718
Update documentation for `Traverse`
viceroypenguin Nov 22, 2023
d9f8cef
Update documentation for `Unfold`
viceroypenguin Nov 22, 2023
ef004c6
Update documentation for `TrySingle`
viceroypenguin Nov 22, 2023
b373f48
fix comment
viceroypenguin Nov 22, 2023
ba4471a
Update documentation for `Using`
viceroypenguin Nov 22, 2023
e232e4d
Update documentation for `Where`
viceroypenguin Nov 22, 2023
38c723f
Update documentation for `While`
viceroypenguin Nov 22, 2023
b908942
Update documentation for `WhereLag`
viceroypenguin Nov 22, 2023
53ea5ed
Update documentation for `WhereLead`
viceroypenguin Nov 22, 2023
da5f31b
Update documentation for `ZipMap`
viceroypenguin Nov 22, 2023
3fbe339
Update documentation for `ZipLongest`
viceroypenguin Nov 22, 2023
b0e597c
Update documentation for `ZipShortest`
viceroypenguin Nov 22, 2023
a6907be
Update documentation for `Window`
viceroypenguin Nov 22, 2023
ea0e521
Update documentation for `WindowLeft`
viceroypenguin Nov 22, 2023
411150b
Update documentation for `WindowRight`
viceroypenguin Nov 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
98 changes: 98 additions & 0 deletions Docs/SuperLinq.Docs/apidoc/SuperLinq.SuperEnumerable.Aggregate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
---
uid: SuperLinq.SuperEnumerable.Aggregate``10(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``2,System.Func{``2,``0,``2},``3,System.Func{``3,``0,``3},``4,System.Func{``4,``0,``4},``5,System.Func{``5,``0,``5},``6,System.Func{``6,``0,``6},``7,System.Func{``7,``0,``7},``8,System.Func{``8,``0,``8},System.Func{``1,``2,``3,``4,``5,``6,``7,``8,``9})
example: [*content]
---
For an example using a single seed and aggregate, please see <xref:System.Linq.Enumerable.Aggregate``3(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},System.Func{``1,``2})>.

This operator uses multiple seeds and aggregates and passes the final values to <code class="paramref">resultSelector</code>.
---
uid: SuperLinq.SuperEnumerable.Aggregate``3(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``2,System.Func{``2,``0,``2})
example: [*content]
---
For an example using a single seed and aggregate, please see <xref:System.Linq.Enumerable.Aggregate``2(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1})>.

This operator uses multiple seeds and aggregates and returns the final values in a <xref href="System.ValueTuple%602" data-throw-if-not-resolved="false"></xref>
---
uid: SuperLinq.SuperEnumerable.Aggregate``4(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``2,System.Func{``2,``0,``2},System.Func{``1,``2,``3})
example: [*content]
---
For an example using a single seed and aggregate, please see <xref:System.Linq.Enumerable.Aggregate``3(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},System.Func{``1,``2})>.

This operator uses multiple seeds and aggregates and passes the final values to <code class="paramref">resultSelector</code>.
---
uid: SuperLinq.SuperEnumerable.Aggregate``4(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``2,System.Func{``2,``0,``2},``3,System.Func{``3,``0,``3})
example: [*content]
---
For an example using a single seed and aggregate, please see <xref:System.Linq.Enumerable.Aggregate``2(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1})>.

This operator uses multiple seeds and aggregates and returns the final values in a <xref href="System.ValueTuple%603" data-throw-if-not-resolved="false"></xref>
---
uid: SuperLinq.SuperEnumerable.Aggregate``5(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``2,System.Func{``2,``0,``2},``3,System.Func{``3,``0,``3},System.Func{``1,``2,``3,``4})
example: [*content]
---
For an example using a single seed and aggregate, please see <xref:System.Linq.Enumerable.Aggregate``3(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},System.Func{``1,``2})>.

This operator uses multiple seeds and aggregates and passes the final values to <code class="paramref">resultSelector</code>.
---
uid: SuperLinq.SuperEnumerable.Aggregate``5(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``2,System.Func{``2,``0,``2},``3,System.Func{``3,``0,``3},``4,System.Func{``4,``0,``4})
example: [*content]
---
For an example using a single seed and aggregate, please see <xref:System.Linq.Enumerable.Aggregate``2(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1})>.

This operator uses multiple seeds and aggregates and returns the final values in a <xref href="System.ValueTuple%604" data-throw-if-not-resolved="false"></xref>
---
uid: SuperLinq.SuperEnumerable.Aggregate``6(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``2,System.Func{``2,``0,``2},``3,System.Func{``3,``0,``3},``4,System.Func{``4,``0,``4},System.Func{``1,``2,``3,``4,``5})
example: [*content]
---
For an example using a single seed and aggregate, please see <xref:System.Linq.Enumerable.Aggregate``3(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},System.Func{``1,``2})>.

This operator uses multiple seeds and aggregates and passes the final values to <code class="paramref">resultSelector</code>.
---
uid: SuperLinq.SuperEnumerable.Aggregate``6(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``2,System.Func{``2,``0,``2},``3,System.Func{``3,``0,``3},``4,System.Func{``4,``0,``4},``5,System.Func{``5,``0,``5})
example: [*content]
---
For an example using a single seed and aggregate, please see <xref:System.Linq.Enumerable.Aggregate``2(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1})>.

This operator uses multiple seeds and aggregates and returns the final values in a <xref href="System.ValueTuple%605" data-throw-if-not-resolved="false"></xref>
---
uid: SuperLinq.SuperEnumerable.Aggregate``7(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``2,System.Func{``2,``0,``2},``3,System.Func{``3,``0,``3},``4,System.Func{``4,``0,``4},``5,System.Func{``5,``0,``5},System.Func{``1,``2,``3,``4,``5,``6})
example: [*content]
---
For an example using a single seed and aggregate, please see <xref:System.Linq.Enumerable.Aggregate``3(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},System.Func{``1,``2})>.

This operator uses multiple seeds and aggregates and passes the final values to <code class="paramref">resultSelector</code>.
---
uid: SuperLinq.SuperEnumerable.Aggregate``7(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``2,System.Func{``2,``0,``2},``3,System.Func{``3,``0,``3},``4,System.Func{``4,``0,``4},``5,System.Func{``5,``0,``5},``6,System.Func{``6,``0,``6})
example: [*content]
---
For an example using a single seed and aggregate, please see <xref:System.Linq.Enumerable.Aggregate``2(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1})>.

This operator uses multiple seeds and aggregates and returns the final values in a <xref href="System.ValueTuple%606" data-throw-if-not-resolved="false"></xref>
---
uid: SuperLinq.SuperEnumerable.Aggregate``8(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``2,System.Func{``2,``0,``2},``3,System.Func{``3,``0,``3},``4,System.Func{``4,``0,``4},``5,System.Func{``5,``0,``5},``6,System.Func{``6,``0,``6},System.Func{``1,``2,``3,``4,``5,``6,``7})
example: [*content]
---
For an example using a single seed and aggregate, please see <xref:System.Linq.Enumerable.Aggregate``3(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},System.Func{``1,``2})>.

This operator uses multiple seeds and aggregates and passes the final values to <code class="paramref">resultSelector</code>.
---
uid: SuperLinq.SuperEnumerable.Aggregate``8(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``2,System.Func{``2,``0,``2},``3,System.Func{``3,``0,``3},``4,System.Func{``4,``0,``4},``5,System.Func{``5,``0,``5},``6,System.Func{``6,``0,``6},``7,System.Func{``7,``0,``7})
example: [*content]
---
For an example using a single seed and aggregate, please see <xref:System.Linq.Enumerable.Aggregate``2(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1})>.

This operator uses multiple seeds and aggregates and returns the final values in a <xref href="System.ValueTuple%607" data-throw-if-not-resolved="false"></xref>
---
uid: SuperLinq.SuperEnumerable.Aggregate``9(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``2,System.Func{``2,``0,``2},``3,System.Func{``3,``0,``3},``4,System.Func{``4,``0,``4},``5,System.Func{``5,``0,``5},``6,System.Func{``6,``0,``6},``7,System.Func{``7,``0,``7},System.Func{``1,``2,``3,``4,``5,``6,``7,``8})
example: [*content]
---
For an example using a single seed and aggregate, please see <xref:System.Linq.Enumerable.Aggregate``3(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},System.Func{``1,``2})>.

This operator uses multiple seeds and aggregates and passes the final values to <code class="paramref">resultSelector</code>.
---
uid: SuperLinq.SuperEnumerable.Aggregate``9(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1},``2,System.Func{``2,``0,``2},``3,System.Func{``3,``0,``3},``4,System.Func{``4,``0,``4},``5,System.Func{``5,``0,``5},``6,System.Func{``6,``0,``6},``7,System.Func{``7,``0,``7},``8,System.Func{``8,``0,``8})
example: [*content]
---
For an example using a single seed and aggregate, please see <xref:System.Linq.Enumerable.Aggregate``2(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``1,``0,``1})>.

This operator uses multiple seeds and aggregates and returns the final values in a <xref href="System.ValueTuple%608" data-throw-if-not-resolved="false"></xref>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
uid: SuperLinq.SuperEnumerable.AggregateBy``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},``2,System.Func{``2,``0,``2},System.Collections.Generic.IEqualityComparer{``1})
example: [*content]
---
The following code example demonstrates how to aggregate values by key in a sequence, using `AggregateBy`.
[!code-csharp[](SuperLinq/AggregateBy/AggregateBy1.linq#L6-)]

---
uid: SuperLinq.SuperEnumerable.AggregateBy``3(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``1},System.Func{``1,``2},System.Func{``2,``0,``2},System.Collections.Generic.IEqualityComparer{``1})
example: [*content]
---
The following code example demonstrates how to aggregate values by key in a sequence, using `AggregateBy`.
[!code-csharp[](SuperLinq/AggregateBy/AggregateBy2.linq#L6-)]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
uid: SuperLinq.SuperEnumerable.AggregateRight``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,``0,``0})
example: [*content]
---
The following code example demonstrates how to collect numbers into a string using `AggregateRight`.
[!code-csharp[](SuperLinq/AggregateRight/AggregateRight1.linq#L6-)]
---
uid: SuperLinq.SuperEnumerable.AggregateRight``2(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``0,``1,``1})
example: [*content]
---
The following code example demonstrates how to collect numbers into a string using `AggregateRight`.
[!code-csharp[](SuperLinq/AggregateRight/AggregateRight2.linq#L6-)]
---
uid: SuperLinq.SuperEnumerable.AggregateRight``3(System.Collections.Generic.IEnumerable{``0},``1,System.Func{``0,``1,``1},System.Func{``1,``2})
example: [*content]
---
The following code example demonstrates how to collect numbers into a string using `AggregateRight`.
[!code-csharp[](SuperLinq/AggregateRight/AggregateRight3.linq#L6-)]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
uid: SuperLinq.SuperEnumerable.AssertCount``1(System.Collections.Generic.IEnumerable{``0},System.Int32)
example: [*content]
---
The following code example demonstrates how to validate the length of a sequence using `AssertCount`.
[!code-csharp[](SuperLinq/AssertCount/AssertCount.linq#L6-)]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
uid: SuperLinq.SuperEnumerable.AtLeast``1(System.Collections.Generic.IEnumerable{``0},System.Int32)
example: [*content]
---
The following code example demonstrates how to check that a sequence has a minimum size using `AtLeast`.
[!code-csharp[](SuperLinq/AtLeast/AtLeast.linq#L6-)]
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
uid: SuperLinq.SuperEnumerable.AtMost``1(System.Collections.Generic.IEnumerable{``0},System.Int32)
example: [*content]
---
The following code example demonstrates how to check that a sequence has a maximum size using `AtMost`.
[!code-csharp[](SuperLinq/AtMost/AtMost.linq#L6-)]
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
uid: SuperLinq.SuperEnumerable.Backsert``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Int32)
example: [*content]
---
> [!NOTE]
> `Backsert` has been deprecated in favor of `Insert`. Please see [here](xref:SuperLinq.SuperEnumerable.Insert``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0},System.Index)) for documentation on the equivalent method.

The following code example demonstrates how to insert one sequence into another, using `Backsert`.
[!code-csharp[](SuperLinq/Backsert/Backsert.linq#L6-)]
24 changes: 24 additions & 0 deletions Docs/SuperLinq.Docs/apidoc/SuperLinq.SuperEnumerable.Batch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
uid: SuperLinq.SuperEnumerable.Batch``1(System.Collections.Generic.IEnumerable{``0},System.Int32)
example: [*content]
---
The following code example demonstrates how to break a sequence into chunks of a specific size, using `Batch`.
[!code-csharp[](SuperLinq/Batch/Batch1.linq#L6-)]
---
uid: SuperLinq.SuperEnumerable.Batch``2(System.Collections.Generic.IEnumerable{``0},System.Int32,System.Func{System.Collections.Generic.IReadOnlyList{``0},``1})
example: [*content]
---
The following code example demonstrates how to break a sequence into chunks of a specific size, using `Batch`.
[!code-csharp[](SuperLinq/Batch/Batch2.linq#L6-)]
---
uid: SuperLinq.SuperEnumerable.Batch``2(System.Collections.Generic.IEnumerable{``0},``0[],System.Func{System.Collections.Generic.IReadOnlyList{``0},``1})
example: [*content]
---
The following code example demonstrates how to break a sequence into chunks of a specific size, using `Batch`.
[!code-csharp[](SuperLinq/Batch/Batch3.linq#L6-)]
---
uid: SuperLinq.SuperEnumerable.Batch``2(System.Collections.Generic.IEnumerable{``0},``0[],System.Int32,System.Func{System.Collections.Generic.IReadOnlyList{``0},``1})
example: [*content]
---
The following code example demonstrates how to break a sequence into chunks of a specific size, using `Batch`.
[!code-csharp[](SuperLinq/Batch/Batch4.linq#L6-)]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
uid: SuperLinq.SuperEnumerable.BindByIndex``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{System.Int32})
example: [*content]
---
The following code example demonstrates how to select elements from a sequence by index, using `BindByIndex`.
[!code-csharp[](SuperLinq/BindByIndex/BindByIndex1.linq#L6-)]

---
uid: SuperLinq.SuperEnumerable.BindByIndex``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{System.Int32},System.Func{``0,System.Int32,``1},System.Func{System.Int32,``1})
example: [*content]
---
The following code example demonstrates how to select elements from a sequence by index, using `BindByIndex`.
[!code-csharp[](SuperLinq/BindByIndex/BindByIndex2.linq#L6-)]

13 changes: 13 additions & 0 deletions Docs/SuperLinq.Docs/apidoc/SuperLinq.SuperEnumerable.Buffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
uid: SuperLinq.SuperEnumerable.Buffer``1(System.Collections.Generic.IEnumerable{``0},System.Int32)
example: [*content]
---
The following code example demonstrates how to buffer a sequence using `Buffer`.
[!code-csharp[](SuperLinq/Buffer/Buffer1.linq#L6-)]

---
uid: SuperLinq.SuperEnumerable.Buffer``1(System.Collections.Generic.IEnumerable{``0},System.Int32,System.Int32)
example: [*content]
---
The following code example demonstrates how to buffer a sequence using `Buffer`.
[!code-csharp[](SuperLinq/Buffer/Buffer2.linq#L6-)]
Loading
Loading