using PDF_Master.Model.CloudDrive; using PDF_Master.ViewModels.HomePanel.CloudDrive; using PDF_Master.ViewModels.HomePanel.CloudDrive.CloudDriveType; using Prism.Commands; using Prism.Mvvm; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PDF_Master.ViewModels.HomePanel { public class HomeCloudContentViewModel:BindableBase { public DelegateCommand OpenCloudDriveCommand { get; set; } public HomeCloudContentViewModel() { OpenCloudDriveCommand = new DelegateCommand(OpenCloudDrive_Click); } public void OpenCloudDrive_Click(CloudBoxItem cloudDiskItem) { if (cloudDiskItem != null) { switch (cloudDiskItem.CloudDiskType) { case CloudType.Box: break; case CloudType.DropBox: break; case CloudType.GoogleDrive: break; case CloudType.OneDrive: break; default: break; } } } } }