1 write to Options
dotnet-svcutil-lib (1)
Bootstrapper\SvcutilBootstrapper.cs (1)
27
this.
Options
= options ?? throw new ArgumentNullException(nameof(options));
20 references to Options
dotnet-svcutil-lib (20)
Bootstrapper\SvcutilBootstrapper.cs (20)
28
this.
Options
.ProviderId = $"{Tool.ToolName}-bootstrap";
29
this.
Options
.Version = Tool.PackageVersion;
32
this.
Options
.NoBootstrapping = true;
33
this.
Options
.NoLogo = true;
34
this.
Options
.NoProjectUpdates = true;
37
if (this.
Options
.ToolContext.HasValue && this.
Options
.ToolContext.Value <= OperationalContext.Global)
39
this.
Options
.ToolContext = OperationalContext.Bootstrapper;
42
ProjectDependency.RemoveRedundantReferences(this.
Options
.References);
55
if (this.
Options
.ToolContext == OperationalContext.Infrastructure)
65
if (this.
Options
.NoBootstrapping != true)
71
if (this.
Options
.Project != null && StringComparer.OrdinalIgnoreCase.Compare(this.
Options
.Project.FileName, SvcutilBootstrapper.ProjectName) == 0)
99
var projectFullPath = Path.Combine(this.
Options
.BootstrapPath.FullName, nameof(SvcutilBootstrapper), SvcutilBootstrapper.ProjectName);
110
bool isSupportedTFM = TargetFrameworkHelper.IsSupportedFramework(this.
Options
.TargetFramework.FullName, out var frameworkInfo);
118
if (
Options
.ToolContext == OperationalContext.Infrastructure)
140
foreach (ProjectDependency dependency in this.
Options
.References)
145
if (!string.IsNullOrEmpty(this.
Options
.RuntimeIdentifier))
147
this.MSBuildProj.RuntimeIdentifier = this.
Options
.RuntimeIdentifier;
180
await AsyncHelper.RunAsync(() => this.
Options
.Save(paramsFilePath), cancellationToken).ConfigureAwait(false);