22 references to Inputs
dotnet-svcutil-lib (22)
CommandProcessorOptions.cs (12)
145
if (cmdOptions.Errors.Count() == 0 && cmdOptions.
Inputs
.Count == 1)
147
if (PathHelper.IsFile(cmdOptions.
Inputs
[0], Directory.GetCurrentDirectory(), out var fileUri) &&
172
cmdOptions.
Inputs
.Clear();
304
if (this.
Inputs
.Count > 0)
306
this.AddWarning(string.Format(SR.WrnUnexpectedInputsFormat, this.
Inputs
.Select(i => $"{i}''").Aggregate((msg, i) => $"{msg}, {i}")));
308
this.
Inputs
.Clear();
723
if (this.
Inputs
.Count == 0)
728
using (var safeLogger = await SafeLogger.WriteStartOperationAsync(this.Logger, $"Processing inputs, count: {this.
Inputs
.Count} ...").ConfigureAwait(false))
730
for (int idx = 0; idx < this.
Inputs
.Count; idx++)
732
if (PathHelper.IsFile(this.
Inputs
[idx], Directory.GetCurrentDirectory(), out Uri metadataUri))
734
this.
Inputs
.RemoveAt(idx);
739
this.
Inputs
.Insert(idx, new Uri(file));
Shared\Options\OptionsSerializer.cs (1)
207
foreach (var input in options.
Inputs
)
Shared\Options\UpdateOptions.cs (6)
92
for (int idx = 0; idx < this.
Inputs
.Count; idx++)
94
var input = this.
Inputs
[idx];
97
this.
Inputs
[idx] = new Uri(relPath, UriKind.Relative);
110
for (int idx = 0; idx < this.
Inputs
.Count; idx++)
112
var input = this.
Inputs
[idx];
116
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);