Skip to content

Commit

Permalink
[#6644] Remove BotFrameworkAdapter Obsolete annotation (#6648)
Browse files Browse the repository at this point in the history
* remove obsolete tag

* remove extra space

---------

Co-authored-by: JhontSouth <jhonatan.sandoval@southworks.com>
  • Loading branch information
ceciliaavila and JhontSouth authored Jul 18, 2023
1 parent b83d844 commit 6a17a29
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
4 changes: 2 additions & 2 deletions libraries/Microsoft.Bot.Builder/BotFrameworkAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ namespace Microsoft.Bot.Builder
/// <summary>
/// A bot adapter that can connect a bot to a service endpoint.
/// </summary>
/// <remarks>The bot adapter encapsulates authentication processes and sends
/// <remarks>BotFrameworkAdapter is still supported but the recommended adapter is `CloudAdapter`.
/// The bot adapter encapsulates authentication processes and sends
/// activities to and receives activities from the Bot Connector Service. When your
/// bot receives an activity, the adapter creates a context object, passes it to your
/// bot's application logic, and sends responses back to the user's channel.
Expand All @@ -45,7 +46,6 @@ namespace Microsoft.Bot.Builder
/// <seealso cref="IActivity"/>
/// <seealso cref="IBot"/>
/// <seealso cref="IMiddleware"/>h
[Obsolete("Use `CloudAdapter` instead.", false)]
public class BotFrameworkAdapter : BotAdapter, IAdapterIntegration, IExtendedUserTokenProvider, IConnectorClientBuilder
{
private static readonly HttpClient DefaultHttpClient = new HttpClient();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ namespace Microsoft.Bot.Builder.Integration
/// <summary>
/// An interface that defines the contract between web service integration pieces and the bot adapter.
/// </summary>
[Obsolete("Use `CloudAdapter` instead to process incoming messages.", false)]
/// <remarks>
/// BotFrameworkAdapter is still supported but the recommended adapter is `CloudAdapter`.
/// </remarks>
public interface IAdapterIntegration
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ namespace Microsoft.Bot.Builder.Streaming
/// <summary>
/// An HTTP adapter base class.
/// </summary>
[Obsolete("Use `CloudAdapter` instead.", false)]
/// <remarks>
/// BotFrameworkAdapter is still supported but the recommended adapter is `CloudAdapter`.
/// </remarks>
public class BotFrameworkHttpAdapterBase : BotFrameworkAdapter, IStreamingActivityProcessor, IDisposable
{
private bool _disposedValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ namespace Microsoft.Bot.Builder.Integration.AspNet.Core
/// <summary>
/// A Bot Builder Adapter implementation used to handled bot Framework HTTP requests.
/// </summary>
[Obsolete("Use `CloudAdapter` instead.", false)]
/// <remarks>
/// BotFrameworkAdapter is still supported but the recommended adapter is `CloudAdapter`.
/// </remarks>
public class BotFrameworkHttpAdapter : BotFrameworkHttpAdapterBase, IBotFrameworkHttpAdapter
{
private const string AuthHeaderName = "authorization";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ namespace Microsoft.Bot.Builder.Integration.AspNet.Core.Handlers
/// <summary>
/// A handler to process incoming http requests via using an adapter.
/// </summary>
[Obsolete("Use `CloudAdapter` instead to process incoming messages.", false)]
/// <remarks>
/// BotFrameworkAdapter is still supported but the recommended adapter is `CloudAdapter`.
/// </remarks>
public class BotMessageHandler : BotMessageHandlerBase
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ namespace Microsoft.Bot.Builder.Integration.AspNet.Core.Handlers
/// <summary>
/// Abstract base class for a bot message handler.
/// </summary>
[Obsolete("Use `CloudAdapter` instead to process incoming messages.", false)]
/// <remarks>
/// BotFrameworkAdapter is still supported but the recommended adapter is `CloudAdapter`.
/// </remarks>
public abstract class BotMessageHandlerBase
{
/// <summary>
Expand Down

0 comments on commit 6a17a29

Please sign in to comment.