microsoft/teams.net
Publicmirrored fromhttps://github.com/microsoft/teams.netAvailable
Libraries/Microsoft.Teams.AI/Annotations/ParamAttribute.cs
19lines · 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 | [Obsolete("Microsoft.Teams.AI is deprecated and will be removed by end of summer 2026.")] |
| 8 | public class ParamAttribute(string? name = null) : Attribute |
| 9 | { |
| 10 | /// <summary> |
| 11 | /// the parameter name |
| 12 | /// </summary> |
| 13 | public string? Name { get; private set; } = name; |
| 14 | |
| 15 | /// <summary> |
| 16 | /// the parameter description |
| 17 | /// </summary> |
| 18 | public string? Description { get; private set; } |
| 19 | } |