API Differences between 2.5.4 and 6.0.0
913 Additions
593 Removals
Castle.Core
-
public sealed class BoundToAttribute : LifestyleAttribute
-
public class CastleComponentAttribute : LifestyleAttribute
-
public class ComponentDependencyModel : DependencyModel
-
public sealed class ComponentModel : GraphNode
-
public class ComponentName
-
public sealed class ComponentProxyBehaviorAttribute : Attribute
-
public class ConstructorCandidate
-
public class ConstructorCandidateCollection : Collection<ConstructorCandidate>
-
public class ConstructorDependencyModel : DependencyModel
-
public sealed class CustomLifestyleAttribute : LifestyleAttribute
-
public class DependencyModel
- protected ParameterModel parameterModel
- protected string reference
- public DependencyType DependencyType { get; set; }
- public bool IsPrimitiveTypeDependency { get; }
- public ParameterModel Parameter { get; set; }
- public string ReferencedComponentName { get; }
- public DependencyModel(string dependencyKey, Type targetType, bool isOptional)
- public DependencyModel(string dependencyKey, Type targetType, bool isOptional, bool hasDefaultValue, object defaultValue)
- public virtual void Init(ParameterModelCollection parameters)
- public DependencyModel(DependencyType dependencyType, string dependencyKey, Type targetType, bool isOptional)
- public DependencyModel(DependencyType dependencyType, string dependencyKey, Type targetType, bool isOptional, bool hasDefaultValue, object defaultValue)
- public bool Equals(DependencyModel other)
-
public class DependencyModelCollection : IEnumerable<DependencyModel>, IEnumerable
-
public sealed class DoNotSelectAttribute : Attribute
-
public enum DependencyType
-
public interface ICommissionConcern : ILifecycleConcern
-
public interface IDecommissionConcern : ILifecycleConcern
-
public interface ILifecycleConcern
-
public class InterceptorReferenceCollection : ICollection<InterceptorReference>, IEnumerable<InterceptorReference>, IEnumerable
-
public class LifecycleConcernsCollection
-
public enum LifestyleType
-
public class ParameterModelCollection : Collection<ParameterModel>
-
public sealed class PerWebRequestAttribute : LifestyleAttribute
-
public sealed delegate PropertyDependencyFilter : MulticastDelegate
-
public class PropertyDependencyModel : DependencyModel
-
public enum PropertyFilter
-
public sealed delegate PropertySetBuilder : MulticastDelegate
-
public class PropertySetCollection : Collection<PropertySet>
-
public class ScopedAttribute : LifestyleAttribute
-
public class StandardPropertyFilters
Castle.Core.Internal
Castle.Facilities.EventWiring
Castle.Facilities.FactorySupport
-
public class AccessorActivator : DefaultComponentActivator
-
public class FactoryActivator : DefaultComponentActivator
-
public class FactorySupportFacility : AbstractFacility
- public FactorySupportFacility()
- public void AddAccessor<TService, TFactory>(string serviceKey, string instanceAccessorMethod)
- public void AddAccessor<TService, TFactory>(string serviceKey, string instanceAccessorMethod, string factoryId)
- public void AddFactory<TService, TFactory>(string serviceKey, string factoryCreateMethodName)
- public void AddFactory<TService, TFactory>(string serviceKey, string factoryCreateMethodName, string factoryId)
Castle.Facilities.Remoting
Castle.Facilities.Remoting.CustomActivators
Castle.Facilities.Startable
Castle.Facilities.TypedFactory
-
public class DefaultTypedFactoryComponentSelector : ITypedFactoryComponentSelector
- protected bool FallbackToResolveByTypeIfNameNotFound { get; protected set; }
- protected bool GetMethodsResolveByName { get; protected set; }
- public DefaultTypedFactoryComponentSelector(bool getMethodsResolveByName = true, bool fallbackToResolveByTypeIfNameNotFound = false)
- protected virtual Func<IKernelInternal, IReleasePolicy, object> BuildFactoryComponent(MethodInfo method, string componentName, Type componentType, Arguments additionalArguments)
- protected virtual Arguments GetArguments(MethodInfo method, object[] arguments)
- protected virtual TypedFactoryComponent BuildFactoryComponent(MethodInfo method, string componentName, Type componentType, IDictionary additionalArguments)
- protected virtual IDictionary GetArguments(MethodInfo method, object[] arguments)
- public Func<IKernelInternal, IReleasePolicy, object> SelectComponent(MethodInfo method, Type type, object[] arguments)
- public TypedFactoryComponent SelectComponent(MethodInfo method, Type type, object[] arguments)
-
public class DelegateFactoryActivator : AbstractComponentActivator, IDependencyAwareActivator
-
public class FactoryAttribute : Attribute
-
public interface ITypedFactoryComponentSelector
-
public class TypedFactoryCachingInspector : IContributeComponentModelConstruction
-
public class TypedFactoryComponentResolver
-
public class TypedFactoryComponent
-
public class TypedFactoryComponentCollection : TypedFactoryComponent
-
public class TypedFactoryConfiguration
-
public class TypedFactoryFacility : AbstractFacility
-
public static class TypedFactoryRegistrationExtensions
Castle.Facilities.TypedFactory.Internal
Castle.MicroKernel
-
public abstract class AbstractSubSystem : MarshalByRefObject, ISubSystem
-
public class Arguments : IDictionary, ICollection, IEnumerable
- public Arguments()
- public Arguments(Arguments arguments)
- public static Arguments FromNamed(IEnumerable<KeyValuePair<string, object>> arguments)
- public static Arguments FromProperties(object instance)
- public static Arguments FromTyped(IEnumerable<KeyValuePair<Type, object>> arguments)
- public static Arguments FromTyped(IEnumerable<object> arguments)
- public ICollection Keys { get; }
- public ICollection Values { get; }
- public Arguments(object namedArgumentsAsAnonymousType, IArgumentsStore[] customStores)
- public Arguments(IDictionary values, IArgumentsStore[] customStores)
- public Arguments(object[] typedArguments, IArgumentsStore[] customStores)
- public Arguments(IArgumentsStore[] customStores)
- public Arguments Add(IEnumerable<KeyValuePair<object, object>> arguments)
- public Arguments AddNamed(string key, object value)
- public Arguments AddNamed(IEnumerable<KeyValuePair<string, object>> arguments)
- public Arguments AddProperties(object instance)
- public Arguments AddTyped(Type key, object value)
- public Arguments AddTyped<TDependencyType>(TDependencyType value)
- public Arguments AddTyped(IEnumerable<object> arguments)
- public Arguments AddTyped(object[] arguments)
- protected virtual void AddStores(IList<IArgumentsStore> list)
- public void Clear()
- public IEnumerator<KeyValuePair<object, object>> GetEnumerator()
- public IDictionaryEnumerator GetEnumerator()
- protected virtual IArgumentsStore GetSupportingStore(object key)
-
public class Burden
-
public sealed delegate BurdenReleaseDelegate : MulticastDelegate
-
public class CircularDependencyException : Exception
-
public class ComponentNotFoundException : Exception
-
public class ComponentReference<T> : IReference<T>
-
public class ComponentRegistrationException : Exception
-
public class ComponentResolutionException : Exception
-
public class DefaultKernel : MarshalByRefObject, IKernelInternal, IKernel, IServiceProviderEx, IServiceProvider, IKernelEvents, IDisposable, IDeserializationCallback, IKernelEventsInternal
- public ILogger Logger { get; set; }
- public virtual object this[string key] { get; }
- public virtual object this[Type service] { get; }
- public event ComponentDataDelegate ComponentUnregistered
- public event ServiceDelegate EmptyCollectionResolving
- public DefaultKernel(SerializationInfo info, StreamingContext context)
- public virtual IHandler AddCustomComponent(ComponentModel model)
- public virtual IKernel AddFacility(IFacility facility)
- public virtual void AddComponent(string key, Type classType)
- public void AddComponent(string key, Type classType, LifestyleType lifestyle)
- public void AddComponent(string key, Type classType, LifestyleType lifestyle, bool overwriteLifestyle)
- public virtual void AddComponent(string key, Type serviceType, Type classType)
- public void AddComponent(string key, Type serviceType, Type classType, LifestyleType lifestyle)
- public void AddComponent(string key, Type serviceType, Type classType, LifestyleType lifestyle, bool overwriteLifestyle)
- public void AddComponent<T>()
- public void AddComponent<T>(LifestyleType lifestyle)
- public void AddComponent<T>(LifestyleType lifestyle, bool overwriteLifestyle)
- public void AddComponent<T>(Type serviceType)
- public void AddComponent<T>(Type serviceType, LifestyleType lifestyle)
- public void AddComponent<T>(Type serviceType, LifestyleType lifestyle, bool overwriteLifestyle)
- public void AddComponentInstance(string key, object instance)
- public void AddComponentInstance(string key, Type serviceType, object instance)
- public void AddComponentInstance(string key, Type serviceType, Type classType, object instance)
- public void AddComponentInstance<T>(object instance)
- public void AddComponentInstance<T>(Type serviceType, object instance)
- public virtual void AddComponentWithExtendedProperties(string key, Type classType, IDictionary extendedProperties)
- public virtual void AddComponentWithExtendedProperties(string key, Type serviceType, Type classType, IDictionary extendedProperties)
- public virtual void AddCustomComponent(ComponentModel model)
- public virtual IKernel AddFacility(string key, IFacility facility)
- public IKernel AddFacility<T>(string key) where T : IFacility
- public IKernel AddFacility<T>(string key, Action<T> onCreate) where T : IFacility
- public IKernel AddFacility<T>(string key, Func<T, object> onCreate) where T : IFacility
- public IKernel AddFacility<T>(Func<T, object> onCreate) where T : IFacility
- public void AddHandlersFilter(IHandlersFilter filter)
- protected CreationContext CreateCreationContext(IHandler handler, Type requestedType, Arguments additionalArguments, CreationContext parent, IReleasePolicy policy)
- public virtual ILifestyleManager CreateLifestyleManager(ComponentModel model, IComponentActivator activator)
- protected CreationContext CreateCreationContext(IHandler handler, Type typeToExtractGenericArguments, IDictionary additionalArguments, CreationContext parent)
- public virtual IHandler[] GetHandlers()
- public void GetObjectData(SerializationInfo info, StreamingContext context)
- public object GetService(Type serviceType)
- public T GetService<T>()
- protected virtual void RaiseComponentUnregistered(string key, IHandler handler)
- public void RegisterCustomDependencies(Type service, IDictionary dependencies)
- public void RegisterCustomDependencies(Type service, object dependenciesAsAnonymousType)
- public void RegisterCustomDependencies(string key, IDictionary dependencies)
- public void RegisterCustomDependencies(string key, object dependenciesAsAnonymousType)
- protected void RegisterHandler(string key, IHandler handler)
- protected void RegisterHandler(string key, IHandler handler, bool skipRegistration)
- public virtual bool RemoveComponent(string key)
- public virtual object Resolve(string key, Type service, Arguments arguments)
- public T Resolve<T>(Arguments arguments)
- public virtual object Resolve(string key, Type service, IDictionary arguments)
- public T Resolve<T>(IDictionary arguments)
- public T Resolve<T>(object argumentsAsAnonymousType)
- public T Resolve<T>(string key, Arguments arguments)
- public T Resolve<T>(string key, IDictionary arguments)
- public object Resolve(Type service, Arguments arguments)
- public object Resolve(Type service, IDictionary arguments)
- public object Resolve(Type service, object argumentsAsAnonymousType)
- public object Resolve(string key, IDictionary arguments)
- public object Resolve(string key, object argumentsAsAnonymousType)
- public Array ResolveAll(Type service, Arguments arguments)
- public TService[] ResolveAll<TService>(Arguments arguments)
- public Array ResolveAll(Type service, IDictionary arguments)
- public Array ResolveAll(Type service, object argumentsAsAnonymousType)
- public TService[] ResolveAll<TService>(object argumentsAsAnonymousType)
- public TService[] ResolveAll<TService>(IDictionary arguments)
- protected object ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy)
- protected object ResolveComponent(IHandler handler)
- protected object ResolveComponent(IHandler handler, Type service)
- protected object ResolveComponent(IHandler handler, IDictionary additionalArguments)
- protected object ResolveComponent(IHandler handler, Type service, IDictionary additionalArguments)
- protected object TryResolveComponent(IHandler handler, Type service, IDictionary additionalArguments)
-
public interface IComponentActivator
-
public interface IComponentModelBuilder
-
public interface IContextLifestyleManager
-
public interface IDependencyResolver : ISubDependencyResolver
-
public interface IHandler : ISubDependencyResolver
-
public interface IHandlerFactory
-
public interface IHandlersFilter
-
public interface IKernel : IServiceProviderEx, IServiceProvider, IKernelEvents, IDisposable
- object this[string key] { get; }
- object this[Type service] { get; }
- IKernel AddFacility(IFacility facility)
- void AddComponent(string key, Type classType)
- void AddComponent(string key, Type classType, LifestyleType lifestyle)
- void AddComponent(string key, Type classType, LifestyleType lifestyle, bool overwriteLifestyle)
- void AddComponent(string key, Type serviceType, Type classType)
- void AddComponent(string key, Type serviceType, Type classType, LifestyleType lifestyle)
- void AddComponent(string key, Type serviceType, Type classType, LifestyleType lifestyle, bool overwriteLifestyle)
- void AddComponent<T>()
- void AddComponent<T>(LifestyleType lifestyle)
- void AddComponent<T>(LifestyleType lifestyle, bool overwriteLifestyle)
- void AddComponent<T>(Type serviceType)
- void AddComponent<T>(Type serviceType, LifestyleType lifestyle)
- void AddComponent<T>(Type serviceType, LifestyleType lifestyle, bool overwriteLifestyle)
- void AddComponentInstance<T>(object instance)
- void AddComponentInstance<T>(Type serviceType, object instance)
- void AddComponentInstance(string key, object instance)
- void AddComponentInstance(string key, Type serviceType, object instance)
- void AddComponentInstance(string key, Type serviceType, Type classType, object instance)
- void AddComponentWithExtendedProperties(string key, Type classType, IDictionary extendedProperties)
- void AddComponentWithExtendedProperties(string key, Type serviceType, Type classType, IDictionary extendedProperties)
- IKernel AddFacility(string key, IFacility facility)
- IKernel AddFacility<T>(string key) where T : IFacility
- IKernel AddFacility<T>(string key, Action<T> onCreate) where T : IFacility
- IKernel AddFacility<T>(string key, Func<T, object> onCreate) where T : IFacility
- IKernel AddFacility<T>(Func<T, object> onCreate) where T : IFacility
- void AddHandlersFilter(IHandlersFilter filter)
- IHandler[] GetHandlers()
- void RegisterCustomDependencies(Type service, IDictionary dependencies)
- void RegisterCustomDependencies(Type service, object dependenciesAsAnonymousType)
- void RegisterCustomDependencies(string key, IDictionary dependencies)
- void RegisterCustomDependencies(string key, object dependenciesAsAnonymousType)
- bool RemoveComponent(string key)
- object Resolve(Type service, Arguments arguments)
- object Resolve(Type service, IDictionary arguments)
- object Resolve(string key, IDictionary arguments)
- object Resolve(Type service, object argumentsAsAnonymousType)
- object Resolve(string key, object argumentsAsAnonymousType)
- T Resolve<T>(Arguments arguments)
- T Resolve<T>(IDictionary arguments)
- T Resolve<T>(object argumentsAsAnonymousType)
- T Resolve<T>(string key, Arguments arguments)
- object Resolve(string key, Type service, Arguments arguments)
- T Resolve<T>(string key, IDictionary arguments)
- object Resolve(string key, Type service, IDictionary arguments)
- Array ResolveAll(Type service, Arguments arguments)
- Array ResolveAll(Type service, IDictionary arguments)
- Array ResolveAll(Type service, object argumentsAsAnonymousType)
- TService[] ResolveAll<TService>(Arguments arguments)
- TService[] ResolveAll<TService>(IDictionary arguments)
- TService[] ResolveAll<TService>(object argumentsAsAnonymousType)
-
public interface IKernelEvents
-
public interface IKernelInternal : IKernel, IServiceProviderEx, IServiceProvider, IKernelEvents, IDisposable
- ILogger Logger { get; set; }
- IHandler AddCustomComponent(ComponentModel model)
- void AddCustomComponent(ComponentModel model)
- IHandler CreateHandler(ComponentModel model)
- ILifestyleManager CreateLifestyleManager(ComponentModel model, IComponentActivator activator)
- IHandler LoadHandlerByName(string key, Type service, Arguments arguments)
- IHandler LoadHandlerByType(string key, Type service, Arguments arguments)
- bool LazyLoadComponentByKey(string key, Type service, IDictionary arguments)
- bool LazyLoadComponentByType(string key, Type service, IDictionary arguments)
- void RaiseEventsOnHandlerCreated(IHandler handler)
- object Resolve(Type service, Arguments arguments, IReleasePolicy policy, bool ignoreParentContext = false)
- object Resolve(string key, Type service, Arguments arguments, IReleasePolicy policy)
- Array ResolveAll(Type service, Arguments arguments, IReleasePolicy policy)
- void RaiseHandlerRegistered(IHandler handler)
- void RaiseHandlersChanged()
- void RegisterHandlerForwarding(Type forwardedType, string name)
-
public interface ILifestyleManager : IDisposable
-
public class InstanceReference<T> : IReference<T>
-
public interface IProxyFactoryExtension
-
public interface IReference<T>
-
public interface IReleasePolicy : IDisposable
-
public interface ISubSystem
-
public class KernelException : Exception
-
public sealed delegate ServiceDelegate : MulticastDelegate
-
public abstract class SubSystemConstants
Castle.MicroKernel.ComponentActivator
-
public abstract class AbstractComponentActivator : IComponentActivator
-
public class ComponentActivatorException : Exception
-
public class DefaultComponentActivator : AbstractComponentActivator
- public DefaultComponentActivator(ComponentModel model, IKernelInternal kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction)
- public DefaultComponentActivator(ComponentModel model, IKernel kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction)
- protected virtual void ApplyCommissionConcerns(object instance)
- protected virtual void ApplyConcerns(IEnumerable<ILifecycleConcern> steps, object instance)
- protected virtual void ApplyDecommissionConcerns(object instance)
- protected virtual object[] CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
- protected virtual object CreateInstance(CreationContext context, ConstructorCandidate constructor, object[] arguments)
- protected object CreateInstanceCore(ConstructorCandidate constructor, object[] arguments, Type implType)
- protected virtual object[] CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context, out Type signature)
- protected virtual object CreateInstance(CreationContext context, object[] arguments, Type[] signature)
-
public class ExternalInstanceActivator : AbstractComponentActivator, IDependencyAwareActivator
-
public class FactoryMethodActivator<T> : DefaultComponentActivator, IDependencyAwareActivator
-
public interface IDependencyAwareActivator
-
public class NoResolvableConstructorFoundException : ComponentActivatorException
Castle.MicroKernel.Context
-
public class ComponentArgumentsEnumerator : IDictionaryEnumerator, IEnumerator
-
public class CreationContext : MarshalByRefObject, ISubDependencyResolver
- public Arguments AdditionalArguments { get; }
- public static CreationContext Empty { get; }
- public IDictionary AdditionalParameters { get; }
- public DependencyModelCollection Dependencies { get; }
- public bool HasAdditionalArguments { get; }
- public virtual bool IsResolving { get; }
- public bool HasAdditionalParameters { get; }
- public Type RequestedType { get; }
- public CreationContext(IHandler handler, IReleasePolicy releasePolicy, Type requestedType, Arguments additionalArguments, ITypeConverter converter, CreationContext parent)
- public static CreationContext CreateEmpty()
- public static CreationContext ForDependencyInspection(IHandler handler)
- public void AttachExistingBurden(Burden burden)
- public void BuildCycleMessageFor(IHandler duplicateHandler, StringBuilder message)
- public CreationContext(IHandler handler, IReleasePolicy releasePolicy, Type typeToExtractGenericArguments, IDictionary additionalArguments, ITypeConverter conversionManager, CreationContext parent)
- public void AddContextualProperty(object key, object value)
- public Burden CreateBurden(IComponentActivator componentActivator, bool trackedExternally)
- public ResolutionContext EnterResolutionContext(IHandler handlerBeingResolved)
- public ResolutionContext EnterResolutionContext(IHandler handlerBeingResolved, bool trackContext, bool requiresDecommission)
- public ResolutionContext SelectScopeRoot(Func<IHandler[], IHandler> scopeRootSelector)
- public void SetContextualProperty(object key, object value)
-
public interface IArgumentsComparer
-
public class FallbackArgumentsStore : IArgumentsStore, IEnumerable<KeyValuePair<object, object>>, IEnumerable
-
public interface IArgumentsStore : IEnumerable<KeyValuePair<object, object>>, IEnumerable
-
public class NamedArgumentsStore : IArgumentsStore, IEnumerable<KeyValuePair<object, object>>, IEnumerable
-
public class TypedArgumentsStore : IArgumentsStore, IEnumerable<KeyValuePair<object, object>>, IEnumerable
Castle.MicroKernel.Facilities
Castle.MicroKernel.Handlers
-
public abstract class AbstractHandler : MarshalByRefObject, IHandler, ISubDependencyResolver, IExposeDependencyInfo, IDisposable
-
public class ComponentLifecycleExtension : IResolveExtension, IReleaseExtension
-
public class DefaultGenericHandler : AbstractHandler
-
public class DefaultHandler : AbstractHandler
-
public class DefaultHandlerFactory : IHandlerFactory
-
public class DependencyInspector : IDependencyInspector
-
public class GenericHandlerTypeMismatchException : HandlerException
-
public class ForwardingHandler : IHandler, ISubDependencyResolver
-
public class HandlerException : Exception
-
public interface IDependencyInspector
-
public interface IExposeDependencyInfo
-
public interface IGenericImplementationMatchingStrategy
-
public interface IGenericServiceStrategy
-
public class ParentHandlerWrapper : IHandler, ISubDependencyResolver, IDisposable
-
public class ParentHandlerWithChildResolver : IHandler, ISubDependencyResolver, IDisposable
-
public class ReleaseInvocation
-
public class ResolveInvocation
Castle.MicroKernel.Internal
Castle.MicroKernel.LifecycleConcerns
Castle.MicroKernel.Lifestyle
Castle.MicroKernel.Lifestyle.Pool
Castle.MicroKernel.Lifestyle.Scoped
Castle.MicroKernel.ModelBuilder
Castle.MicroKernel.ModelBuilder.Descriptors
Castle.MicroKernel.ModelBuilder.Inspectors
Castle.MicroKernel.Proxy
Castle.MicroKernel.Registration
-
public abstract class AbstractPropertyDescriptor<S> : ComponentDescriptor<S>
-
public static class AllTypes
-
public class AllTypesOf
-
public class AttributeDescriptor<S> : ComponentDescriptor<S>
-
public class AttributeKeyDescriptor<S>
-
public class BasedOnDescriptor : IRegistration
-
public static class Classes
-
public static class Component
- public static ComponentRegistration<TService> For<TService>()
- public static ComponentRegistration<TService1> For<TService1, TService2>()
- public static ComponentRegistration<TService1> For<TService1, TService2, TService3>()
- public static ComponentRegistration<TService1> For<TService1, TService2, TService3, TService4>()
- public static ComponentRegistration<TService1> For<TService1, TService2, TService3, TService4, TService5>()
- public static ComponentRegistration<S> For<S>()
- public static ComponentRegistration For(ComponentModel model)
- public static ComponentRegistration<S> For<S, F>()
- public static ComponentRegistration<S> For<S, F1, F2>()
- public static ComponentRegistration<S> For<S, F1, F2, F3>()
- public static ComponentRegistration<S> For<S, F1, F2, F3, F4>()
- public static bool ServiceAlreadyRegistered(IKernel kernel, ComponentModel model)
-
public static class ComponentDependencyRegistrationExtensions
-
public abstract class ComponentDescriptor<S>
-
public sealed delegate ComponentFilter : MulticastDelegate
-
public class ComponentRegistration : ComponentRegistration<object>
-
public class ComponentRegistration<TService> : IRegistration
- public Type[] ForwardedTypes { get; }
- public Type ServiceType { get; protected set; }
- public ComponentRegistration(Type[] services)
- protected ComponentRegistration(ComponentModel componentModel)
- public ComponentRegistration<TService> ActAs(object[] actors)
- public ComponentRegistration<TService> AddDescriptor(IComponentModelDescriptor descriptor)
- public AttributeKeyDescriptor<TService> Attribute(string key)
- public ComponentRegistration<TService> AddDescriptor(ComponentDescriptor<TService> descriptor)
- public AttributeKeyDescriptor<TService> Attribute(string key)
- public ComponentRegistration<TService> DependsOn(Dependency dependency)
- public ComponentRegistration<TService> DependsOn(Dependency[] dependencies)
- public ComponentRegistration<TService> DependsOn(Arguments dependencies)
- public ComponentRegistration<TService> CustomDependencies(Property[] dependencies)
- public ComponentRegistration<TService> CustomDependencies(IDictionary dependencies)
- public ComponentRegistration<TService> CustomDependencies(object dependencies)
- public ComponentRegistration<TService> DependsOn(Property[] dependencies)
- public ComponentRegistration<TService> DependsOn(DynamicParametersDelegate resolve)
- public ComponentRegistration<TService> DependsOn(DynamicParametersResolveDelegate resolve)
- public ComponentRegistration<TService> DependsOn(DynamicParametersWithContextResolveDelegate resolve)
- public ComponentRegistration<TService> ExtendedProperties(Property property)
- public ComponentRegistration<TService> If(ComponentFilter ifFilter)
- public ComponentRegistration<TService> ImplementedBy(Type type, IGenericImplementationMatchingStrategy genericImplementationMatchingStrategy)
- public ComponentRegistration<TService> ImplementedBy(Type type, IGenericServiceStrategy genericServiceStrategy)
- public ComponentRegistration<TService> ImplementedBy(Type type, IGenericImplementationMatchingStrategy genericImplementationMatchingStrategy, IGenericServiceStrategy genericServiceStrategy)
- public ComponentRegistration<TService> IsDefault(Predicate<Type> serviceFilter)
- public ComponentRegistration<TService> IsDefault()
- public ComponentRegistration<TService> IsFallback(Predicate<Type> serviceFilter)
- public ComponentRegistration<TService> IsFallback()
- public ComponentRegistration<TService> LifestyleBoundTo<TBaseForRoot>()
- public ComponentRegistration<TService> LifestyleBoundTo(Func<IHandler[], IHandler> scopeRootBinder)
- public ComponentRegistration<TService> LifestyleBoundToNearest<TBaseForRoot>()
- public ComponentRegistration<TService> LifestyleCustom(Type customLifestyleType)
- public ComponentRegistration<TService> LifestyleCustom<TLifestyleManager>() where TLifestyleManager : ILifestyleManager
- public ComponentRegistration<TService> LifestylePerThread()
- public ComponentRegistration<TService> LifestylePooled(int? initialSize = default, int? maxSize = default)
- public ComponentRegistration<TService> LifestyleScoped(Type scopeAccessorType = null)
- public ComponentRegistration<TService> LifestyleScoped<TScopeAccessor>() where TScopeAccessor : IScopeAccessor
- public ComponentRegistration<TService> LifestyleSingleton()
- public ComponentRegistration<TService> LifestyleTransient()
- public ComponentRegistration<TService> NamedAutomatically(string name)
- public ComponentRegistration<TService> OnCreate(Action<TService>[] actions)
- public ComponentRegistration<TService> OnCreate(LifecycleActionDelegate<TService>[] actions)
- public ComponentRegistration<TService> OnDestroy(Action<TService>[] actions)
- public ComponentRegistration<TService> OnDestroy(LifecycleActionDelegate<TService>[] actions)
- public ComponentRegistration<TService> OnlyNewServices()
- public ComponentRegistration<TService> OnCreate(OnCreateActionDelegate<TService>[] actions)
- public ComponentRegistration<TService> Properties(PropertyFilter filter)
- public ComponentRegistration<TService> PropertiesIgnore(Func<PropertyInfo, bool> propertySelector)
- public ComponentRegistration<TService> PropertiesIgnore(Func<ComponentModel, PropertyInfo, bool> propertySelector)
- public ComponentRegistration<TService> PropertiesRequire(Func<PropertyInfo, bool> propertySelector)
- public ComponentRegistration<TService> PropertiesRequire(Func<ComponentModel, PropertyInfo, bool> propertySelector)
- public ComponentRegistration<TService> Parameters(Parameter[] parameters)
- public ComponentRegistration<TService> UsingFactory<TFactory, TServiceImpl>(Func<TFactory, TServiceImpl> factory) where TServiceImpl : TService
- public ComponentRegistration<TService> UsingFactoryMethod<TImpl>(Func<TImpl> factoryMethod, bool managedExternally = false) where TImpl : TService
- public ComponentRegistration<TService> UsingFactoryMethod<TImpl>(Func<IKernel, TImpl> factoryMethod, bool managedExternally = false) where TImpl : TService
- public ComponentRegistration<TService> UsingFactoryMethod<TImpl>(Func<IKernel, ComponentModel, CreationContext, TImpl> factoryMethod, bool managedExternally = false) where TImpl : TService
- public ComponentRegistration<TService> ServiceOverrides(ServiceOverride[] overrides)
- public ComponentRegistration<TService> ServiceOverrides(IDictionary overrides)
- public ComponentRegistration<TService> ServiceOverrides(object anonymous)
- public ComponentRegistration<TService> Unless(ComponentFilter unlessFilter)
- public ComponentRegistration<TService> UsingFactory<U, V>(Converter<U, V> factory) where V : TService
- public ComponentRegistration<TService> UsingFactoryMethod<TImpl>(Func<TImpl> factoryMethod) where TImpl : TService
- public ComponentRegistration<TService> UsingFactoryMethod<TImpl>(Converter<IKernel, TImpl> factoryMethod) where TImpl : TService
- public ComponentRegistration<TService> UsingFactoryMethod<TImpl>(Func<IKernel, ComponentModel, CreationContext, TImpl> factoryMethod) where TImpl : TService
-
public sealed class Dependency
-
public class ConfigurationDescriptor<S> : ComponentDescriptor<S>
-
public sealed delegate ConfigureDelegate : MulticastDelegate
-
public class ConfigureDescriptor
-
public class CustomDependencyDescriptor<S> : AbstractPropertyDescriptor<S>
-
public sealed delegate DynamicParametersDelegate : MulticastDelegate
-
public class DynamicParametersDescriptor<S> : ComponentDescriptor<S>
-
public sealed delegate DynamicParametersResolveDelegate : MulticastDelegate
-
public sealed delegate DynamicParametersWithContextResolveDelegate : MulticastDelegate
- public virtual IAsyncResult BeginInvoke(IKernel kernel, CreationContext creationContext, Arguments arguments, AsyncCallback callback, object object)
- public virtual IAsyncResult BeginInvoke(IKernel kernel, CreationContext creationContext, IDictionary parameters, AsyncCallback callback, object object)
- public virtual ComponentReleasingDelegate Invoke(IKernel kernel, CreationContext creationContext, Arguments arguments)
- public virtual ComponentReleasingDelegate Invoke(IKernel kernel, CreationContext creationContext, IDictionary parameters)
-
public class ExtendedPropertiesDescriptor<S> : AbstractPropertyDescriptor<S>
-
public class FromAssemblyDescriptor : FromDescriptor
-
public abstract class FromDescriptor : IRegistration
-
public interface IRegistration
-
public class LifestyleDescriptor<S> : ComponentDescriptor<S>
-
public class OnCreateComponentDescriptor<S> : ComponentDescriptor<S>
-
public class Parameter
-
public class ParametersDescriptor<S> : ComponentDescriptor<S>
-
public class Property
-
public class ReferenceDependencyDescriptor<S> : ComponentDescriptor<S>
-
public abstract class RegistrationGroup<S>
-
public class ServiceDescriptor
-
public class ServiceOverride : Property
-
public class ServiceOverrideDescriptor<S> : AbstractPropertyDescriptor<S>
-
public class ServiceOverrideKey
-
public static class Types
Castle.MicroKernel.Registration.Interceptor
Castle.MicroKernel.Registration.Lifestyle
Castle.MicroKernel.Registration.Proxy
Castle.MicroKernel.Releasers
Castle.MicroKernel.Resolvers
-
public class DefaultDependencyResolver : IDependencyResolver, ISubDependencyResolver
- protected virtual bool CanResolveFromKernel(CreationContext context, ComponentModel model, DependencyModel dependency)
- public void Initialize(IKernelInternal kernel, DependencyDelegate dependencyDelegate)
- protected virtual bool CanResolveParameterDependency(ComponentModel model, DependencyModel dependency)
- protected virtual bool CanResolveServiceDependency(CreationContext context, ComponentModel model, DependencyModel dependency)
- protected virtual string (string keyValue, string name)
- public void Initialize(IKernel kernel, DependencyDelegate dependencyDelegate)
- protected virtual ParameterModel ObtainParameterModelMatchingDependency(DependencyModel dependency, ComponentModel model)
- protected virtual object ResolveFromKernel(CreationContext context, ComponentModel model, DependencyModel dependency)
- protected virtual object ResolveParameterDependency(CreationContext context, ComponentModel model, DependencyModel dependency)
- protected virtual object ResolveServiceDependency(CreationContext context, ComponentModel model, DependencyModel dependency)
-
public class DependencyResolverException : Exception
-
public interface ILazyComponentLoader
-
public class LazyOfTComponentLoader : ILazyComponentLoader
Castle.MicroKernel.Resolvers.SpecializedResolvers
Castle.MicroKernel.SubSystems.Configuration
Castle.MicroKernel.SubSystems.Conversion
Castle.MicroKernel.SubSystems.Naming
-
public class BinaryTreeComponentName
-
public class ComponentName : ISerializable
-
public class DefaultNamingSubSystem : AbstractSubSystem, INamingSubSystem, ISubSystem
- protected struct HandlerWithPriority
- protected IList<IHandlersFilter> filters
- protected readonly IDictionary<Type, IHandler[]> handlerListsByTypeCache
- protected readonly Lock lock
- protected readonly Dictionary<string, IHandler> name2Handler
- protected IList<IHandlerSelector> selectors
- protected readonly Dictionary<Type, HandlerWithPriority> service2Handler
- protected readonly IDictionary<string, IHandler> key2Handler
- protected readonly IDictionary<Type, IHandler> service2Handler
- protected IDictionary<string, IHandler> HandlerByNameCache { get; }
- protected IDictionary<Type, IHandler> HandlerByServiceCache { get; }
- public void AddHandlersFilter(IHandlersFilter filter)
- public virtual IHandler[] GetAllHandlers()
- protected IHandler[] GetAssignableHandlersNoFiltering(Type service)
- protected virtual IHandler[] GetFiltersOpinion(Type service)
- public virtual IHandler GetHandler(string key, Type service)
- public virtual IHandler[] GetHandlers(string query)
- public virtual IHandler[] GetHandlers()
- public IDictionary<string, IHandler> GetKey2Handler()
- protected void InvalidateCache()
- public virtual void Register(IHandler handler)
- public IDictionary<Type, IHandler> GetService2Handler()
- public virtual void Register(string key, IHandler handler)
- public virtual void UnRegister(string key)
- public virtual void UnRegister(Type service)
-
public interface INamingSubSystem : ISubSystem
-
public class KeySearchNamingSubSystem : DefaultNamingSubSystem
-
public class NamingPartsSubSystem : DefaultNamingSubSystem
Castle.MicroKernel.Util
Castle.Windsor
-
public class InitializationException : Exception
-
public interface IWindsorContainer : IServiceProviderEx, IServiceProvider, IDisposable
- object this[string key] { get; }
- object this[Type service] { get; }
- IWindsorContainer AddFacility(IFacility facility)
- IWindsorContainer AddComponent(string key, Type classType)
- IWindsorContainer AddComponent(string key, Type serviceType, Type classType)
- IWindsorContainer AddComponent<T>()
- IWindsorContainer AddComponent<T>(string key)
- IWindsorContainer AddComponent<I, T>()
- IWindsorContainer AddComponent<I, T>(string key)
- IWindsorContainer AddComponentLifeStyle(string key, Type classType, LifestyleType lifestyle)
- IWindsorContainer AddComponentLifeStyle(string key, Type serviceType, Type classType, LifestyleType lifestyle)
- IWindsorContainer AddComponentLifeStyle<T>(LifestyleType lifestyle)
- IWindsorContainer AddComponentLifeStyle<T>(string key, LifestyleType lifestyle)
- IWindsorContainer AddComponentLifeStyle<I, T>(LifestyleType lifestyle)
- IWindsorContainer AddComponentLifeStyle<I, T>(string key, LifestyleType lifestyle)
- IWindsorContainer AddComponentProperties<I, T>(IDictionary extendedProperties)
- IWindsorContainer AddComponentProperties<I, T>(string key, IDictionary extendedProperties)
- IWindsorContainer AddComponentWithProperties(string key, Type classType, IDictionary extendedProperties)
- IWindsorContainer AddComponentWithProperties(string key, Type serviceType, Type classType, IDictionary extendedProperties)
- IWindsorContainer AddComponentWithProperties<T>(IDictionary extendedProperties)
- IWindsorContainer AddComponentWithProperties<T>(string key, IDictionary extendedProperties)
- IWindsorContainer AddFacility(string key, IFacility facility)
- IWindsorContainer AddFacility<T>(string key) where T : IFacility
- IWindsorContainer AddFacility<T>(string key, Action<T> onCreate) where T : IFacility
- IWindsorContainer AddFacility<T>(string key, Func<T, object> onCreate) where T : IFacility
- IWindsorContainer AddFacility<TFacility>(Action<TFacility> onCreate) where TFacility : IFacility
- IWindsorContainer AddFacility<T>(Action<T> onCreate) where T : IFacility
- IWindsorContainer AddFacility<T>(Func<T, object> onCreate) where T : IFacility
- object Resolve(string key, IDictionary arguments)
- object Resolve(string key, object argumentsAsAnonymousType)
- object Resolve(Type service, Arguments arguments)
- object Resolve(Type service, IDictionary arguments)
- object Resolve(Type service, object argumentsAsAnonymousType)
- T Resolve<T>(Arguments arguments)
- T Resolve<T>(IDictionary arguments)
- T Resolve<T>(object argumentsAsAnonymousType)
- T Resolve<T>(string key, Arguments arguments)
- object Resolve(string key, Type service, Arguments arguments)
- T Resolve<T>(string key, IDictionary arguments)
- T Resolve<T>(string key, object argumentsAsAnonymousType)
- object Resolve(string key, Type service, IDictionary arguments)
- object Resolve(string key, Type service, object argumentsAsAnonymousType)
- Array ResolveAll(Type service, Arguments arguments)
- T[] ResolveAll<T>(Arguments arguments)
- Array ResolveAll(Type service, IDictionary arguments)
- Array ResolveAll(Type service, object argumentsAsAnonymousType)
- T[] ResolveAll<T>(IDictionary arguments)
- T[] ResolveAll<T>(object argumentsAsAnonymousType)
-
public class WindsorContainer : MarshalByRefObject, IWindsorContainer, IServiceProviderEx, IServiceProvider, IDisposable
- public virtual object this[string key] { get; }
- public virtual object this[Type service] { get; }
- public IWindsorContainer AddFacility(IFacility facility)
- public virtual IWindsorContainer AddComponent(string key, Type classType)
- public virtual IWindsorContainer AddComponent(string key, Type serviceType, Type classType)
- public IWindsorContainer AddComponent<T>()
- public IWindsorContainer AddComponent<T>(string key)
- public IWindsorContainer AddComponent<I, T>(string key)
- public IWindsorContainer AddComponent<I, T>()
- public IWindsorContainer AddComponentLifeStyle(string key, Type classType, LifestyleType lifestyle)
- public IWindsorContainer AddComponentLifeStyle(string key, Type serviceType, Type classType, LifestyleType lifestyle)
- public IWindsorContainer AddComponentLifeStyle<T>(LifestyleType lifestyle)
- public IWindsorContainer AddComponentLifeStyle<I, T>(LifestyleType lifestyle)
- public IWindsorContainer AddComponentLifeStyle<T>(string key, LifestyleType lifestyle)
- public IWindsorContainer AddComponentLifeStyle<I, T>(string key, LifestyleType lifestyle)
- public IWindsorContainer AddComponentProperties<I, T>(IDictionary extendedProperties)
- public IWindsorContainer AddComponentProperties<I, T>(string key, IDictionary extendedProperties)
- public virtual IWindsorContainer AddComponentWithProperties(string key, Type classType, IDictionary extendedProperties)
- public virtual IWindsorContainer AddComponentWithProperties(string key, Type serviceType, Type classType, IDictionary extendedProperties)
- public IWindsorContainer AddComponentWithProperties<T>(IDictionary extendedProperties)
- public IWindsorContainer AddComponentWithProperties<T>(string key, IDictionary extendedProperties)
- public virtual IWindsorContainer AddFacility(string key, IFacility facility)
- public IWindsorContainer AddFacility<T>(string key) where T : IFacility
- public IWindsorContainer AddFacility<T>(string key, Action<T> onCreate) where T : IFacility
- public IWindsorContainer AddFacility<T>(string key, Func<T, object> onCreate) where T : IFacility
- public IWindsorContainer AddFacility<T>(Func<T, object> onCreate) where T : IFacility
- public object GetService(Type serviceType)
- public T GetService<T>()
- public virtual object Resolve(Type service, Arguments arguments)
- public virtual object Resolve(Type service, IDictionary arguments)
- public virtual object Resolve(Type service, object argumentsAsAnonymousType)
- public virtual object Resolve(string key, IDictionary arguments)
- public virtual object Resolve(string key, object argumentsAsAnonymousType)
- public virtual object Resolve(string key, Type service, Arguments arguments)
- public T Resolve<T>(Arguments arguments)
- public virtual T Resolve<T>(string key, Arguments arguments)
- public virtual object Resolve(string key, Type service, IDictionary arguments)
- public virtual object Resolve(string key, Type service, object argumentsAsAnonymousType)
- public T Resolve<T>(IDictionary arguments)
- public T Resolve<T>(object argumentsAsAnonymousType)
- public virtual T Resolve<T>(string key, IDictionary arguments)
- public virtual T Resolve<T>(string key, object argumentsAsAnonymousType)
- public Array ResolveAll(Type service, Arguments arguments)
- public T[] ResolveAll<T>(Arguments arguments)
- public Array ResolveAll(Type service, IDictionary arguments)
- public Array ResolveAll(Type service, object argumentsAsAnonymousType)
- public T[] ResolveAll<T>(IDictionary arguments)
- public T[] ResolveAll<T>(object argumentsAsAnonymousType)
-
public static class WindsorContainerExtensions
-
public class WindsorServiceProvider : IServiceProviderEx, IServiceProvider
Castle.Windsor.Adapters.ComponentModel
-
public class ContainerAdapter : ContainerWrapper
-
public class ContainerWrapper : IContainerAdapter, IComponent, IContainer, IDisposable, IServiceContainer, IServiceProvider, IContainerAccessor
- public virtual ComponentCollection Components { get; }
- public IWindsorContainer Container { get; }
- public virtual ISite Site { get; set; }
- public event EventHandler Disposed
- public ContainerWrapper(IWindsorContainer container)
- public ContainerWrapper(IWindsorContainer container, IServiceProvider parentProvider)
- public virtual void Add(IComponent component)
- public virtual void Add(IComponent component, string name)
- public virtual void AddService(Type serviceType, object serviceInstance)
- public virtual void AddService(Type serviceType, ServiceCreatorCallback callback)
- public virtual void AddService(Type serviceType, object serviceInstance, bool promote)
- public virtual void AddService(Type serviceType, ServiceCreatorCallback callback, bool promote)
- protected virtual IWindsorContainer CreateDefaultWindsorContainer()
- protected virtual IContainerAdapterSite CreateSite(IComponent component, string name)
- public void Dispose()
- protected virtual void Dispose(bool disposing)
- public virtual object GetService(Type serviceType)
- protected virtual void InternalDisposeContainer()
- public virtual void Remove(IComponent component)
- public virtual void RemoveService(Type serviceType)
- public virtual void RemoveService(Type serviceType, bool promote)
-
public interface IContainerAdapter : IComponent, IContainer, IDisposable, IServiceContainer, IServiceProvider, IContainerAccessor
-
public interface IContainerAdapterSite : ISite, IServiceProvider
Castle.Windsor.Configuration
Castle.Windsor.Configuration.AppDomain
Castle.Windsor.Configuration.Interpreters
Castle.Windsor.Configuration.Interpreters.XmlProcessor
Castle.Windsor.Diagnostics
-
public class AllComponentsDiagnostic : IAllComponentsDiagnostic, IDiagnostic<IHandler[]>
-
public class AllServicesDiagnostic : IAllServicesDiagnostic, IDiagnostic<ILookup<Type, IHandler>>
-
public class ComponentDebuggerExtension : IComponentDebuggerExtension
-
public class DefaultDiagnosticsSubSystem : AbstractSubSystem, IDiagnosticsHost, IContainerDebuggerExtensionHost, IEnumerable<IContainerDebuggerExtension>, IEnumerable
-
public class DependencyDuplicate
-
public enum DependencyDuplicationReason
-
public class DuplicatedDependenciesDiagnostic : IDuplicatedDependenciesDiagnostic, IDiagnostic<Tuple<IHandler, DependencyDuplicate[]>[]>
-
public interface IAllComponentsDiagnostic : IDiagnostic<IHandler[]>
-
public interface IAllServicesDiagnostic : IDiagnostic<ILookup<Type, IHandler>>
-
public interface IComponentDebuggerExtension
-
public interface IContainerDebuggerExtension
-
public interface IContainerDebuggerExtensionHost : IEnumerable<IContainerDebuggerExtension>, IEnumerable
-
public interface IDiagnostic<T>
-
public interface IDiagnosticsHost
-
public interface IDiagnosticsInspector<TData, TContext>
-
public interface IDiagnosticsSource<TResult>
-
public interface IDuplicatedDependenciesDiagnostic : IDiagnostic<Tuple<IHandler, DependencyDuplicate[]>[]>
-
public interface IExposeDiagnostics<TData>
-
public interface IPerformanceMetricsFactory
-
public interface IPotentialLifestyleMismatchesDiagnostic : IDiagnostic<IHandler[][]>
-
public interface IPotentiallyMisconfiguredComponentsDiagnostic : IDiagnostic<IHandler[]>
-
public interface ITrackedComponentsDiagnostic : IDiagnostic<ILookup<IHandler, object>>
-
public interface ITrackedComponentsPerformanceCounter
-
public interface IUsingContainerAsServiceLocatorDiagnostic : IDiagnostic<IHandler[]>
-
public class NullPerformanceCounter : ITrackedComponentsPerformanceCounter
-
public class PotentialLifestyleMismatchesDiagnostic : IPotentialLifestyleMismatchesDiagnostic, IDiagnostic<IHandler[][]>
-
public class PotentiallyMisconfiguredComponentsDiagnostic : IPotentiallyMisconfiguredComponentsDiagnostic, IDiagnostic<IHandler[]>
-
public class TrackedComponentsDiagnostic : ITrackedComponentsDiagnostic, IDiagnostic<ILookup<IHandler, object>>
-
public class TrackedInstancesEventArgs : EventArgs
-
public class UsingContainerAsServiceLocatorDiagnostic : IUsingContainerAsServiceLocatorDiagnostic, IDiagnostic<IHandler[]>
Castle.Windsor.Diagnostics.DebuggerViews
Castle.Windsor.Diagnostics.Extensions
Castle.Windsor.Diagnostics.Helpers
Castle.Windsor.Diagnostics.Inspectors
Castle.Windsor.Experimental.Debugging
Castle.Windsor.Experimental.Debugging.Extensions
Castle.Windsor.Experimental.Debugging.Primitives
Castle.Windsor.Installer
Castle.Windsor.Proxy