Beispiel #1
0
        public IGeneratableHandler Resolve(Type type)
        {
            if (type == null)
            {
                throw new ArgumentNullException(nameof(type));
            }

            return(_container.Resolve(type));
        }
Beispiel #2
0
        public virtual IGeneratableHandler Create(Type type)
        {
            if (type == null)
            {
                throw new ArgumentNullException(nameof(type));
            }

            return(Container.Resolve(type));
        }