public static MediaTree ToViewModel(this DirectoryInfo root) { var result = new MediaTree(); result.Children.Add(new MediaFolderNode(root)); return(result); }
public MediaDevice(string deviceSerial) : base(deviceSerial) { MediaTree = new MediaTree(); }
public MediaMail(Imap imap) { this.imap = imap; MediaTree = new MediaTree(); }
public MediaDrive() { MediaTree = new MediaTree(); }