You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/FluentCommand/ConcurrencyToken.cs
+112-4Lines changed: 112 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,15 @@ namespace FluentCommand;
5
5
/// <summary>
6
6
/// A structure to hold concurrency token
7
7
/// </summary>
8
+
/// <remarks>
9
+
/// This structure is commonly used to represent SQL Server <c>rowversion</c> (also known as <c>timestamp</c>) columns for optimistic concurrency control.
/// Gets the first element from the <paramref name="source"/> that passes the test specified by <paramref name="predicate" />;
9
+
/// Gets the first element from the <paramref name="source"/> that passes the test specified by <paramref name="predicate" />;
14
10
/// otherwise the <paramref name="valueFactory"/> is called and the result is added to the source.
15
11
/// </summary>
16
12
/// <typeparam name="T">The type of the elements of <paramref name="source" />.</typeparam>
17
13
/// <param name="source">An <see cref="T:System.Collections.Generic.ICollection`1" /> to get or add an element from.</param>
18
14
/// <param name="predicate">A function to test each element for a condition.</param>
19
15
/// <param name="valueFactory">The function used to generate a value when not found in the collection.</param>
20
16
/// <returns>
21
-
/// The value from <paramref name="valueFactory"/> if <paramref name="source" /> is empty or if no element passes the test specified by <paramref name="predicate" />;
17
+
/// The value from <paramref name="valueFactory"/> if <paramref name="source" /> is empty or if no element passes the test specified by <paramref name="predicate" />;
22
18
/// otherwise, the first element in <paramref name="source" /> that passes the test specified by <paramref name="predicate" />.
0 commit comments