public void Subscribe() { ITTChanged callback = OperationContext.Current.GetCallbackChannel <ITTChanged>(); if (!subscribers.Contains(callback)) { subscribers.Add(callback); } }
public void Unsubscribe() { ITTChanged callback = OperationContext.Current.GetCallbackChannel <ITTChanged>(); subscribers.Remove(callback); }