Update competition/.net/filter.md

This commit is contained in:
Ghassan Yusuf 2025-10-19 01:15:54 +03:00
parent 58c754ebed
commit 6137dd2234

View File

@ -1,5 +1,7 @@
# World Taekwondo Competition Filter
Here is the full comprehensive C# code for a World Taekwondo competition participant filter function including grouping by official, up-to-date WT age categories (Child, Cadet, Junior, Senior, Master), gender-specific weight classes, and integration with your PlayerDto object:
## Filter Function
```csharp
using System;
using System.Collections.Generic;
@ -252,6 +254,8 @@ This is the base you can use to seamlessly integrate further with bracket and ma
[8](https://learn.microsoft.com/en-us/aspnet/core/mvc/controllers/filters?view=aspnetcore-9.0)
[9](https://github.com/linpengcheng/PurefunctionPipelineDataflow)
## How To Use The Function
Here is an example showing how to use the comprehensive Taekwondo filter function with your PlayerDto list to group participants by official WT categories and then display the groupings for predraw preparation:
```csharp