Represents a group of disposable resources that are disposed together.
More...
|
abstract void | Dispose () |
| Disposes all disposables in the group.
|
|
|
static ICancelable | Create (IDisposable disposable1, IDisposable disposable2) |
| Creates a new group containing two disposable resources that are disposed together. More...
|
|
static ICancelable | Create (IDisposable disposable1, IDisposable disposable2, IDisposable disposable3) |
| Creates a new group containing three disposable resources that are disposed together. More...
|
|
static ICancelable | Create (IDisposable disposable1, IDisposable disposable2, IDisposable disposable3, IDisposable disposable4) |
| Creates a new group containing four disposable resources that are disposed together. More...
|
|
static ICancelable | Create (params IDisposable[] disposables) |
| Creates a new group of disposable resources that are disposed together. More...
|
|
static ICancelable | CreateUnsafe (IDisposable[] disposables) |
| Creates a new group of disposable resources that are disposed together. Array is not copied, it's unsafe but optimized. More...
|
|
static ICancelable | Create (IEnumerable< IDisposable > disposables) |
| Creates a new group of disposable resources that are disposed together. More...
|
|
Represents a group of disposable resources that are disposed together.
◆ Create() [1/5]
static ICancelable UniRx.StableCompositeDisposable.Create |
( |
IDisposable |
disposable1, |
|
|
IDisposable |
disposable2 |
|
) |
| |
|
static |
Creates a new group containing two disposable resources that are disposed together.
- Parameters
-
disposable1 | The first disposable resoruce to add to the group. |
disposable2 | The second disposable resoruce to add to the group. |
- Returns
- Group of disposable resources that are disposed together.
◆ Create() [2/5]
static ICancelable UniRx.StableCompositeDisposable.Create |
( |
IDisposable |
disposable1, |
|
|
IDisposable |
disposable2, |
|
|
IDisposable |
disposable3 |
|
) |
| |
|
static |
Creates a new group containing three disposable resources that are disposed together.
- Parameters
-
disposable1 | The first disposable resoruce to add to the group. |
disposable2 | The second disposable resoruce to add to the group. |
disposable3 | The third disposable resoruce to add to the group. |
- Returns
- Group of disposable resources that are disposed together.
◆ Create() [3/5]
static ICancelable UniRx.StableCompositeDisposable.Create |
( |
IDisposable |
disposable1, |
|
|
IDisposable |
disposable2, |
|
|
IDisposable |
disposable3, |
|
|
IDisposable |
disposable4 |
|
) |
| |
|
static |
Creates a new group containing four disposable resources that are disposed together.
- Parameters
-
disposable1 | The first disposable resoruce to add to the group. |
disposable2 | The second disposable resoruce to add to the group. |
disposable3 | The three disposable resoruce to add to the group. |
disposable4 | The four disposable resoruce to add to the group. |
- Returns
- Group of disposable resources that are disposed together.
◆ Create() [4/5]
static ICancelable UniRx.StableCompositeDisposable.Create |
( |
IEnumerable< IDisposable > |
disposables | ) |
|
|
static |
Creates a new group of disposable resources that are disposed together.
- Parameters
-
disposables | Disposable resources to add to the group. |
- Returns
- Group of disposable resources that are disposed together.
◆ Create() [5/5]
static ICancelable UniRx.StableCompositeDisposable.Create |
( |
params IDisposable[] |
disposables | ) |
|
|
static |
Creates a new group of disposable resources that are disposed together.
- Parameters
-
disposables | Disposable resources to add to the group. |
- Returns
- Group of disposable resources that are disposed together.
◆ CreateUnsafe()
static ICancelable UniRx.StableCompositeDisposable.CreateUnsafe |
( |
IDisposable[] |
disposables | ) |
|
|
static |
Creates a new group of disposable resources that are disposed together. Array is not copied, it's unsafe but optimized.
- Parameters
-
disposables | Disposable resources to add to the group. |
- Returns
- Group of disposable resources that are disposed together.
◆ IsDisposed
abstract bool UniRx.StableCompositeDisposable.IsDisposed |
|
get |
Gets a value that indicates whether the object is disposed.
Implements UniRx.ICancelable.
The documentation for this class was generated from the following file:
- StableCompositeDisposable.cs