Container setting.

IConstructorResolver - select constructor for specified service.

IActivator - create new instance of specified service(inject property, field, call method).

IBindingPriority - select binding with high priority.

        /// <summary>
        /// Throw error if binding provider return null result.(Default is true)
        /// </summary>
        bool ThrowErrorForNullableBinding { get; set; }

        /// <summary>
        /// If the binding is not found use for the activation parent container(Default is true).
        /// </summary>
        bool UseParentForResolve { get; set; }

        /// <summary>
        /// Attribute specifies where to use injection.(Default <see cref="InjectAttribute"/>)
        /// </summary>
        Type AttributeForInject { get; set; }

        /// <summary>
        /// Specified type for default IActivator.(Default <see cref="EmitActivator"/>)
        /// </summary>
        Type DefaultActivator { get; set; }

        /// <summary>
        /// Specified type for default IConstructorResolver.(Default <see cref="DefaultConstructorResolver"/>)
        /// </summary>
        Type DefaultConstructorResolver { get; set; }

        /// <summary>
        /// Specified <see cref="IConstructorResolver"/> for self bindable types.(Default <see cref="DefaultConstructorResolver"/>)
        /// </summary>
        IConstructorResolver ConstructorResolverForSelfBindable { get; set; }

        /// <summary>
        /// Specified <see cref="IActivator"/> for self bindable types.(Default <see cref="EmitActivator"/>)
        /// </summary>
        IActivator ActivatorForSelfBindable { get; set; }

        /// <summary>
        ///  Specified <see cref="IBindingPriority"/> for bindings.(Default <see cref="DefaultBindingPriority"/>)
        /// </summary>
        IBindingPriority DefaultBindingPriority { get; set; }

Last edited Mar 12, 2012 at 3:56 PM by VVS0205, version 5

Comments

No comments yet.