Remove unused MiniYaml DictFromFile.
This commit is contained in:
@@ -231,11 +231,6 @@ namespace OpenRA
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Dictionary<string, MiniYaml> DictFromFile(string path)
|
|
||||||
{
|
|
||||||
return FromFile(path).ToDictionary(x => x.Key, x => x.Value);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Dictionary<string, MiniYaml> DictFromStream(Stream stream, string fileName = "<no filename available>")
|
public static Dictionary<string, MiniYaml> DictFromStream(Stream stream, string fileName = "<no filename available>")
|
||||||
{
|
{
|
||||||
return FromStream(stream, fileName).ToDictionary(x => x.Key, x => x.Value);
|
return FromStream(stream, fileName).ToDictionary(x => x.Key, x => x.Value);
|
||||||
|
|||||||
Reference in New Issue
Block a user