public ImageServiceClientManager(IImageService imageService, IClientNotifier notifyer, Action autoUpdateCallback)
        {
            ImageServiceProxy = imageService;
            Notifier = notifyer;
            faultProcessor = new NotifierExceptionProcessor(notifyer);

            if (autoUpdateCallback != null)
            {
                callBackAction = autoUpdateCallback;
                StartUpdateThread();
            }
        }
Пример #2
0
        public ImageServiceClientManager(IImageService imageService, IClientNotifier notifyer, Action autoUpdateCallback)
        {
            ImageServiceProxy = imageService;
            Notifier          = notifyer;
            faultProcessor    = new NotifierExceptionProcessor(notifyer);

            if (autoUpdateCallback != null)
            {
                callBackAction = autoUpdateCallback;
                StartUpdateThread();
            }
        }