public Info(MediaFileSystemInfo info) { this.Id = info.Id; this.Name = info.Name; this.FullName = info.FullName; this.Length = info.Length; this.Image = info.Attributes.HasFlag(MediaFileAttributes.Normal) ? fileImage : folderImages; }
public ItemViewModel(MediaFileSystemInfo item) { this.item = item; //this.Refresh += (o, a) => this.item.Refresh(); }
internal MtpEntry(MtpDevice device, MediaFileSystemInfo entry) { this.device = device; this.entry = entry; }