示例#1
0
 public static AdSnapshot Instance()
 {
     _instance           = _instance ?? new AdSnapshot();
     _adNotifyCollection = _adNotifyCollection ?? new AdNotifyCollection();
     _connected          = null;
     return(_instance);
 }
        public static AdNotifySender Instance()
        {
            _instance               = _instance ?? new AdNotifySender();
            _adNotifier             = _adNotifier ?? new AdNotifyCollection();
            _active                 = false;
            AdSnapshot.OnAdChanged += SendNotifyFromQueue;

            return(_instance);
        }