public LiteralExpressionPropertyTypeConvertor(IPropertyDeclarationFactory propertyDeclarationFactory, ILocationFactory locationFactory, IUnderlyingObjectFactory underlyingObjectFactory)
        {
            if (propertyDeclarationFactory == null)
            {
                throw new ArgumentNullException(nameof(propertyDeclarationFactory));
            }
            if (locationFactory == null)
            {
                throw new ArgumentNullException(nameof(locationFactory));
            }
            if (underlyingObjectFactory == null)
            {
                throw new ArgumentNullException(nameof(underlyingObjectFactory));
            }

            this.propertyDeclarationFactory = propertyDeclarationFactory;
            this.locationFactory            = locationFactory;
            this.underlyingObjectFactory    = underlyingObjectFactory;
        }
示例#2
0
        public AstMethodsVisitor(IMethodFactory methodFactory, ILocationFactory locationFactory, IUnderlyingObjectFactory underlyingObjectFactory)
        {
            if (methodFactory == null)
            {
                throw new ArgumentNullException(nameof(methodFactory));
            }
            if (locationFactory == null)
            {
                throw new ArgumentNullException(nameof(locationFactory));
            }
            if (underlyingObjectFactory == null)
            {
                throw new ArgumentNullException(nameof(underlyingObjectFactory));
            }

            this.methodFactory           = methodFactory;
            this.locationFactory         = locationFactory;
            this.underlyingObjectFactory = underlyingObjectFactory;
        }
示例#3
0
        protected MethodTypeConvertorBase(IMethodFactory methodFactory, ILocationFactory locationFactory, IUnderlyingObjectFactory underlyingObjectFactory)
        {
            if (methodFactory == null)
            {
                throw new ArgumentNullException(nameof(methodFactory));
            }
            if (locationFactory == null)
            {
                throw new ArgumentNullException(nameof(locationFactory));
            }
            if (underlyingObjectFactory == null)
            {
                throw new ArgumentNullException(nameof(underlyingObjectFactory));
            }

            this.methodFactory           = methodFactory;
            this.locationFactory         = locationFactory;
            this.underlyingObjectFactory = underlyingObjectFactory;
        }
        public ConstructorExtractor(IConstructorFactory constructorFactory, ILocationFactory locationFactory, IUnderlyingObjectFactory underlyingObjectFactory)
        {
            if (constructorFactory == null)
            {
                throw new ArgumentNullException(nameof(constructorFactory));
            }
            if (locationFactory == null)
            {
                throw new ArgumentNullException(nameof(locationFactory));
            }
            if (underlyingObjectFactory == null)
            {
                throw new ArgumentNullException(nameof(underlyingObjectFactory));
            }

            this.constructorFactory      = constructorFactory;
            this.locationFactory         = locationFactory;
            this.underlyingObjectFactory = underlyingObjectFactory;
        }
示例#5
0
        public PropertyAccessorExtractor(
            IPropertyAccessorFactory propertyAccessorFactory,
            ILocationFactory locationFactory,
            IUnderlyingObjectFactory underlyingObjectFactory)
        {
            if (propertyAccessorFactory == null)
            {
                throw new ArgumentNullException(nameof(propertyAccessorFactory));
            }
            if (locationFactory == null)
            {
                throw new ArgumentNullException(nameof(locationFactory));
            }
            if (underlyingObjectFactory == null)
            {
                throw new ArgumentNullException(nameof(underlyingObjectFactory));
            }

            this.propertyAccessorFactory = propertyAccessorFactory;
            this.locationFactory         = locationFactory;
            this.underlyingObjectFactory = underlyingObjectFactory;
        }
 public ExpressionBodyMethodTypeConvertor(IMethodFactory methodFactory, ILocationFactory locationFactory, IUnderlyingObjectFactory underlyingObjectFactory)
     : base(methodFactory, locationFactory, underlyingObjectFactory)
 {
 }