示例#1
0
 internal override void Assign(
     CodegenMethod method,
     CodegenExpressionRef factory,
     SAIFFInitializeSymbol symbols,
     CodegenClassScope classScope)
 {
     method.Block
         .SetProperty(
             factory,
             "SizeEvaluator",
             CodegenEvaluator(sizeForge, method, GetType(), classScope))
         .SetProperty(
             factory,
             "SortCriteriaEvaluators",
             CodegenEvaluators(sortCriteriaExpressions, method, GetType(), classScope))
         .SetProperty(
             factory,
             "SortCriteriaTypes",
             Constant(ExprNodeUtilityQuery.GetExprResultTypes(sortCriteriaExpressions)))
         .SetProperty(
             factory,
             "IsDescendingValues",
             Constant(isDescendingValues))
         .SetProperty(
             factory,
             "IsUseCollatorSort",
             Constant(useCollatorSort))
         .SetProperty(
             factory,
             "SortSerdes",
             DataInputOutputSerdeForgeExtensions.CodegenArray(sortSerdes, method, classScope, null));
     ViewMultiKeyHelper.Assign(criteriaExpressions, multiKeyClassNames, method, factory, symbols, classScope);
 }
 internal override void Assign(
     CodegenMethod method,
     CodegenExpressionRef factory,
     SAIFFInitializeSymbol symbols,
     CodegenClassScope classScope)
 {
     ViewMultiKeyHelper.Assign(_criteriaExpressions, _multiKeyClassNames, method, factory, symbols, classScope);
 }