Exemplo n.º 1
0
        private void NotifyFromCache()
        {
            StreamingServicesResponse cachedStreamingServicesResponse = _streamingServicesStorage.Get();

            if (cachedStreamingServicesResponse != null)
            {
                NotifyStreamingServicesUpdate(cachedStreamingServicesResponse);
            }
        }
Exemplo n.º 2
0
 private void OnStreamingServicesUpdated(object sender, StreamingServicesResponse response)
 {
     _response = response;
 }
Exemplo n.º 3
0
 private void NotifyStreamingServicesUpdate(StreamingServicesResponse response)
 {
     StreamingServicesUpdated?.Invoke(this, response);
 }
Exemplo n.º 4
0
 public void Set(StreamingServicesResponse value)
 {
     _storage.Set(value);
 }