public static void Save(string fieldName, Type type)
 {
     if (fieldName == null || type == null)
     {
         return;
     }
     if (IsValid(type, out string name))
     {
         DO_Helper.Save(Path.Combine(Path.GetDirectoryName(type.Assembly.Location), name), fieldName, type);
     }
 }
 public static void Save(string fieldName, Type type, string rootdir)
 {
     if (fieldName == null || type == null || string.IsNullOrWhiteSpace(rootdir))
     {
         return;
     }
     if (IsValid(type, out string name))
     {
         DO_Helper.Save(Path.Combine(rootdir, name), fieldName, type);
     }
 }