Targeting System 2.0.0
Plugin for multipurpose targeting and visual effects.
UniRx.StableCompositeDisposable Class Referenceabstract

Represents a group of disposable resources that are disposed together. More...

Inheritance diagram for UniRx.StableCompositeDisposable:
UniRx.ICancelable

Public Member Functions

abstract void Dispose ()
 Disposes all disposables in the group.
 

Static Public Member Functions

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...
 

Properties

abstract bool IsDisposed [get]
 Gets a value that indicates whether the object is disposed. More...
 
- Properties inherited from UniRx.ICancelable
bool IsDisposed [get]
 

Detailed Description

Represents a group of disposable resources that are disposed together.

Member Function Documentation

◆ 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
disposable1The first disposable resoruce to add to the group.
disposable2The 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
disposable1The first disposable resoruce to add to the group.
disposable2The second disposable resoruce to add to the group.
disposable3The 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
disposable1The first disposable resoruce to add to the group.
disposable2The second disposable resoruce to add to the group.
disposable3The three disposable resoruce to add to the group.
disposable4The 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
disposablesDisposable 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
disposablesDisposable 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
disposablesDisposable resources to add to the group.
Returns
Group of disposable resources that are disposed together.

Property Documentation

◆ 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: