12 references to NamespaceMappings
dotnet-svcutil-lib (8)
CommandProcessorOptions.cs (5)
646
using (var logger = await SafeLogger.WriteStartOperationAsync(this.Logger, $"Processing {nameof(this.
NamespaceMappings
)}, count: {this.
NamespaceMappings
.Count}").ConfigureAwait(false))
648
if (this.
NamespaceMappings
.Count == 0)
654
this.
NamespaceMappings
.Add(new KeyValuePair<string, string>("*", clrNamespace));
660
var invalidNamespaces = this.
NamespaceMappings
.Where(nm => !CodeDomHelpers.IsValidNameSpace(nm.Value));
ImportModule.cs (3)
223
foreach (KeyValuePair<string, string> namespaceMapping in options.
NamespaceMappings
)
323
foreach (KeyValuePair<string, string> namespaceMapping in options.
NamespaceMappings
)
348
importOptions.ClrNamespace = options.
NamespaceMappings
.FirstOrDefault(m => m.Key == "*").Value;
dotnet-svcutil-lib.Tests (4)
E2ETests.cs (2)
357
wcfcsoptions.
NamespaceMappings
.Clear();
358
wcfcsoptions.
NamespaceMappings
.Add(new KeyValuePair<string, string>("*", $"{testCaseName}_NS"));
GlobalToolTests.cs (1)
193
options.
NamespaceMappings
.Add(new System.Collections.Generic.KeyValuePair<string, string>("*", ns));
ProjectUtils.cs (1)
187
updateOptions.
NamespaceMappings
.Add(new KeyValuePair<string, string>("*", referenceNamespace));