22 references to Inputs
dotnet-svcutil-lib (22)
CommandProcessorOptions.cs (12)
145if (cmdOptions.Errors.Count() == 0 && cmdOptions.Inputs.Count == 1) 147if (PathHelper.IsFile(cmdOptions.Inputs[0], Directory.GetCurrentDirectory(), out var fileUri) && 172cmdOptions.Inputs.Clear(); 304if (this.Inputs.Count > 0) 306this.AddWarning(string.Format(SR.WrnUnexpectedInputsFormat, this.Inputs.Select(i => $"{i}''").Aggregate((msg, i) => $"{msg}, {i}"))); 308this.Inputs.Clear(); 723if (this.Inputs.Count == 0) 728using (var safeLogger = await SafeLogger.WriteStartOperationAsync(this.Logger, $"Processing inputs, count: {this.Inputs.Count} ...").ConfigureAwait(false)) 730for (int idx = 0; idx < this.Inputs.Count; idx++) 732if (PathHelper.IsFile(this.Inputs[idx], Directory.GetCurrentDirectory(), out Uri metadataUri)) 734this.Inputs.RemoveAt(idx); 739this.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);