public FilesystemItemsOperationItemModel(FilesystemOperationType operationType, string sourcePath, string destinationPath, string displayFileName = null) { this.OperationType = operationType; this.SourcePath = sourcePath; this.DestinationPath = destinationPath; this.DisplayFileName = displayFileName; }
public FilesystemItemsOperationDataModel(FilesystemOperationType operationType, bool mustResolveConflicts, bool permanentlyDelete, bool permanentlyDeleteEnabled, List <FilesystemItemsOperationItemModel> incomingItems, List <FilesystemItemsOperationItemModel> conflictingItems) { this.OperationType = operationType; this.MustResolveConflicts = mustResolveConflicts; this.PermanentlyDelete = permanentlyDelete; this.PermanentlyDeleteEnabled = permanentlyDeleteEnabled; this.IncomingItems = incomingItems; this.ConflictingItems = conflictingItems; }
private string GetOperationIconGlyph(FilesystemOperationType operationType) { switch (operationType) { case FilesystemOperationType.Copy: return("\uE8C8"); case FilesystemOperationType.Move: return("\uE8C6"); case FilesystemOperationType.Delete: return("\uE74D"); default: return("\uE8FB"); } }
public FilesystemItemsOperationItemModel(FilesystemOperationType operationType, string sourcePath, string destinationPath) { this.OperationType = operationType; this.SourcePath = sourcePath; this.DestinationPath = destinationPath; }