Castle.Core
Namespace with 44 public types
Classes
BoundToAttribute
Indicates that the target components wants instance lifetime and reuse scope to be bound to another component further up the object graph.
Good scenario for this would be unit of work bound to a presenter in a two tier MVP application.
The attribute must point to a type
having default accessible constructor and public method matching signature of Func<IHandler[], IHandler> delegate.
CastleComponentAttribute
This attribute is useful only when you want to register all components
on an assembly as a batch process.
By doing so, the batch register will look
for this attribute to distinguish components from other classes.
ComponentActivatorAttribute
Associates a custom activator with a component
ComponentDependencyModel
ComponentModel
Represents the collection of information and meta information collected about a component.
ComponentName
ComponentProxyBehaviorAttribute
Specifies the proxying behavior for a component.
ConstructorCandidate
Represents a constructor of the component
that the container can use to initialize it properly.
ConstructorCandidateCollection
Collection of
ConstructorDependencyModel
CustomLifestyleAttribute
Indicates that the target components wants a custom lifestyle.
DependencyModel
Represents a dependency (other component or a
fixed value available through external configuration).
DependencyModelCollection
Collection of .
DoNotSelectAttribute
Marks as constructor to be skipped and not be selected
by the IoC container during new component activation
DoNotWireAttribute
Marks as property to be skipped and not be wired
by the IoC container
InterceptorAttribute
Used to declare that a component wants interceptors acting on it.
Out of the box recognized only if applied on component's implementation class.
InterceptorReference
Represents an reference to a Interceptor component.
InterceptorReferenceCollection
Collection of
LifecycleConcernsCollection
Represents a collection of ordered lifecycle concerns.
MethodMetaModel
Represents meta information associated with a method
(not yet defined)
MethodMetaModelCollection
Collection of
ParameterModel
Represents a parameter. Usually the parameter
comes from the external world, ie, an external configuration.
ParameterModelCollection
Collection of
PerThreadAttribute
Indicates that the target components wants a
per thread lifestyle.
PerWebRequestAttribute
Indicates that the target components wants a
per web request lifestyle.
PooledAttribute
Indicates that the target components wants a
pooled lifestyle.
PropertyDependencyModel
PropertySet
Represents a property and the respective dependency.
PropertySetCollection
Collection of
ScopedAttribute
Indicates that the target components wants a
per thread lifestyle.
SingletonAttribute
Indicates that the target components wants a
singleton lifestyle.
StandardPropertyFilters
TransientAttribute
Indicates that the target components wants a
transient lifestyle.
Enumerations
LifestyleType
Enumeration used to mark the component's lifestyle.
PropertiesInspectionBehavior
PropertyFilter
Specifies rules for designating settable properties on a component as dependencies, and controlling whether they are requred or not.
This is a shortcut for most common scenarios. More advanced/custom scenarios can be defined dynamically in the registration API.
Abstract Classes
LifestyleAttribute
Base for Attributes that want to express lifestyle
chosen by the component.
Interfaces
ICommissionConcern
Represents a concern that will be applied to a component instance
during commission phase (right after component instance is activated).
IDecommissionConcern
Represents a concern that will be applied to a component instance
during decommission phase (right before component instance is destroyed).
IInitializable
Lifecycle interface. If implemented by a component,
the method Initialized will be invoked by the container
before making the component available to the external world.
IRecyclable
Only called for components that
belongs to a pool when the component
comes back to the pool.
IStartable
Interface for components that wish to be started and stopped by the container