22 references to Inputs
dotnet-svcutil-lib (22)
CommandProcessorOptions.cs (12)
144if (cmdOptions.Errors.Count() == 0 && cmdOptions.Inputs.Count == 1) 146if (PathHelper.IsFile(cmdOptions.Inputs[0], Directory.GetCurrentDirectory(), out var fileUri) && 171cmdOptions.Inputs.Clear(); 303if (this.Inputs.Count > 0) 305this.AddWarning(string.Format(SR.WrnUnexpectedInputsFormat, this.Inputs.Select(i => $"{i}''").Aggregate((msg, i) => $"{msg}, {i}"))); 307this.Inputs.Clear(); 710if (this.Inputs.Count == 0) 715using (var safeLogger = await SafeLogger.WriteStartOperationAsync(this.Logger, $"Processing inputs, count: {this.Inputs.Count} ...").ConfigureAwait(false)) 717for (int idx = 0; idx < this.Inputs.Count; idx++) 719if (PathHelper.IsFile(this.Inputs[idx], Directory.GetCurrentDirectory(), out Uri metadataUri)) 721this.Inputs.RemoveAt(idx); 726this.Inputs.Insert(idx, new Uri(file));
Shared\Options\OptionsSerializer.cs (1)
207foreach (var input in options.Inputs)
Shared\Options\UpdateOptions.cs (6)
92for (int idx = 0; idx < this.Inputs.Count; idx++) 94var input = this.Inputs[idx]; 97this.Inputs[idx] = new Uri(relPath, UriKind.Relative); 110for (int idx = 0; idx < this.Inputs.Count; idx++) 112var input = this.Inputs[idx]; 116this.Inputs[idx] = fileUri;
Tool.cs (3)
204ServiceDescriptor serviceDescriptor = options.Inputs.Count == 1 ? 205new ServiceDescriptor(options.Inputs[0].ToString(), credsProvider, credsProvider, credsProvider) : 206new ServiceDescriptor(options.Inputs.Select(i => i.ToString()).ToList(), credsProvider, credsProvider, credsProvider);