Ejemplo n.º 1
0
        protected async Task <ICollection <Guid> > GetAllManagedMediaItemAspectTypes()
        {
            while (true)
            {
                try
                {
                    await Activated.WaitAsync().ConfigureAwait(false);

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