UsingBlock Class
UsingBlock Class Breeze.sharp
For use with a using (Using in Visual Basic) statement to perform pre- and post- actions.
Inheritance Hierarchy

SystemObject
  Breeze.Sharp.CoreUsingBlock

Namespace: Breeze.Sharp.Core
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax

public class UsingBlock : IDisposable

The UsingBlock type exposes the following members.

Constructors

  NameDescription
Public methodUsingBlock
Create a new instance with the specified actions.
Top
Methods

  NameDescription
Public methodStatic memberCreateT
Create a UsingBlock.
Public methodDispose
The postAction is performed at disposal of the UsingBlock instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties

  NameDescription
Protected propertyPostAction
For internal use only.
Top
See Also

Reference