Show / Hide Table of Contents

Class DisposableDelegate

Class that executes a delegate on disposal.

Inheritance
System.Object
DisposableDelegate
Namespace: Cortex.Net.Core
Assembly: Cortex.Net.dll
Syntax
public sealed class DisposableDelegate : IDisposable

Constructors

| Improve this Doc View Source

DisposableDelegate(Action)

Initializes a new instance of the DisposableDelegate class.

Declaration
public DisposableDelegate(Action action)
Parameters
Type Name Description
Action action

The delegate to execute on disposal.

Methods

| Improve this Doc View Source

Dispose()

Executes the delegate that was encapsulated by this DisposableDelegate.

Declaration
public void Dispose()

Extension Methods

TraceExtensions.Trace<TObject, TMember>(TObject, Expression<Func<TObject, TMember>>, TraceMode)
ReactiveObjectTypeUtilExtensions.GetObservable(Object)
ReactiveObjectTypeUtilExtensions.GetObservable<TObject, TMember>(TObject, Expression<Func<TObject, TMember>>)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX