コード例 #1
0
        internal static string ToSerializedValue(this AuditLogDtoAction value)
        {
            switch (value)
            {
            case AuditLogDtoAction.Unknown:
                return("Unknown");

            case AuditLogDtoAction.Create:
                return("Create");

            case AuditLogDtoAction.Update:
                return("Update");

            case AuditLogDtoAction.Delete:
                return("Delete");

            case AuditLogDtoAction.StartJob:
                return("StartJob");

            case AuditLogDtoAction.StopJob:
                return("StopJob");

            case AuditLogDtoAction.Associate:
                return("Associate");

            case AuditLogDtoAction.Upload:
                return("Upload");

            case AuditLogDtoAction.ChangeStatus:
                return("ChangeStatus");

            case AuditLogDtoAction.Import:
                return("Import");

            case AuditLogDtoAction.ChangePassword:
                return("ChangePassword");

            case AuditLogDtoAction.Register:
                return("Register");

            case AuditLogDtoAction.Toggle:
                return("Toggle");

            case AuditLogDtoAction.ResetPassword:
                return("ResetPassword");

            case AuditLogDtoAction.PasswordResetAttempt:
                return("PasswordResetAttempt");

            case AuditLogDtoAction.Download:
                return("Download");

            case AuditLogDtoAction.Acknowledge:
                return("Acknowledge");
            }
            return(null);
        }
コード例 #2
0
        internal static string ToSerializedValue(this AuditLogDtoAction value)
        {
            switch (value)
            {
            case AuditLogDtoAction.Unknown:
                return("Unknown");

            case AuditLogDtoAction.Create:
                return("Create");

            case AuditLogDtoAction.Update:
                return("Update");

            case AuditLogDtoAction.Delete:
                return("Delete");

            case AuditLogDtoAction.StartJob:
                return("StartJob");

            case AuditLogDtoAction.StopJob:
                return("StopJob");

            case AuditLogDtoAction.Associate:
                return("Associate");

            case AuditLogDtoAction.Upload:
                return("Upload");

            case AuditLogDtoAction.ChangeStatus:
                return("ChangeStatus");

            case AuditLogDtoAction.Import:
                return("Import");

            case AuditLogDtoAction.ChangePassword:
                return("ChangePassword");

            case AuditLogDtoAction.Register:
                return("Register");

            case AuditLogDtoAction.Toggle:
                return("Toggle");

            case AuditLogDtoAction.ResetPassword:
                return("ResetPassword");

            case AuditLogDtoAction.PasswordResetAttempt:
                return("PasswordResetAttempt");

            case AuditLogDtoAction.Download:
                return("Download");

            case AuditLogDtoAction.Acknowledge:
                return("Acknowledge");

            case AuditLogDtoAction.Activate:
                return("Activate");

            case AuditLogDtoAction.Assign:
                return("Assign");

            case AuditLogDtoAction.BulkUpload:
                return("BulkUpload");

            case AuditLogDtoAction.UpdateFeature:
                return("UpdateFeature");

            case AuditLogDtoAction.ResumeJob:
                return("ResumeJob");

            case AuditLogDtoAction.Start:
                return("Start");

            case AuditLogDtoAction.End:
                return("End");

            case AuditLogDtoAction.Skip:
                return("Skip");

            case AuditLogDtoAction.Unassign:
                return("Unassign");

            case AuditLogDtoAction.Deactivate:
                return("Deactivate");

            case AuditLogDtoAction.CreateBlobFileSas:
                return("CreateBlobFileSas");

            case AuditLogDtoAction.DeleteBlobFile:
                return("DeleteBlobFile");

            case AuditLogDtoAction.Move:
                return("Move");

            case AuditLogDtoAction.Set:
                return("Set");

            case AuditLogDtoAction.StartDelete:
                return("StartDelete");

            case AuditLogDtoAction.ExploreStart:
                return("ExploreStart");

            case AuditLogDtoAction.ExploreEnd:
                return("ExploreEnd");

            case AuditLogDtoAction.Save:
                return("Save");

            case AuditLogDtoAction.Convert:
                return("Convert");

            case AuditLogDtoAction.Forward:
                return("Forward");
            }
            return(null);
        }