コード例 #1
0
 public IDisposable Subscribe(ISelectionExpression selectionExpression, MessageHandler messageHandler)
 {
     // We could share the subscription here based on the selectionExpression. However, we'd need
     // to make ISelectionExpression and its sub types have structural comparison. It isn't
     // obvious that there will be any sharing.
     return(OnRegister(selectionExpression, messageHandler));
 }
コード例 #2
0
 public IDisposable Subscribe(ISelectionExpression selectionExpression, MessageHandler messageHandler)
 {
     // We could share the subscription here based on the selectionExpression. However, we'd need
     // to make ISelectionExpression and its sub types have structural comparison. It isn't
     // obvious that there will be any sharing.
     return OnRegister(selectionExpression, messageHandler);
 }
コード例 #3
0
 protected abstract IDisposable OnRegister(ISelectionExpression selectionExpression,
                                           MessageHandler messageHandler);
コード例 #4
0
 public IDisposable Subscribe(ISelectionExpression selectionExpression, MessageHandler messageHandler)
 {
     throw new NotImplementedException();
 }
コード例 #5
0
 public IDisposable Subscribe(ISelectionExpression selectionExpression, MessageHandler messageHandler)
 {
     throw new NotImplementedException();
 }
コード例 #6
0
 protected abstract IDisposable OnRegister(ISelectionExpression selectionExpression,
                                           MessageHandler messageHandler);