コード例 #1
0
 public static ISetMessageRequirements Aggregate <T>(this ISetMessageDestination @this, Guid id)
     where T : AggregateRoot
 {
     return(@this.Endpoint(_addressing.EncodeAddress(new Destination(typeof(T), id))));
 }
コード例 #2
0
 public static ISetMessageRequirements Aggregate <T>(this ISetMessageDestination @this, Guid id)
     where T : AggregateRoot
 {
     return(@this.NamedEndpoint(LocalInMemoryReceivingStrategy.MakeId(typeof(T), id)));
 }