Esempio n. 1
0
        public ConfigureConventionExpression SingleImplementationsOfInterface()
        {
            var convention = new ImplementationMap();

            With(convention);
            return(new ConfigureConventionExpression(convention));
        }
Esempio n. 2
0
        /// <summary>
        /// Directs the scanning to automatically register any type that is the single
        /// implementation of an interface against that interface.
        /// The filters apply
        /// </summary>
        public ConfigureConventionExpression SingleImplementationsOfInterface()
        {
            var convention = new ImplementationMap();

            With(convention);
            ModifyGraphAfterScan(convention.RegisterSingleImplementations);
            return(new ConfigureConventionExpression(convention));
        }