Skip to content

Commit 43f252a

Browse files
Update Readme.md
1 parent 81e3cde commit 43f252a

File tree

1 file changed

+5
-41
lines changed

1 file changed

+5
-41
lines changed

Readme.md

Lines changed: 5 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ This example shows how to aggregate your data by string concatenation.
1313
## Files to Look At
1414
* [Form1.cs](./CS/Dashboard_StringConcatAggregate/Form1.cs) (VB: [Form1.vb](./VB/Dashboard_StringConcatAggregate/Form1.vb))
1515
* [StringConcatFunction.cs](./CS/Dashboard_StringConcatAggregate/StringConcatFunction.cs) (VB: [StringConcatFunction.vb](./VB/Dashboard_StringConcatAggregate/StringConcatFunction.vb))
16+
* [Program.cs](./CS/Dashboard_StringConcatAggregatel/Program.cs#L24) (VB: [Program.vb](./VB/Dashboard_StringConcatAggregate/Program.vb#L24))
1617
<!-- default file list end -->
1718

1819
## Overview
@@ -26,47 +27,10 @@ The following expressions aggregates data by string concatenation for _СontactN
2627
| --- | --- |
2728
| Contact names by countries | ``` StringConcat([ContactName]) ``` |
2829

29-
Call the [CriteriaOperator.RegisterCustomFunction](https://docs.devexpress.com/CoreLibraries/DevExpress.Data.Filtering.CriteriaOperator.RegisterCustomFunction(DevExpress.Data.Filtering.ICustomFunctionOperator)) method to register a custom function in your project. The following code snippet shows how to register the numeric group interval's function:
30-
31-
[Program.cs](./CS/Dashboard_StringConcatAggregatel/Program.cs):
32-
```csharp
33-
using System;
34-
using System.Windows.Forms
35-
using DevExpress.Data.Filtering;
36-
37-
namespace Dashboard_StringConcatAggregate {
38-
static class Program {
39-
/// <summary>
40-
/// The main entry point for the application.
41-
/// </summary>
42-
[STAThread]
43-
static void Main() {
44-
// ...
45-
CriteriaOperator.RegisterCustomFunction(new StringConcatFunction());
46-
Application.Run(new Form1());
47-
}
48-
}
49-
}
50-
```
51-
[Program.vb](./VB/Dashboard_StringConcatAggregate/Program.vb):
52-
```vb
53-
Imports System.Windows.Forms using DevExpress.Data.Filtering
54-
55-
Namespace Dashboard_StringConcatAggregate
56-
Friend Module Program
57-
''' <summary>
58-
''' The main entry point for the application.
59-
''' </summary>
60-
<STAThread>
61-
Sub Main()
62-
' ...
63-
CriteriaOperator.RegisterCustomFunction(New StringConcatFunction())
64-
Application.Run(New Form1())
65-
End Sub
66-
End Module
67-
End Namespace
68-
69-
```
30+
Call the [CriteriaOperator.RegisterCustomFunction](https://docs.devexpress.com/CoreLibraries/DevExpress.Data.Filtering.CriteriaOperator.RegisterCustomFunction(DevExpress.Data.Filtering.ICustomFunctionOperator)) method to register a custom function in your project.
31+
32+
View File: [Program.cs](./CS/Dashboard_StringConcatAggregatel/Program.cs#L24) (VB: [Program.vb](./VB/Dashboard_StringConcatAggregate/Program.vb#L24))
33+
7034

7135
## Documentation
7236

0 commit comments

Comments
 (0)