public static TES5ScriptDependencyGraph ReadGraph(this IEnumerable <IBuildTarget> buildTargets) { string graphPath = buildTargets.GetFilePath(); string serializedGraph = File.ReadAllText(graphPath); return(PHPFunction.Deserialize <TES5ScriptDependencyGraph>(serializedGraph)); }
private TES5ScriptDependencyGraph ReadGraph() { return(PHPFunction.Deserialize <TES5ScriptDependencyGraph>(File.ReadAllText(GetFilePath()))); }