Exemple #1
0
 //generate a key from a given key and the class name of the object we are storing
 string GenerateKey(string key) =>
 string.Concat(key.ToLower(), ":", NameOfT.ToLower());
 //generate a key from a given key and the class name of the object we are storing
 string GenerateKey(string key)
 {
     return(string.Concat(key.ToLower(), ":", NameOfT.ToLower()));
 }