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)
212
/// Using <see cref="GetArgumentValuesAsync(
IResourceWithArgs
, DistributedApplicationOperation)"/> inside
235
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>
372
public static IResourceBuilder<T> WithArgs<T>(this IResourceBuilder<T> builder, Action<CommandLineArgsCallbackContext> callback) where T :
IResourceWithArgs
388
/// <param name="builder">The resource builder for a resource implementing <see cref="
IResourceWithArgs
"/>.</param>
391
public static IResourceBuilder<T> WithArgs<T>(this IResourceBuilder<T> builder, Func<CommandLineArgsCallbackContext, Task> callback) where T :
IResourceWithArgs
2324
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2380
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2428
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2473
where TResource :
IResourceWithArgs
, IResourceWithEnvironment
2501
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2535
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2565
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2601
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2989
if (builder is IResourceBuilder<
IResourceWithArgs
> resourceWithArgs)