File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ namespace Microsoft.Data.SqlClient
11
11
// avoiding the use of closures and allowing caching/reuse of the instances for frequently used async
12
12
// calls
13
13
//
14
- // DO derive from this and seal and your class
14
+ // DO derive from this and seal your class
15
15
// DO add additional fields or properties needed for the async operation and then override Clear to zero them
16
16
// DO override AfterClear and use the owner parameter to return the object to a cache location if you have one, this is the purpose of the method
17
17
// CONSIDER creating your own Set method that calls the base Set rather than providing a parameterized ctor, it is friendlier to caching
18
- // DO NOT use this class after Dispose has been called. It will not throw ObjectDisposedException but it will be a cleared object
18
+ // DO NOT use this class' state after Dispose has been called. It will not throw ObjectDisposedException but it will be a cleared object
19
19
20
20
internal abstract class AAsyncCallContext < TOwner , TTask > : IDisposable
21
21
where TOwner : class
@@ -50,7 +50,7 @@ protected void ClearCore()
50
50
}
51
51
52
52
/// <summary>
53
- /// overrride this method to cleanup instance data before ClearCore is called which will blank the base data
53
+ /// override this method to cleanup instance data before ClearCore is called which will blank the base data
54
54
/// </summary>
55
55
protected virtual void Clear ( )
56
56
{
@@ -61,7 +61,6 @@ protected virtual void Clear()
61
61
/// </summary>
62
62
protected virtual void AfterCleared ( TOwner owner )
63
63
{
64
-
65
64
}
66
65
67
66
public void Dispose ( )
You can’t perform that action at this time.
0 commit comments