예제 #1
0
 ProjectConfig DeserializeProjectConfig(string configPath)
 {
     try
     {
         return(PrjSerializer.DeserializeProjectConfig(File.ReadAllText(configPath)));
     }
     catch (Exception e)
     {
         throw new Exception(
                   "Error while reading from '{0}': \n\n{1}".Fmt(Path.GetFileName(configPath), e.Message));
     }
 }
예제 #2
0
 string GetSerializedProjectConfigFromLists()
 {
     return(PrjSerializer.SerializeProjectConfig(GetProjectConfigFromLists()));
 }