private bool IsRestoreVersionEnabled(IVersioningFile file) { return(!FileManager.SelectedFileVersionId.Equals(CurrentVersion) && FileSystemUtility.CanChangeVersions(file)); }
private bool IsDeleteVersionEnabled(IVersioningFile file) { return(!String.IsNullOrEmpty(FileManager.SelectedFileVersionId) && FileSystemUtility.CanChangeVersions(file)); }