Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,23 @@
//------------------------------------------------------------------------------
namespace Aspire.Hosting
{
[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")]
public static partial class SwaAppHostingExtension
{
[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")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.SwaResource> AddSwaEmulator(this IDistributedApplicationBuilder builder, string name, SwaResourceOptions options) { throw null; }

[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")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.SwaResource> AddSwaEmulator(this IDistributedApplicationBuilder builder, string name) { throw null; }

[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")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.SwaResource> WithApiResource(this ApplicationModel.IResourceBuilder<ApplicationModel.SwaResource> builder, ApplicationModel.IResourceBuilder<ApplicationModel.IResourceWithEndpoints> apiResource) { throw null; }

[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")]
public static ApplicationModel.IResourceBuilder<ApplicationModel.SwaResource> WithAppResource(this ApplicationModel.IResourceBuilder<ApplicationModel.SwaResource> builder, ApplicationModel.IResourceBuilder<ApplicationModel.IResourceWithEndpoints> appResource) { throw null; }
}

[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")]
public partial class SwaResourceOptions
{
public int DevServerTimeout { get { throw null; } set { } }
Expand All @@ -29,20 +35,23 @@ public partial class SwaResourceOptions

namespace Aspire.Hosting.ApplicationModel
{
[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")]
public partial class SwaApiEndpointAnnotation : IResourceAnnotation
{
public SwaApiEndpointAnnotation(IResourceBuilder<IResourceWithEndpoints> resource) { }

public string Endpoint { get { throw null; } }
}

[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")]
public partial class SwaAppEndpointAnnotation : IResourceAnnotation
{
public SwaAppEndpointAnnotation(IResourceBuilder<IResourceWithEndpoints> resource) { }

public string Endpoint { get { throw null; } }
}

[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")]
public partial class SwaResource : ExecutableResource
{
public SwaResource(string name, string workingDirectory) : base(default!, default!, default!) { }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Aspire.Hosting
{
public static partial class MySqlBuilderExtensions
{
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; }

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; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ namespace Aspire.Hosting
{
public static partial class SqlServerBuilderExtensions
{
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; }

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; }
}
}