Esempio n. 1
0
        internal static SurveyFolder SerializeFromJSON(string _surLocation, string _surFolderName, string _fileName)
        {
            SurveyFolder retVal = new SurveyFolder(_surLocation, _surFolderName);

            if (DiskIO.IsFileExist(_surLocation + "\\" + _surFolderName, _fileName))
            {
                retVal = DiskIO.DeserializeSurveyFolderFromFile(_surLocation + "\\" + _surFolderName, _fileName);
            }
            retVal.SetLocationTitle(_surLocation, _surFolderName);
            return(retVal);
        }