microsoft/teams.net

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v2.0.0-preview.5

Branches

Tags

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

Clone

HTTPS

Download ZIP

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

21lines · modecode

1namespace Microsoft.Teams.AI.Annotations;
2
3[AttributeUsage(AttributeTargets.Method, Inherited = true)]
4public class FunctionAttribute : Attribute
5{
6 /// <summary>
7 /// the functions name
8 /// </summary>
9 public string? Name { get; private set; }
10
11 /// <summary>
12 /// the functions description
13 /// </summary>
14 public string? Description { get; private set; }
15
16 public FunctionAttribute(string? Name = null, string? Description = null)
17 {
18 this.Name = Name;
19 this.Description = Description;
20 }
21}