C# Class MongoDB.Shared.CanonicalDisposableStruct

Represents a struct that owns one or more disposable resources.
Afficher le fichier Open project: m969/BodyET

Méthodes publiques

Méthode Description
CanonicalDisposableStruct ( IDisposable disposableResource ) : System

Initializes a new instance of the CanonicalDisposableStruct struct.

Dispose ( ) : void

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

SomeMethod ( ) : void

Some method.

Private Methods

Méthode Description
Dispose ( bool disposing ) : void
ThrowIfDisposed ( ) : void

Method Details

CanonicalDisposableStruct() public méthode

Initializes a new instance of the CanonicalDisposableStruct struct.
public CanonicalDisposableStruct ( IDisposable disposableResource ) : System
disposableResource IDisposable A disposable resource.
Résultat System

Dispose() public méthode

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

SomeMethod() public méthode

Some method.
public SomeMethod ( ) : void
Résultat void