Ejemplo n.º 1
0
            public override Task <StorageFolder?> GetParentAsync(CancellationToken ct)
            {
                if (_directoryDocument.ParentFile == null)
                {
                    return(Task.FromResult <StorageFolder?>(null));
                }

                var parentFolder = StorageFolder.GetFromSafDocument(_directoryDocument.ParentFile);

                return(Task.FromResult <StorageFolder?>(parentFolder));
            }