Exemplo n.º 1
0
        public void Subscribe()
        {
            ITTChanged callback = OperationContext.Current.GetCallbackChannel <ITTChanged>();

            if (!subscribers.Contains(callback))
            {
                subscribers.Add(callback);
            }
        }
Exemplo n.º 2
0
        public void Unsubscribe()
        {
            ITTChanged callback = OperationContext.Current.GetCallbackChannel <ITTChanged>();

            subscribers.Remove(callback);
        }