For use with a using (Using in Visual Basic) statement to perform pre- and post- actions.
Inheritance Hierarchy
Breeze.Sharp.CoreUsingBlock
Namespace: Breeze.Sharp.Core
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax
The UsingBlock type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| UsingBlock |
Create a new instance with the specified actions.
|
Methods
| Name | Description | |
|---|---|---|
| CreateT |
Create a UsingBlock.
| |
| Dispose |
The postAction is performed at disposal of the UsingBlock instance.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| PostAction |
For internal use only.
|
See Also