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