public bool RemoveChangeDomainHandler(ChangeDomainCallback handler) { if (ChangeDomainHandlers == null) { return(false); } return(ChangeDomainHandlers.Remove(handler)); }
public void AddChangeDomainHandler(ChangeDomainCallback handler) { if (ChangeDomainHandlers == null) { ChangeDomainHandlers = new List <ChangeDomainCallback>(); } ChangeDomainHandlers.Add(handler); }