示例#1
0
 /// <summary>
 /// EnumのKeyをすべて削除します。
 /// </summary>
 public void DeleteKeys()
 {
     foreach (var key in System.Enum.GetValues(typeof(T)))
     {
         var keyStr = m_KeyPrefix() + SaveKeyAttribute.ToKey(key);
         m_Store.Delete(keyStr);
     }
 }
示例#2
0
 string GetSaveKey(T key)
 {
     return(m_KeyPrefix() + SaveKeyAttribute.ToKey(key));
 }