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
/// Acquires a lock and executes the provided asynchronous <see cref="ValueTask"/> operation.
50
+
/// Use <c>Lock(valueTaskWorker: () => { actions... })</c> to specify it is a <see cref="ValueTask"/>.
51
+
/// Do not use the dummy parameter.
52
+
/// </summary>
53
+
/// <remarks>
54
+
/// The method is specifically designed for <see cref="ValueTask"/> operations. The second parameter is a dummy and should not be used.
55
+
/// </remarks>
56
+
/// <param name="valueTaskWorker">
57
+
/// The <see cref="ValueTask"/> worker delegate that represents the asynchronous operation to be performed under the lock.
58
+
/// </param>
59
+
/// <param name="_">
60
+
/// <b>DUMMY PARAMETER - DO NOT USE.</b> This parameter is included for prioritizing the methods.
61
+
/// </param>
62
+
/// <returns>
63
+
/// A <see cref="Task"/> that represents the asynchronous operation.
64
+
/// </returns>
65
+
[System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.NamingRules","SA1313:Parameter names should begin with lower-case letter",Justification="Is an empty parameter")]
/// Acquires a lock and executes the provided asynchronous <see cref="ValueTask"/> operation.
87
+
/// Use <c>Lock(valueTaskWorker: () => { actions... })</c> to specify it is a <see cref="ValueTask"/>.
88
+
/// Do not use the dummy parameter.
89
+
/// </summary>
90
+
/// <remarks>
91
+
/// The method is specifically designed for <see cref="ValueTask"/> operations. The second parameter is a dummy and should not be used.
92
+
/// </remarks>
93
+
/// <param name="valueTaskWorker">
94
+
/// The <see cref="ValueTask"/> worker delegate that represents the asynchronous operation to be performed under the lock.
95
+
/// </param>
96
+
/// <param name="_">
97
+
/// <b>DUMMY PARAMETER - DO NOT USE.</b> This parameter is included for prioritizing the methods.
98
+
/// </param>
99
+
/// <returns>
100
+
/// A <see cref="Task"/> that represents the asynchronous operation.
101
+
/// </returns>
102
+
[System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.NamingRules","SA1313:Parameter names should begin with lower-case letter",Justification="Is an empty parameter")]
0 commit comments