4 implementations of IResourceWithArgs
Aspire.Hosting (4)
ApplicationModel\ContainerExecutableResource.cs (1)
13
: Resource(name), IResourceWithEnvironment,
IResourceWithArgs
, IResourceWithEndpoints, IResourceWithWaitSupport
ApplicationModel\ContainerResource.cs (1)
18
: Resource(name), IResourceWithEnvironment,
IResourceWithArgs
, IResourceWithEndpoints, IResourceWithWaitSupport, IResourceWithProbes,
ApplicationModel\ExecutableResource.cs (1)
22
public class ExecutableResource : Resource, IResourceWithEnvironment,
IResourceWithArgs
, IResourceWithEndpoints, IResourceWithWaitSupport, IResourceWithProbes,
ApplicationModel\ProjectResource.cs (1)
24
public class ProjectResource : Resource, IResourceWithEnvironment,
IResourceWithArgs
, IResourceWithServiceDiscovery, IResourceWithWaitSupport, IResourceWithProbes,
20 references to IResourceWithArgs
Aspire.Hosting (20)
ApplicationModel\ResourceExtensions.cs (2)
214
/// Using <see cref="GetArgumentValuesAsync(
IResourceWithArgs
, DistributedApplicationOperation)"/> inside
237
public static async ValueTask<string[]> GetArgumentValuesAsync(this
IResourceWithArgs
resource,
Ats\AtsTypeMappings.cs (1)
32
[assembly: AspireExport(typeof(
IResourceWithArgs
))]
ResourceBuilderExtensions.cs (17)
336
/// <param name="builder">The resource builder for a resource implementing <see cref="
IResourceWithArgs
"/>.</param>
340
public static IResourceBuilder<T> WithArgs<T>(this IResourceBuilder<T> builder, params string[] args) where T :
IResourceWithArgs
352
/// <param name="builder">The resource builder for a resource implementing <see cref="
IResourceWithArgs
"/>.</param>
355
public static IResourceBuilder<T> WithArgs<T>(this IResourceBuilder<T> builder, params object[] args) where T :
IResourceWithArgs
369
/// <param name="builder">The resource builder for a resource implementing <see cref="
IResourceWithArgs
"/>.</param>
373
public static IResourceBuilder<T> WithArgs<T>(this IResourceBuilder<T> builder, Action<CommandLineArgsCallbackContext> callback) where T :
IResourceWithArgs
389
/// <param name="builder">The resource builder for a resource implementing <see cref="
IResourceWithArgs
"/>.</param>
393
public static IResourceBuilder<T> WithArgs<T>(this IResourceBuilder<T> builder, Func<CommandLineArgsCallbackContext, Task> callback) where T :
IResourceWithArgs
2358
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2414
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2462
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2507
where TResource :
IResourceWithArgs
, IResourceWithEnvironment
2535
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2569
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2599
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2635
where TResource : IResourceWithEnvironment,
IResourceWithArgs
3023
if (builder is IResourceBuilder<
IResourceWithArgs
> resourceWithArgs)