Пример #1
0
        protected async Task <IDictionary <Guid, DateTime> > GetManagedMediaItemAspectCreationDates()
        {
            while (true)
            {
                try
                {
                    await Activated.WaitAsync().ConfigureAwait(false);

                    return(await _mediaBrowsingCallback.GetManagedMediaItemAspectCreationDatesAsync().ConfigureAwait(false));
                }
                catch (DisconnectedException)
                {
                    await MedialibraryDisconnectedSuspend();
                }
            }
        }