CmdMessenger
3.0
CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
|
The dispose stack takes manages disposal of objects that are pushed onto the stack. When the stack is disposed all objects are disposed (in reversed order). More...
Public Member Functions | |
T | PushFront< T > (T newObject) |
Pushes a disposable object under the DisposeStack. | |
T | Push< T > (T newObject) |
Pushes a disposable object under the DisposeStack. | |
void | Push (params IDisposable[] objects) |
Push an arbitrary number of disposable objects onto the stack in one call. | |
void | Dispose () |
Dispose all items within the dispose stack. |
The dispose stack takes manages disposal of objects that are pushed onto the stack. When the stack is disposed all objects are disposed (in reversed order).
Dispose all items within the dispose stack.
void CommandMessenger.DisposeStack.Push | ( | params IDisposable[] | objects | ) |
Push an arbitrary number of disposable objects onto the stack in one call.
objects | The disposable objects |
T CommandMessenger.DisposeStack.Push< T > | ( | T | newObject | ) |
Pushes a disposable object under the DisposeStack.
T | Type of object pushed |
newObject | The object pushed on the stack |
T | : | IDisposable |
T CommandMessenger.DisposeStack.PushFront< T > | ( | T | newObject | ) |
Pushes a disposable object under the DisposeStack.
T | Type of object pushed |
newObject | The object pushed under the stack |
T | : | IDisposable |