Exemplo n.º 1
0
        public OutgoingSharedFolderNodeViewModel(MNode megaNode, SharedFoldersListViewModel parent)
            : base(megaNode, parent)
        {
            this.RemoveSharedAccessCommand = new RelayCommand(RemoveSharedAccess);

            this.DefaultImagePathData = ResourceService.VisualResources.GetString("VR_OutgoingSharedFolderPathData");
            this.Update(megaNode);
        }
Exemplo n.º 2
0
        public IncomingSharedFolderNodeViewModel(MNode megaNode, SharedFoldersListViewModel parent)
            : base(megaNode, parent)
        {
            this.LeaveShareCommand = new RelayCommand(LeaveShare);

            this.DefaultImagePathData = ResourceService.VisualResources.GetString("VR_IncomingSharedFolderPathData");
            this.Update(megaNode);
        }
Exemplo n.º 3
0
        protected SharedFolderNodeViewModel(MNode megaNode, SharedFoldersListViewModel parent)
            : base(SdkService.MegaSdk, App.AppInformation, megaNode, parent)
        {
            this.Parent = parent;

            this.DownloadCommand             = new RelayCommand(Download);
            this.OpenContentPanelCommand     = new RelayCommand(OpenContentPanel);
            this.OpenInformationPanelCommand = new RelayCommand(OpenInformationPanel);
        }