コード例 #1
0
ファイル: StreamPubSubImpl.cs プロジェクト: zhyifei/orleans
 public Task UnregisterConsumer(GuidId subscriptionId, InternalStreamId streamId)
 {
     return(implicitPubSub.IsImplicitSubscriber(subscriptionId, streamId)
         ? implicitPubSub.UnregisterConsumer(subscriptionId, streamId)
         : explicitPubSub.UnregisterConsumer(subscriptionId, streamId));
 }
コード例 #2
0
 public Task UnregisterConsumer(GuidId subscriptionId, StreamId streamId, string streamProvider)
 {
     return(implicitPubSub.IsImplicitSubscriber(subscriptionId, streamId)
         ? implicitPubSub.UnregisterConsumer(subscriptionId, streamId, streamProvider)
         : explicitPubSub.UnregisterConsumer(subscriptionId, streamId, streamProvider));
 }