Exemple #1
0
        public ConfigureConventionExpression SingleImplementationsOfInterface()
        {
            var convention = new ImplementationMap();

            With(convention);
            return(new ConfigureConventionExpression(convention));
        }
Exemple #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));
        }