Пример #1
0
        public RegistrationContext(
            DependencyResolverContainer container)
        {
            if (container == null)
            {
                throw new ArgumentNullException("container");
            }

            this.container = container;
        }
Пример #2
0
        public ContainerInstance(
            Type type,
            DependencyResolverContainer container)
        {
            if (type == null)
            {
                throw new ArgumentNullException("type");
            }

            this.container = container;

            this.And(type);
        }