Пример #1
0
        public static string ReceiveInfo(string inMemoryDataId)
        {
            var commit = InMemoryCache.Get(inMemoryDataId)["commit"] as Commit;

            return($"{commit.authorName} @ {commit.createdAt}: {commit.message} (id:{commit.id})");
        }
Пример #2
0
 public static object ReceiveData(string inMemoryDataId)
 {
     return(InMemoryCache.Get(inMemoryDataId)["data"]);
 }