1 instantiation of MetadataFileNameManager
dotnet-svcutil-lib (1)
Metadata\MetadataDocumentSaver.cs (1)
43
this.FileNameMgr = new
MetadataFileNameManager
();
19 references to MetadataFileNameManager
dotnet-svcutil-lib (19)
CommandProcessorOptions.cs (1)
722
var inputFiles = Metadata.
MetadataFileNameManager
.ResolveFiles(metadataUri.LocalPath).Select(f => f.FullName);
Metadata\MetadataDocumentLoader.cs (7)
103
var fileInfoList =
MetadataFileNameManager
.ResolveFiles(metadataUri.LocalPath);
147
var fileInfoList =
MetadataFileNameManager
.ResolveFiles(metadataUri.LocalPath);
216
var fileInfoList =
MetadataFileNameManager
.ResolveFiles(serviceUri.LocalPath);
541
fullFileName =
MetadataFileNameManager
.GetFilePathFromNamespace(basePath, specNamespace, extension);
587
c != schema &&
MetadataFileNameManager
.UriEqual(
MetadataFileNameManager
.GetComposedUri(c.SourceUri, null),
MetadataFileNameManager
.GetComposedUri(schema.SourceUri, include.SchemaLocation)));
Metadata\MetadataDocumentSaver.cs (10)
32
private
MetadataFileNameManager
FileNameMgr { get; set; }
141
if (
MetadataFileNameManager
.TryCreateUri(location, out Uri locationUri) &&
MetadataFileNameManager
.TryResolveFiles(locationUri.LocalPath, out var files))
143
var missingRefs = files.Where(file => !this.MetadataFiles.Any(metaFile =>
MetadataFileNameManager
.UriEqual(file.FullName, metaFile.SourceUri)));
170
import.Location =
MetadataFileNameManager
.GetComposedUri(wsdl.RetrievalUrl, import.Location);
194
schemaExternal.SchemaLocation =
MetadataFileNameManager
.GetComposedUri(schema.SourceUri, schemaExternal.SchemaLocation);
227
var unresolvedRefs = UnresolvedReferences.Where(u =>
MetadataFileNameManager
.UriEqual(u.WsdlImport?.Location, sourceUrl)).ToList();
250
(
MetadataFileNameManager
.UriEqual(u.SchemaExternal?.SchemaLocation, sourceUrl) ||
290
var mainWsdlFile = wsdlFiles.Where(w => !importedWsdl.Any(i =>
MetadataFileNameManager
.UriEqual(i, w.FilePath))).FirstOrDefault();
406
return other != null &&
MetadataFileNameManager
.UriEqual(this.Uri, other.Uri);
Metadata\MetadataFileInfo.cs (1)
40
return otherFilePath != null &&
MetadataFileNameManager
.UriEqual(this.FilePath, otherFilePath);