public OfflineFileNodeViewModel(FileInfo fileInfo, OfflineFolderViewModel parent, ObservableCollection <IBaseNode> parentCollection = null, ObservableCollection <IBaseNode> childCollection = null) : base(parent, parentCollection, childCollection) { Update(fileInfo); this.IsDefaultImage = true; this.DefaultImagePathData = ImageService.GetDefaultFileTypePathData(this.Name); }
protected OfflineNodeViewModel(OfflineFolderViewModel parent, ObservableCollection <IBaseNode> parentCollection = null, ObservableCollection <IBaseNode> childCollection = null) : base(SdkService.MegaSdk) { this.Parent = parent; this.ParentCollection = parentCollection; this.ChildCollection = childCollection; this.RemoveFromOfflineCommand = new RelayCommand(RemoveFromOffline); }
public OfflineFolderNodeViewModel(DirectoryInfo folderInfo, OfflineFolderViewModel parent, ObservableCollection <IBaseNode> parentCollection = null, ObservableCollection <IBaseNode> childCollection = null) : base(parent, parentCollection, childCollection) { Update(folderInfo); SetFolderInfo(); this.IsDefaultImage = true; this.DefaultImagePathData = ResourceService.VisualResources.GetString("VR_FolderTypePath_default"); }