@@ -564,6 +564,9 @@ public static ApplicationModel.IResourceBuilder<T> WithUrl<T>(this ApplicationMo
564
564
public static ApplicationModel . IResourceBuilder < T > WithUrlForEndpoint < T > ( this ApplicationModel . IResourceBuilder < T > builder , string endpointName , System . Action < ApplicationModel . ResourceUrlAnnotation > callback )
565
565
where T : ApplicationModel . IResource { throw null ; }
566
566
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
+
567
570
public static ApplicationModel . IResourceBuilder < T > WithUrls < T > ( this ApplicationModel . IResourceBuilder < T > builder , System . Action < ApplicationModel . ResourceUrlsCallbackContext > callback )
568
571
where T : ApplicationModel . IResource { throw null ; }
569
572
@@ -1746,6 +1749,8 @@ public sealed partial record ResourceStateSnapshot(string Text, string? Style)
1746
1749
public sealed partial class ResourceUrlAnnotation : IResourceAnnotation
1747
1750
{
1748
1751
public int ? DisplayOrder ;
1752
+ public UrlDisplayLocation DisplayLocation { get { throw null ; } set { } }
1753
+
1749
1754
public string ? DisplayText { get { throw null ; } set { } }
1750
1755
1751
1756
public EndpointReference ? Endpoint { get { throw null ; } init { } }
@@ -1775,6 +1780,8 @@ public ResourceUrlsCallbackContext(DistributedApplicationExecutionContext execut
1775
1780
public IResource Resource { get { throw null ; } }
1776
1781
1777
1782
public System . Collections . Generic . List < ResourceUrlAnnotation > Urls { get { throw null ; } }
1783
+
1784
+ public EndpointReference ? GetEndpoint ( string name ) { throw null ; }
1778
1785
}
1779
1786
1780
1787
public sealed partial class UpdateCommandStateContext
@@ -1784,6 +1791,12 @@ public sealed partial class UpdateCommandStateContext
1784
1791
public required System . IServiceProvider ServiceProvider { get { throw null ; } init { } }
1785
1792
}
1786
1793
1794
+ public enum UrlDisplayLocation
1795
+ {
1796
+ SummaryAndDetails = 0 ,
1797
+ DetailsOnly = 1
1798
+ }
1799
+
1787
1800
public sealed partial record UrlDisplayPropertiesSnapshot ( string DisplayName = "" , int SortOrder = 0 )
1788
1801
{
1789
1802
}
@@ -1982,16 +1995,28 @@ public void WriteConnectionString(ApplicationModel.IResource resource) { }
1982
1995
public System . Threading . Tasks . Task WriteEnvironmentVariablesAsync ( ApplicationModel . IResource resource ) { throw null ; }
1983
1996
}
1984
1997
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
+
1985
2010
[ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREPUBLISHERS001" ) ]
1986
2011
public sealed partial class PublishingActivity
1987
2012
{
1988
- internal PublishingActivity ( ) { }
2013
+ public PublishingActivity ( string id , bool isPrimary = false ) { }
1989
2014
1990
2015
public string Id { get { throw null ; } }
1991
2016
1992
2017
public bool IsPrimary { get { throw null ; } }
1993
2018
1994
- public PublishingActivityStatus ? LastStatus { get { throw null ; } }
2019
+ public PublishingActivityStatus ? LastStatus { get { throw null ; } set { } }
1995
2020
}
1996
2021
1997
2022
[ System . Diagnostics . CodeAnalysis . Experimental ( "ASPIREPUBLISHERS001" ) ]
0 commit comments