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)
14
: Resource(name), IResourceWithEnvironment,
IResourceWithArgs
, IResourceWithServiceDiscovery, IResourceWithWaitSupport, IResourceWithProbes,
11 references to IResourceWithArgs
Aspire.Hosting (11)
ApplicationModel\ResourceExtensions.cs (2)
217
/// Using <see cref="GetArgumentValuesAsync(
IResourceWithArgs
, DistributedApplicationOperation)"/> inside
239
public static async ValueTask<string[]> GetArgumentValuesAsync(this
IResourceWithArgs
resource,
ResourceBuilderExtensions.cs (9)
281
/// <param name="builder">The resource builder for a resource implementing <see cref="
IResourceWithArgs
"/>.</param>
284
public static IResourceBuilder<T> WithArgs<T>(this IResourceBuilder<T> builder, params string[] args) where T :
IResourceWithArgs
296
/// <param name="builder">The resource builder for a resource implementing <see cref="
IResourceWithArgs
"/>.</param>
299
public static IResourceBuilder<T> WithArgs<T>(this IResourceBuilder<T> builder, params object[] args) where T :
IResourceWithArgs
313
/// <param name="builder">The resource builder for a resource implementing <see cref="
IResourceWithArgs
"/>.</param>
316
public static IResourceBuilder<T> WithArgs<T>(this IResourceBuilder<T> builder, Action<CommandLineArgsCallbackContext> callback) where T :
IResourceWithArgs
332
/// <param name="builder">The resource builder for a resource implementing <see cref="
IResourceWithArgs
"/>.</param>
335
public static IResourceBuilder<T> WithArgs<T>(this IResourceBuilder<T> builder, Func<CommandLineArgsCallbackContext, Task> callback) where T :
IResourceWithArgs
2313
if (builder is IResourceBuilder<
IResourceWithArgs
> resourceWithArgs)