microsoft/teams.net

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/update-sample-to-blazor

Branches

Tags

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

Clone

HTTPS

Download ZIP

Libraries/Microsoft.Teams.AI/Annotations/Prompt.NameAttribute.cs

17lines · modecode

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT License.
3
4namespace Microsoft.Teams.AI.Annotations;
5
6public static partial class Prompt
7{
8 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = true)]
9 [Obsolete("Microsoft.Teams.AI is deprecated and will be removed by end of summer 2026.")]
10 public class NameAttribute(string Name) : Attribute
11 {
12 /// <summary>
13 /// the prompts name
14 /// </summary>
15 public string Name { get; private set; } = Name;
16 }
17}