@@ -10,37 +10,49 @@ namespace Aspire.Hosting
1010{
1111 public static partial class DaprMetadataResourceBuilderExtensions
1212 {
13+ [ AspireExportIgnore ( Reason = "IValueProvider is too broad for stable polyglot code generation. Use the endpoint, reference expression, or parameter overloads instead." ) ]
1314 public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > WithMetadata ( this ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > builder , string name , ApplicationModel . IValueProvider valueProvider ) { throw null ; }
1415
16+ [ AspireExport ( "withMetadataParameter" , MethodName = "withMetadataParameter" , Description = "Adds parameter-backed metadata to a Dapr component" ) ]
1517 public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > WithMetadata ( this ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > builder , string name , ApplicationModel . ParameterResource parameterResource ) { throw null ; }
1618
19+ [ AspireExport ( "withMetadata" , Description = "Adds static metadata to a Dapr component" ) ]
1720 public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > WithMetadata ( this ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > builder , string name , string value ) { throw null ; }
1821 }
1922
2023 public static partial class IDistributedApplicationBuilderExtensions
2124 {
25+ [ AspireExport ( "addDapr" , Description = "Adds Dapr support to the distributed application builder" ) ]
2226 public static IDistributedApplicationBuilder AddDapr ( this IDistributedApplicationBuilder builder , System . Action < CommunityToolkit . Aspire . Hosting . Dapr . DaprOptions > ? configure = null ) { throw null ; }
2327
28+ [ AspireExportIgnore ( Reason = "Use the exported DTO-based overload instead to avoid ambiguous polyglot wrapper generation." ) ]
2429 public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > AddDaprComponent ( this IDistributedApplicationBuilder builder , string name , string type , CommunityToolkit . Aspire . Hosting . Dapr . DaprComponentOptions ? options = null ) { throw null ; }
2530
31+ [ AspireExportIgnore ( Reason = "Use the exported DTO-based overload instead to avoid ambiguous polyglot wrapper generation." ) ]
2632 public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > AddDaprPubSub ( this IDistributedApplicationBuilder builder , string name , CommunityToolkit . Aspire . Hosting . Dapr . DaprComponentOptions ? options = null ) { throw null ; }
2733
34+ [ AspireExportIgnore ( Reason = "Use the exported DTO-based overload instead to avoid ambiguous polyglot wrapper generation." ) ]
2835 public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > AddDaprStateStore ( this IDistributedApplicationBuilder builder , string name , CommunityToolkit . Aspire . Hosting . Dapr . DaprComponentOptions ? options = null ) { throw null ; }
2936 }
3037
3138 public static partial class IDistributedApplicationResourceBuilderExtensions
3239 {
40+ [ AspireExportIgnore ( Reason = "Use the exported DTO-based overload instead to avoid ambiguous polyglot wrapper generation." ) ]
3341 public static ApplicationModel . IResourceBuilder < T > WithDaprSidecar < T > ( this ApplicationModel . IResourceBuilder < T > builder , CommunityToolkit . Aspire . Hosting . Dapr . DaprSidecarOptions ? options = null )
3442 where T : ApplicationModel . IResource { throw null ; }
3543
44+ [ AspireExport ( "configureDaprSidecar" , MethodName = "configureDaprSidecar" , Description = "Adds a Dapr sidecar to the resource and exposes it for callback configuration" ) ]
3645 public static ApplicationModel . IResourceBuilder < T > WithDaprSidecar < T > ( this ApplicationModel . IResourceBuilder < T > builder , System . Action < ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprSidecarResource > > configureSidecar )
3746 where T : ApplicationModel . IResource { throw null ; }
3847
48+ [ AspireExportIgnore ( Reason = "Use the options-based overload instead to avoid ambiguous polyglot overloads." ) ]
3949 public static ApplicationModel . IResourceBuilder < T > WithDaprSidecar < T > ( this ApplicationModel . IResourceBuilder < T > builder , string appId )
4050 where T : ApplicationModel . IResource { throw null ; }
4151
52+ [ AspireExportIgnore ( Reason = "Use the exported DTO-based overload instead to avoid ambiguous polyglot wrapper generation." ) ]
4253 public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprSidecarResource > WithOptions ( this ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprSidecarResource > builder , CommunityToolkit . Aspire . Hosting . Dapr . DaprSidecarOptions options ) { throw null ; }
4354
55+ [ AspireExport ( "withReference" , Description = "Associates a Dapr component with a Dapr sidecar resource" ) ]
4456 public static ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprSidecarResource > WithReference ( this ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprSidecarResource > builder , ApplicationModel . IResourceBuilder < CommunityToolkit . Aspire . Hosting . Dapr . IDaprComponentResource > component ) { throw null ; }
4557
4658 [ System . Obsolete ( "Add reference to the sidecar resource instead of the project resource" ) ]
@@ -51,6 +63,7 @@ public static ApplicationModel.IResourceBuilder<TDestination> WithReference<TDes
5163
5264namespace CommunityToolkit . Aspire . Hosting . Dapr
5365{
66+ [ global ::Aspire . Hosting . AspireDto ]
5467 public sealed partial record DaprComponentOptions ( )
5568 {
5669 public string ? LocalPath { get { throw null ; } init { } }
@@ -87,12 +100,14 @@ public sealed partial class DaprComponentSpecMetadataValue : DaprComponentSpecMe
87100 public required string Value { get { throw null ; } set { } }
88101 }
89102
103+ [ global ::Aspire . Hosting . AspireExport ( ExposeProperties = true ) ]
90104 public sealed partial record DaprOptions ( )
91105 {
92106 public string ? DaprPath { get { throw null ; } set { } }
93107
94108 public bool ? EnableTelemetry { get { throw null ; } set { } }
95109
110+ [ global ::Aspire . Hosting . AspireExportIgnore ( Reason = "Action<IResource, DaprSidecarOptions?> callbacks are not ATS-compatible." ) ]
96111 public System . Action < global ::Aspire . Hosting . ApplicationModel . IResource , DaprSidecarOptions ? > ? PublishingConfigurationAction { get { throw null ; } set { } }
97112 }
98113
@@ -189,6 +204,7 @@ public sealed partial record DaprSidecarOptionsAnnotation(DaprSidecarOptions Opt
189204 {
190205 }
191206
207+ [ global ::Aspire . Hosting . AspireExport ( ExposeProperties = true ) ]
192208 public partial interface IDaprComponentResource : global ::Aspire . Hosting . ApplicationModel . IResource , global ::Aspire . Hosting . ApplicationModel . IResourceWithWaitSupport
193209 {
194210 DaprComponentOptions ? Options { get ; }
0 commit comments