4 implementations of IResourceWithArgs
Aspire.Hosting (4)
ApplicationModel\ContainerExecutableResource.cs (1)
13
: Resource(name), IResourceWithEnvironment,
IResourceWithArgs
, IResourceWithEndpoints, IResourceWithWaitSupport
ApplicationModel\ContainerResource.cs (1)
15
: Resource(name), IResourceWithEnvironment,
IResourceWithArgs
, IResourceWithEndpoints, IResourceWithWaitSupport, IResourceWithProbes,
ApplicationModel\ExecutableResource.cs (1)
21
public class ExecutableResource : Resource, IResourceWithEnvironment,
IResourceWithArgs
, IResourceWithEndpoints, IResourceWithWaitSupport, IResourceWithProbes,
ApplicationModel\ProjectResource.cs (1)
19
public class ProjectResource : Resource, IResourceWithEnvironment,
IResourceWithArgs
, IResourceWithServiceDiscovery, IResourceWithWaitSupport, IResourceWithProbes,
15 references to IResourceWithArgs
Aspire.Hosting (15)
ApplicationModel\ResourceExtensions.cs (2)
220
/// Using <see cref="GetArgumentValuesAsync(
IResourceWithArgs
, DistributedApplicationOperation)"/> inside
242
public static async ValueTask<string[]> GetArgumentValuesAsync(this
IResourceWithArgs
resource,
ResourceBuilderExtensions.cs (13)
280
/// <param name="builder">The resource builder for a resource implementing <see cref="
IResourceWithArgs
"/>.</param>
283
public static IResourceBuilder<T> WithArgs<T>(this IResourceBuilder<T> builder, params string[] args) where T :
IResourceWithArgs
295
/// <param name="builder">The resource builder for a resource implementing <see cref="
IResourceWithArgs
"/>.</param>
298
public static IResourceBuilder<T> WithArgs<T>(this IResourceBuilder<T> builder, params object[] args) where T :
IResourceWithArgs
312
/// <param name="builder">The resource builder for a resource implementing <see cref="
IResourceWithArgs
"/>.</param>
315
public static IResourceBuilder<T> WithArgs<T>(this IResourceBuilder<T> builder, Action<CommandLineArgsCallbackContext> callback) where T :
IResourceWithArgs
331
/// <param name="builder">The resource builder for a resource implementing <see cref="
IResourceWithArgs
"/>.</param>
334
public static IResourceBuilder<T> WithArgs<T>(this IResourceBuilder<T> builder, Func<CommandLineArgsCallbackContext, Task> callback) where T :
IResourceWithArgs
2182
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2238
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2286
where TResource : IResourceWithEnvironment,
IResourceWithArgs
2331
where TResource :
IResourceWithArgs
, IResourceWithEnvironment
2717
if (builder is IResourceBuilder<
IResourceWithArgs
> resourceWithArgs)