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

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