Beispiel #1
0
 public static Target For(ClientId id) => Target.NewAggregateId("Aggregate", id.ToString());
Beispiel #2
0
 /// Maps a ClientId to the Target that specifies the Stream in which the data for that client will be held
 public static Target For(ClientId id) =>
 Target.NewAggregateId("Todos", id?.ToString() ?? "1");
Beispiel #3
0
 /// Maps a ClientId to the CatId that specifies the Stream in which the data for that client will be held
 static Target CategoryId(ClientId id) =>
 Target.NewCatId("Todos", id?.ToString() ?? "1");
Beispiel #4
0
 /// Maps a ClientId to the Target that specifies the Stream in which the data for that client will be held
 public static string For(ClientId id) =>
 StreamNameModule.create("Todos", id?.ToString() ?? "1");
 public static string For(ClientId id) => StreamNameModule.create("Aggregate", id.ToString());