示例#1
0
        private ILifetimeSelector AddSelector(IEnumerable <TypeMap> types, IEnumerable <TypeFactoryMap> factories)
        {
            var selector = new LifetimeSelector(this, types, factories);

            Selectors.Add(selector);

            return(selector);
        }
示例#2
0
        private ILifetimeSelector AddSelector(IEnumerable <TypeMap> types)
        {
            var selector = new LifetimeSelector(Types, types);

            Selectors.Add(selector);

            return(selector);
        }
示例#3
0
        private ILifetimeSelector AddSelector(IEnumerable <Tuple <Type, IEnumerable <Type> > > types)
        {
            var lifetimeSelector = new LifetimeSelector(this, types);

            Selectors.Add(lifetimeSelector);

            return(lifetimeSelector);
        }