From ee3b53ab7f616b06f221fe1f30184f1d1cb259dd Mon Sep 17 00:00:00 2001 From: Jakub Baranowski Date: Wed, 26 Oct 2022 13:51:29 +0200 Subject: [PATCH] Some comments --- framework/src/Volo.Abp.Core/Volo/Abp/DisposeAction.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/DisposeAction.cs b/framework/src/Volo.Abp.Core/Volo/Abp/DisposeAction.cs index c6610efb44..cee793b41f 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/DisposeAction.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/DisposeAction.cs @@ -28,10 +28,21 @@ public class DisposeAction : IDisposable } } +/// +/// This class can be used to provide an action when +/// Dipose method is called. +/// public class DisposeAction : IDisposable { private readonly Action _action; [CanBeNull] private readonly T _parameter; + + /// + /// Creates a new object. + /// + /// Action to be executed when this object is disposed. + /// /// The parameter of the action. + /// The type of the parameter of the action. public DisposeAction(Action action, T parameter) { Check.NotNull(action, nameof(action));