Beispiel #1
0
 private static void LoadReplaceFile(ListObjectInfo listObjectInfo)
 {
     if (listObjectInfo.StudentAuthObj.IsValid)
     {
         CreateJsonFile(listObjectInfo.StudentAuthObj);
     }
     if (listObjectInfo.StudentObj.IsValid)
     {
         CreateJsonFile(listObjectInfo.StudentObj);
     }
     if (listObjectInfo.ExternalObject.IsValid)
     {
         CreateXMLFile(listObjectInfo.ExternalObject);
     }
 }
Beispiel #2
0
        static void Main(string[] args)
        {
            ListObjectInfo listObjectInfo = ReadConfigFile();

            LoadReplaceFile(listObjectInfo);
        }