public bool Equals(BackupTypeEnum obj) { if ((object)obj == null) { return(false); } return(StringComparer.OrdinalIgnoreCase.Equals(this.Value, obj.Value)); }
public static BackupProfileData CreateBackupProfileData(string name, BackupTypeEnum backupType = BackupTypeEnum.Differential, string description = null) { var profile = new BackupProfileData() { BackupType = backupType, Name = name, Description = description, BackupFolderList = new ObservableCollection <FolderData>(), }; return(profile); }