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