Ejemplo n.º 1
0
 /**********************************************************************************/
 /// <summary>
 /// Find content of given type among all crates in the storage
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="crateContent"></param>
 /// <returns></returns>
 public static bool TryGetValue <T>(this ICrateStorage storage, out T crateContent)
 {
     return(storage.TryGetValue(x => true, out crateContent));
 }