C# Class Keyczar.Util.NondestructiveStreamReset

Resets a stream when it's disposed or called reset
Inheritance: IDisposable
Afficher le fichier Open project: jbtule/keyczar-dotnet

Méthodes publiques

Méthode Description
Close ( ) : void

Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

NondestructiveStreamReset ( Stream stream ) : System

Initializes a new instance of the NondestructiveStreamReset class.

Reset ( ) : void

Resets this Stream Position.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the T:System.IO.Stream and optionally releases the managed resources.

Method Details

Close() public méthode

Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
public Close ( ) : void
Résultat void

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Releases the unmanaged resources used by the T:System.IO.Stream and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

NondestructiveStreamReset() public méthode

Initializes a new instance of the NondestructiveStreamReset class.
public NondestructiveStreamReset ( Stream stream ) : System
stream Stream The stream.
Résultat System

Reset() public méthode

Resets this Stream Position.
public Reset ( ) : void
Résultat void