11Imports  DevExpress.Data.Filtering 
22Imports  DevExpress.DataAccess.Criteria 
3- Imports  DevExpress.DataAccess.Native.ExpressionEditor 
43Imports  System 
54Imports  System.Collections.Generic 
65
76Namespace  Dashboard_StringConcatAggregate 
87Friend  Class  StringConcatFunction 
9- Implements  ICustomAggregateFunction,  ICustomFunctionOperatorBrowsable,    ICustomFunctionOperatorCategory 
8+ Implements  ICustomAggregateFunction,  ICustomFunctionOperatorBrowsable 
109
1110Public  ReadOnly  Property  Name()  As  String  Implements  DevExpress.Data.Filtering.ICustomFunctionOperator.Name 
1211Get 
@@ -32,27 +31,20 @@ Namespace Dashboard_StringConcatAggregate
3231End  Get 
3332End  Property 
3433
35- 
3634Public  ReadOnly  Property  Category()  As  FunctionCategory  Implements  ICustomFunctionOperatorBrowsable.Category 
3735Get 
3836Return  DevExpress.Data.Filtering.FunctionCategory.Text 
3937End  Get 
4038End  Property 
4139
42- Public  ReadOnly  Property  FunctionCategory()  As  String  Implements  ICustomFunctionOperatorCategory.FunctionCategory 
43- Get 
44- Return  "Aggregate" 
45- End  Get 
46- End  Property 
47- 
48- Public  Function  CreateEvaluationState( ByVal  inputType  As  Type)  As  Type  Implements  ICustomAggregateFunction.CreateEvaluationState 
49- Return  GetType (StringConcatState) 
50- End  Function 
51- 
5240Public  Function  Evaluate( ParamArray  ByVal  operands()  As  Object )  As  Object  Implements  DevExpress.Data.Filtering.ICustomFunctionOperator.Evaluate 
5341Throw  New  NotImplementedException() 
5442End  Function 
5543
44+ Public  Function  GetAggregationContextType( ByVal  inputType  As  Type)  As  Type 
45+ Return  GetType (StringConcatState) 
46+  End  Function 
47+ 
5648Public  Function  IsValidOperandCount( ByVal  count  As  Integer )  As  Boolean  Implements  ICustomFunctionOperatorBrowsable.IsValidOperandCount 
5749Return  count  <=  MaxOperandCount  AndAlso  count  >=  MinOperandCount 
5850End  Function 
0 commit comments