Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

CreateFileInput

Method
📦 Aspire.Hosting v17.0.0
func (InteractionService) CreateFileInput(
name string,
options ...*CreateInteractionInputOptions,
) InteractionInputBuilder

Signature

methodCreateFileInput
Creates a file input.
CreateFileInput(
name string,
options ...*CreateInteractionInputOptions,
) InteractionInputBuilder
namestring
options...*CreateInteractionInputOptionsOptional settings, described under Options.

Optional parameters are passed as the existing *CreateInteractionInputOptions struct.

InteractionInputBuilder

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: