Пример #1
0
        public bool RemoveChangeDomainHandler(ChangeDomainCallback handler)
        {
            if (ChangeDomainHandlers == null)
            {
                return(false);
            }

            return(ChangeDomainHandlers.Remove(handler));
        }
Пример #2
0
        public void AddChangeDomainHandler(ChangeDomainCallback handler)
        {
            if (ChangeDomainHandlers == null)
            {
                ChangeDomainHandlers = new List <ChangeDomainCallback>();
            }

            ChangeDomainHandlers.Add(handler);
        }