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

            AddImports(source);
            AddImports(_patterns);
        }
Exemple #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;
 }
Exemple #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);
        }
Exemple #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)));
        }
Exemple #6
0
 internal ForAllElement(IEnumerable <Declaration> declarations, PatternElement source, IEnumerable <PatternElement> patterns)
     : base(declarations)
 {
     BasePattern = source;
     _patterns   = new List <PatternElement>(patterns);
 }
 internal AggregateElement(Type resultType, Type aggregateType, PatternElement source) : base(resultType)
 {
     AggregateType = aggregateType;
     Source        = source;
 }
 internal AggregateElement(IEnumerable <Declaration> declarations, Type resultType, Type aggregateType, PatternElement source)
     : base(declarations, resultType)
 {
     _aggregateType = aggregateType;
     _source        = source;
 }