示例#1
0
        public TypeInjector(Type type, IObjectFactory objectFactory)
        {
            lemming = Lemming.From(type);
            CreatePropertiesCache();

            this.objectFactory = objectFactory;
        }
示例#2
0
        private static Lemming LemmingsCollection(Type type)
        {
            var lemmingType = typeof(LemmingsCollection <>).MakeGenericType(type);

            return(Lemming.From(lemmingType));
        }