microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
8e11e5e231765b6fbeae91b4033a354e2340d0af

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

Libraries/Microsoft.Teams.AI/Annotations/ParamAttribute.cs

18lines · modecode

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT License.
3
4namespace Microsoft.Teams.AI.Annotations;
5
6[AttributeUsage(AttributeTargets.Parameter, Inherited = true)]
7public 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}