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

            return(PHPFunction.Deserialize <TES5ScriptDependencyGraph>(serializedGraph));
        }
예제 #2
0
 private TES5ScriptDependencyGraph ReadGraph()
 {
     return(PHPFunction.Deserialize <TES5ScriptDependencyGraph>(File.ReadAllText(GetFilePath())));
 }