22 references to Inputs
dotnet-svcutil-lib (22)
CommandProcessorOptions.cs (12)
146
if (cmdOptions.Errors.Count() == 0 && cmdOptions.
Inputs
.Count == 1)
148
if (PathHelper.IsFile(cmdOptions.
Inputs
[0], Directory.GetCurrentDirectory(), out var fileUri) &&
173
cmdOptions.
Inputs
.Clear();
305
if (this.
Inputs
.Count > 0)
307
this.AddWarning(string.Format(SR.WrnUnexpectedInputsFormat, this.
Inputs
.Select(i => $"{i}''").Aggregate((msg, i) => $"{msg}, {i}")));
309
this.
Inputs
.Clear();
724
if (this.
Inputs
.Count == 0)
729
using (var safeLogger = await SafeLogger.WriteStartOperationAsync(this.Logger, $"Processing inputs, count: {this.
Inputs
.Count} ...").ConfigureAwait(false))
731
for (int idx = 0; idx < this.
Inputs
.Count; idx++)
733
if (PathHelper.IsFile(this.
Inputs
[idx], Directory.GetCurrentDirectory(), out Uri metadataUri))
735
this.
Inputs
.RemoveAt(idx);
740
this.
Inputs
.Insert(idx, new Uri(file));
Shared\Options\OptionsSerializer.cs (1)
207
foreach (var input in options.
Inputs
)
Shared\Options\UpdateOptions.cs (6)
95
for (int idx = 0; idx < this.
Inputs
.Count; idx++)
97
var input = this.
Inputs
[idx];
100
this.
Inputs
[idx] = new Uri(relPath, UriKind.Relative);
113
for (int idx = 0; idx < this.
Inputs
.Count; idx++)
115
var input = this.
Inputs
[idx];
119
this.
Inputs
[idx] = fileUri;
Tool.cs (3)
204
ServiceDescriptor serviceDescriptor = options.
Inputs
.Count == 1 ?
205
new ServiceDescriptor(options.
Inputs
[0].ToString(), credsProvider, credsProvider, credsProvider) :
206
new ServiceDescriptor(options.
Inputs
.Select(i => i.ToString()).ToList(), credsProvider, credsProvider, credsProvider);