Ejemplo n.º 1
0
        public void Handle(EpisodeGrabbedEvent message)
        {
            foreach (var episode in message.Episode.Episodes)
            {
                var resource = episode.ToResource();
                resource.Grabbed = true;

                BroadcastResourceChange(ModelAction.Updated, resource);
            }
        }
Ejemplo n.º 2
0
        public void Handle(EpisodeGrabbedEvent message)
        {
            foreach (var episode in message.Episode.Episodes)
            {
                var resource = episode.InjectTo <EpisodeResource>();
                resource.Downloading = true;

                BroadcastResourceChange(ModelAction.Updated, resource);
            }
        }
Ejemplo n.º 3
0
 public void Handle(EpisodeGrabbedEvent message)
 {
     RemoveGrabbed(message.Episode);
 }
 public void Handle(EpisodeGrabbedEvent message)
 {
     _refreshDebounce.Execute();
 }