示例#1
0
 internal AggregateElement(IEnumerable <Declaration> declarations, Type resultType, string name, ExpressionMap expressionMap, PatternElement source)
     : base(declarations, resultType)
 {
     Name          = name;
     ExpressionMap = expressionMap;
     Source        = source;
 }
示例#2
0
        internal ForAllElement(PatternElement source, IEnumerable <PatternElement> patterns)
        {
            BasePattern = source;
            _patterns   = new List <PatternElement>(patterns);

            AddImports(source);
            AddImports(_patterns);
        }
示例#3
0
 internal AggregateElement(IEnumerable <Declaration> declarations, Type resultType, string name, ExpressionMap expressionMap, IAggregatorFactory factory, PatternElement source)
     : base(declarations, resultType)
 {
     _name          = name;
     _expressionMap = expressionMap;
     _factory       = factory;
     _source        = source;
 }
示例#4
0
        internal AggregateElement(Type resultType, string name, ExpressionCollection expressions, PatternElement source, Type customFactoryType)
            : base(resultType)
        {
            Name              = name;
            Expressions       = expressions;
            Source            = source;
            CustomFactoryType = customFactoryType;

            AddImports(source);
        }
示例#5
0
        internal AggregateElement(Type resultType, string name, ExpressionCollection expressions, PatternElement source, Type customFactoryType)
        {
            ResultType        = resultType;
            Name              = name;
            Expressions       = expressions;
            Source            = source;
            CustomFactoryType = customFactoryType;

            AddImports(source);
            AddImports(expressions.SelectMany(x => x.Imports.Except(source.Exports)));
        }
示例#6
0
 internal ForAllElement(IEnumerable <Declaration> declarations, PatternElement source, IEnumerable <PatternElement> patterns)
     : base(declarations)
 {
     BasePattern = source;
     _patterns   = new List <PatternElement>(patterns);
 }
示例#7
0
 internal AggregateElement(Type resultType, Type aggregateType, PatternElement source) : base(resultType)
 {
     AggregateType = aggregateType;
     Source        = source;
 }
示例#8
0
 internal AggregateElement(IEnumerable <Declaration> declarations, Type resultType, Type aggregateType, PatternElement source)
     : base(declarations, resultType)
 {
     _aggregateType = aggregateType;
     _source        = source;
 }