3 instantiations of ResxFile
Microsoft.CodeAnalysis.SemanticSearch.Extensions (3)
ProjectModel.cs (3)
103
=>
new
(filePath, changes: ImmutableDictionary<string, string?>.Empty);
106
=>
new
(FilePath, _changes.SetItem(name, value));
109
=>
new
(FilePath, _changes.SetItem(name, null));
11 references to ResxFile
Microsoft.CodeAnalysis.SemanticSearch.Extensions (11)
ProjectModel.cs (11)
23
private readonly Lazy<ImmutableDictionary<string,
ResxFile
>> _lazyResxFiles;
33
public ProjectModel(string filePath, ImmutableDictionary<string,
ResxFile
> resxFiles)
39
public ImmutableDictionary<string,
ResxFile
> ResxFiles
42
public ProjectModel ReplaceResxFile(
ResxFile
file)
45
internal ImmutableDictionary<string,
ResxFile
> LoadResxFiles()
47
var resxFiles = ImmutableDictionary.CreateBuilder<string,
ResxFile
>();
53
resxFiles.Add(filePath,
ResxFile
.ReadFromFile(filePath));
70
if (oldModel.ResxFiles.TryGetValue(filePath, out
var
oldResx) && newContent == oldResx.GetContent())
102
internal static
ResxFile
ReadFromFile(string filePath)
105
public
ResxFile
AddString(string name, string value)
108
public
ResxFile
RemoveString(string name)