@@ -564,6 +564,9 @@ public static ApplicationModel.IResourceBuilder<T> WithUrl<T>(this ApplicationMo
564564 public static ApplicationModel . IResourceBuilder < T > WithUrlForEndpoint < T > ( this ApplicationModel . IResourceBuilder < T > builder , string endpointName , System . Action < ApplicationModel . ResourceUrlAnnotation > callback )
565565 where T : ApplicationModel . IResource { throw null ; }
566566
567+ public static ApplicationModel . IResourceBuilder < T > WithUrlForEndpoint < T > ( this ApplicationModel . IResourceBuilder < T > builder , string endpointName , System . Func < ApplicationModel . EndpointReference , ApplicationModel . ResourceUrlAnnotation > callback )
568+ where T : ApplicationModel . IResourceWithEndpoints { throw null ; }
569+
567570 public static ApplicationModel . IResourceBuilder < T > WithUrls < T > ( this ApplicationModel . IResourceBuilder < T > builder , System . Action < ApplicationModel . ResourceUrlsCallbackContext > callback )
568571 where T : ApplicationModel . IResource { throw null ; }
569572
@@ -1746,6 +1749,8 @@ public sealed partial record ResourceStateSnapshot(string Text, string? Style)
17461749 public sealed partial class ResourceUrlAnnotation : IResourceAnnotation
17471750 {
17481751 public int ? DisplayOrder ;
1752+ public UrlDisplayLocation DisplayLocation { get { throw null ; } set { } }
1753+
17491754 public string ? DisplayText { get { throw null ; } set { } }
17501755
17511756 public EndpointReference ? Endpoint { get { throw null ; } init { } }
@@ -1775,6 +1780,8 @@ public ResourceUrlsCallbackContext(DistributedApplicationExecutionContext execut
17751780 public IResource Resource { get { throw null ; } }
17761781
17771782 public System . Collections . Generic . List < ResourceUrlAnnotation > Urls { get { throw null ; } }
1783+
1784+ public EndpointReference ? GetEndpoint ( string name ) { throw null ; }
17781785 }
17791786
17801787 public sealed partial class UpdateCommandStateContext
@@ -1784,6 +1791,12 @@ public sealed partial class UpdateCommandStateContext
17841791 public required System . IServiceProvider ServiceProvider { get { throw null ; } init { } }
17851792 }
17861793
1794+ public enum UrlDisplayLocation
1795+ {
1796+ SummaryAndDetails = 0 ,
1797+ DetailsOnly = 1
1798+ }
1799+
17871800 public sealed partial record UrlDisplayPropertiesSnapshot ( string DisplayName = "" , int SortOrder = 0 )
17881801 {
17891802 }
@@ -1982,16 +1995,28 @@ public void WriteConnectionString(ApplicationModel.IResource resource) { }
19821995 public System . Threading . Tasks . Task WriteEnvironmentVariablesAsync ( ApplicationModel . IResource resource ) { throw null ; }
19831996 }
19841997
1998+ [ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREPUBLISHERS001" ) ]
1999+ public sealed partial class NullPublishingActivityProgressReporter : IPublishingActivityProgressReporter
2000+ {
2001+ internal NullPublishingActivityProgressReporter ( ) { }
2002+
2003+ public static NullPublishingActivityProgressReporter Instance { get { throw null ; } }
2004+
2005+ public System . Threading . Tasks . Task < PublishingActivity > CreateActivityAsync ( string id , string initialStatusText , bool isPrimary , System . Threading . CancellationToken cancellationToken ) { throw null ; }
2006+
2007+ public System . Threading . Tasks . Task UpdateActivityStatusAsync ( PublishingActivity publishingActivity , System . Func < PublishingActivityStatus , PublishingActivityStatus > statusUpdate , System . Threading . CancellationToken cancellationToken ) { throw null ; }
2008+ }
2009+
19852010 [ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREPUBLISHERS001" ) ]
19862011 public sealed partial class PublishingActivity
19872012 {
1988- internal PublishingActivity ( ) { }
2013+ public PublishingActivity ( string id , bool isPrimary = false ) { }
19892014
19902015 public string Id { get { throw null ; } }
19912016
19922017 public bool IsPrimary { get { throw null ; } }
19932018
1994- public PublishingActivityStatus ? LastStatus { get { throw null ; } }
2019+ public PublishingActivityStatus ? LastStatus { get { throw null ; } set { } }
19952020 }
19962021
19972022 [ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREPUBLISHERS001" ) ]
0 commit comments