microsoft/teams.net
Publicmirrored from https://github.com/microsoft/teams.netAvailable
Libraries/Microsoft.Teams.AI/Annotations/ParamAttribute.cs
15lines · modecode
| 1 | namespace Microsoft.Teams.AI.Annotations; |
| 2 | |
| 3 | [AttributeUsage(AttributeTargets.Parameter, Inherited = true)] |
| 4 | public class ParamAttribute(string? name = null) : Attribute |
| 5 | { |
| 6 | /// <summary> |
| 7 | /// the parameter name |
| 8 | /// </summary> |
| 9 | public string? Name { get; private set; } = name; |
| 10 | |
| 11 | /// <summary> |
| 12 | /// the parameter description |
| 13 | /// </summary> |
| 14 | public string? Description { get; private set; } |
| 15 | } |