From a07471e77d4b91a4a594f53989dee3985a389da4 Mon Sep 17 00:00:00 2001 From: Tracy Boehrer Date: Fri, 8 Dec 2023 13:19:28 -0600 Subject: [PATCH] Add obsolete warning to Orchestrator classes --- .../OrchestratorBotComponent.cs | 2 ++ .../OrchestratorRecognizer.cs | 1 + 2 files changed, 3 insertions(+) diff --git a/libraries/Microsoft.Bot.Builder.AI.Orchestrator/OrchestratorBotComponent.cs b/libraries/Microsoft.Bot.Builder.AI.Orchestrator/OrchestratorBotComponent.cs index 09cbcb60b8..a213632d5d 100644 --- a/libraries/Microsoft.Bot.Builder.AI.Orchestrator/OrchestratorBotComponent.cs +++ b/libraries/Microsoft.Bot.Builder.AI.Orchestrator/OrchestratorBotComponent.cs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System; using Microsoft.Bot.Builder.Dialogs.Declarative; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; @@ -11,6 +12,7 @@ namespace Microsoft.Bot.Builder.AI.Orchestrator /// /// Define component assets for Orchestrator. /// + [Obsolete("The Bot Framework Orchestrator will be deprecated in the next version of the Bot Framework SDK.")] public class OrchestratorBotComponent : BotComponent { /// diff --git a/libraries/Microsoft.Bot.Builder.AI.Orchestrator/OrchestratorRecognizer.cs b/libraries/Microsoft.Bot.Builder.AI.Orchestrator/OrchestratorRecognizer.cs index f40e8de1f2..a7942b4986 100644 --- a/libraries/Microsoft.Bot.Builder.AI.Orchestrator/OrchestratorRecognizer.cs +++ b/libraries/Microsoft.Bot.Builder.AI.Orchestrator/OrchestratorRecognizer.cs @@ -24,6 +24,7 @@ namespace Microsoft.Bot.Builder.AI.Orchestrator /// /// Class that represents an adaptive Orchestrator recognizer. /// + [Obsolete("The Bot Framework Orchestrator will be deprecated in the next version of the Bot Framework SDK.")] public class OrchestratorRecognizer : AdaptiveRecognizer { ///