Skip to content

Commit 1533c3c

Browse files
[create-pull-request] automated change (#688)
Co-authored-by: Alirexaa <70141416+Alirexaa@users.noreply.github.com>
1 parent 3571c4d commit 1533c3c

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

src/CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps/api/CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,23 @@
88
//------------------------------------------------------------------------------
99
namespace Aspire.Hosting
1010
{
11+
[System.Obsolete("The SWA emulator integration is going to be removed in a future release.", false, DiagnosticId = "CTASPIRE003", UrlFormat = "https://github.com/CommunityToolit/aspire/issues/698")]
1112
public static partial class SwaAppHostingExtension
1213
{
14+
[System.Obsolete("The SWA emulator integration is going to be removed in a future release.", false, DiagnosticId = "CTASPIRE003", UrlFormat = "https://github.com/CommunityToolit/aspire/issues/698")]
1315
public static ApplicationModel.IResourceBuilder<ApplicationModel.SwaResource> AddSwaEmulator(this IDistributedApplicationBuilder builder, string name, SwaResourceOptions options) { throw null; }
1416

17+
[System.Obsolete("The SWA emulator integration is going to be removed in a future release.", false, DiagnosticId = "CTASPIRE003", UrlFormat = "https://github.com/CommunityToolit/aspire/issues/698")]
1518
public static ApplicationModel.IResourceBuilder<ApplicationModel.SwaResource> AddSwaEmulator(this IDistributedApplicationBuilder builder, string name) { throw null; }
1619

20+
[System.Obsolete("The SWA emulator integration is going to be removed in a future release.", false, DiagnosticId = "CTASPIRE003", UrlFormat = "https://github.com/CommunityToolit/aspire/issues/698")]
1721
public static ApplicationModel.IResourceBuilder<ApplicationModel.SwaResource> WithApiResource(this ApplicationModel.IResourceBuilder<ApplicationModel.SwaResource> builder, ApplicationModel.IResourceBuilder<ApplicationModel.IResourceWithEndpoints> apiResource) { throw null; }
1822

23+
[System.Obsolete("The SWA emulator integration is going to be removed in a future release.", false, DiagnosticId = "CTASPIRE003", UrlFormat = "https://github.com/CommunityToolit/aspire/issues/698")]
1924
public static ApplicationModel.IResourceBuilder<ApplicationModel.SwaResource> WithAppResource(this ApplicationModel.IResourceBuilder<ApplicationModel.SwaResource> builder, ApplicationModel.IResourceBuilder<ApplicationModel.IResourceWithEndpoints> appResource) { throw null; }
2025
}
2126

27+
[System.Obsolete("The SWA emulator integration is going to be removed in a future release.", false, DiagnosticId = "CTASPIRE003", UrlFormat = "https://github.com/CommunityToolit/aspire/issues/698")]
2228
public partial class SwaResourceOptions
2329
{
2430
public int DevServerTimeout { get { throw null; } set { } }
@@ -29,20 +35,23 @@ public partial class SwaResourceOptions
2935

3036
namespace Aspire.Hosting.ApplicationModel
3137
{
38+
[System.Obsolete("The SWA emulator integration is going to be removed in a future release.", false, DiagnosticId = "CTASPIRE003", UrlFormat = "https://github.com/CommunityToolit/aspire/issues/698")]
3239
public partial class SwaApiEndpointAnnotation : IResourceAnnotation
3340
{
3441
public SwaApiEndpointAnnotation(IResourceBuilder<IResourceWithEndpoints> resource) { }
3542

3643
public string Endpoint { get { throw null; } }
3744
}
3845

46+
[System.Obsolete("The SWA emulator integration is going to be removed in a future release.", false, DiagnosticId = "CTASPIRE003", UrlFormat = "https://github.com/CommunityToolit/aspire/issues/698")]
3947
public partial class SwaAppEndpointAnnotation : IResourceAnnotation
4048
{
4149
public SwaAppEndpointAnnotation(IResourceBuilder<IResourceWithEndpoints> resource) { }
4250

4351
public string Endpoint { get { throw null; } }
4452
}
4553

54+
[System.Obsolete("The SWA emulator integration is going to be removed in a future release.", false, DiagnosticId = "CTASPIRE003", UrlFormat = "https://github.com/CommunityToolit/aspire/issues/698")]
4655
public partial class SwaResource : ExecutableResource
4756
{
4857
public SwaResource(string name, string workingDirectory) : base(default!, default!, default!) { }
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by a tool.
4+
//
5+
// Changes to this file may cause incorrect behavior and will be lost if
6+
// the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
namespace Aspire.Hosting
10+
{
11+
public static partial class MySqlBuilderExtensions
12+
{
13+
public static ApplicationModel.IResourceBuilder<ApplicationModel.MySqlServerResource> WithAdminer(this ApplicationModel.IResourceBuilder<ApplicationModel.MySqlServerResource> builder, System.Action<ApplicationModel.IResourceBuilder<ApplicationModel.AdminerContainerResource>>? configureContainer = null, string? containerName = null) { throw null; }
14+
15+
public static ApplicationModel.IResourceBuilder<ApplicationModel.MySqlServerResource> WithDbGate(this ApplicationModel.IResourceBuilder<ApplicationModel.MySqlServerResource> builder, System.Action<ApplicationModel.IResourceBuilder<ApplicationModel.DbGateContainerResource>>? configureContainer = null, string? containerName = null) { throw null; }
16+
}
17+
}

src/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions/api/CommunityToolkit.Aspire.Hosting.SqlServer.Extensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ namespace Aspire.Hosting
1010
{
1111
public static partial class SqlServerBuilderExtensions
1212
{
13+
public static ApplicationModel.IResourceBuilder<ApplicationModel.SqlServerServerResource> WithAdminer(this ApplicationModel.IResourceBuilder<ApplicationModel.SqlServerServerResource> builder, System.Action<ApplicationModel.IResourceBuilder<ApplicationModel.AdminerContainerResource>>? configureContainer = null, string? containerName = null) { throw null; }
14+
1315
public static ApplicationModel.IResourceBuilder<ApplicationModel.SqlServerServerResource> WithDbGate(this ApplicationModel.IResourceBuilder<ApplicationModel.SqlServerServerResource> builder, System.Action<ApplicationModel.IResourceBuilder<ApplicationModel.DbGateContainerResource>>? configureContainer = null, string? containerName = null) { throw null; }
1416
}
1517
}

0 commit comments

Comments
 (0)