Definitions Flashcards
Define Activator
Part of a Registration that, given a Context and a set of Parameters, can create a Component Instance bound to that Context.
define: Argument
A formal argument to a constructor on a .NET type.
define: Component
A body of code that declares the Services it provides and the Dependencies it consumes.
define: Instance
A .NET object obtained by Activating a Component that provides Services within a Container (also Component Instance).
define: Container
A construct that manages the Components that make up an application.
define: Context
A bounded region in which a specific set of Services is available.
define: Dependency
A Service required by a Component.
define: Lifetime
A duration bounded by the Activation of an Instance and its disposal.
define: Parameter
Non-Service objects used to configure a Component
define: Registration
The act of adding and configuring a Component for use in a Container, and the information associated with this process.
define: Scope
The specific Context in which Instances of a Component will be shared by other Components that depend on their Services
define: Service
A well-defined behavioral contract shared between a providing and a consuming Component; generally, these are interfaces or some abstraction of a Component.