Class AutoClean
Helper class to automatically cleanup.
Implements
Inherited Members
Namespace: Microsoft.Graph.Communications.Common
Assembly: Microsoft.Graph.Communications.Common.dll
Syntax
public class AutoClean : Disposable, IDisposable
Constructors
AutoClean(Action)
Initializes a new instance of the AutoClean class.
Declaration
public AutoClean(Action action)
Parameters
Type | Name | Description |
---|---|---|
Action | action | Cleanup action. |
Methods
Dispose(Boolean)
Protected implementation of dispose. This will be triggered only once regardless if manually disposed or garbage collected.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing |
|