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));
 }
 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);
 }
 protected abstract IDisposable OnRegister(ISelectionExpression selectionExpression,
                                           MessageHandler messageHandler);
Exemple #4
0
 public IDisposable Subscribe(ISelectionExpression selectionExpression, MessageHandler messageHandler)
 {
     throw new NotImplementedException();
 }
 public IDisposable Subscribe(ISelectionExpression selectionExpression, MessageHandler messageHandler)
 {
     throw new NotImplementedException();
 }
 protected abstract IDisposable OnRegister(ISelectionExpression selectionExpression,
                                           MessageHandler messageHandler);