Exemple #1
0
        public static T Load()
        {
            var data = LocalDataUtil.Load <T>(typeof(T).FullName);

            if (data == null)
            {
                return(new T());
            }
            return(data);
        }
Exemple #2
0
 public void Save()
 {
     LocalDataUtil.Save(GetType().FullName, this);
 }