C# Class Deveel.Data.Context

The base implementation of a IContext that defines a scope where to services are stored.
This object is convenient for the implementation of other contexts, since it handles the initialization and disposal of the IScope that it wraps.
Inheritance: IContext
Exibir arquivo Open project: deveel/deveeldb

Private Properties

Property Type Description
InitScope void

Public Methods

Method Description
Dispose ( ) : void

Protected Methods

Method Description
Context ( ) : System

Constructs a new context that has no parent.

Context ( IContext parent ) : System

Constructs a context that is the child of the given other context.

The parent context is not required to be not null: if null then this context will have no parent.

Dispose ( bool disposing ) : void

Private Methods

Method Description
InitScope ( ) : void

Method Details

Context() protected method

Constructs a new context that has no parent.
protected Context ( ) : System
return System

Context() protected method

Constructs a context that is the child of the given other context.
The parent context is not required to be not null: if null then this context will have no parent.
protected Context ( IContext parent ) : System
parent IContext The optional parent context.
return System

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void