示例#1
0
        protected override void UnsubscribeValueChanged(object instance)
        {
            base.UnsubscribeValueChanged(instance);

            foreach (var masterGroup in m_masterGroups)
            {
                ValueChangedEventManager.RemoveListener(instance, this, masterGroup);
            }

            foreach (var dependencyGroup in m_dependencyGroups)
            {
                ValueChangedEventManager.RemoveListener(instance, this, dependencyGroup);
            }
        }
示例#2
0
 protected virtual void UnsubscribeValueChanged(object instance)
 {
     ValueChangedEventManager.RemoveListener(instance, this, m_descriptor);
 }