Fork me on GitHub
Show / Hide Table of Contents

Class ComposableAsyncDisposable

IAsyncDisposable implementation aggregating other IAsyncDisposable
Inheritance
System.Object
ComposableAsyncDisposable
Implements
IAsyncDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ComposableAsync
Assembly: ComposableAsync.Core.dll
Syntax
public sealed class ComposableAsyncDisposable : IAsyncDisposable

Constructors

| Improve this Doc View Source

ComposableAsyncDisposable()

Build an empty ComposableAsyncDisposable
Declaration
public ComposableAsyncDisposable()

Methods

| Improve this Doc View Source

Add<T>(T)

Add an IAsyncDisposable to the ComposableAsyncDisposable and returns it
Declaration
public T Add<T>(T disposable)
    where T : IAsyncDisposable
Parameters
Type Name Description
T disposable
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

DisposeAsync()

Dispose all the resources asynchronously
Declaration
public Task DisposeAsync()
Returns
Type Description
System.Threading.Tasks.Task

Implements

IAsyncDisposable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX