コード例 #1
0
ファイル: InMemDataStore.cs プロジェクト: zszqwe/Rebus
 /// <summary>
 /// Saves the given bytes under the given ID
 /// </summary>
 public void Save(string id, byte[] bytes, Dictionary <string, string> metadata)
 {
     _data[id] = new InMemBlob(metadata, bytes);
 }
コード例 #2
0
ファイル: InMemDataStore.cs プロジェクト: mindisk/Rebus
 /// <summary>
 /// Saves the given bytes under the given ID
 /// </summary>
 public void Save(string id, byte[] bytes, Dictionary <string, string> metadata = null)
 {
     _data[id] = new InMemBlob(metadata ?? new Dictionary <string, string>(), bytes);
 }
コード例 #3
0
ファイル: InMemDataStore.cs プロジェクト: RichieYang/Rebus
 /// <summary>
 /// Saves the given bytes under the given ID
 /// </summary>
 public void Save(string id, byte[] bytes, Dictionary<string, string> metadata)
 {
     _data[id] = new InMemBlob(metadata, bytes);
 }