AbpIdentityResult.cs 587 B

12345678910111213141516171819202122232425262728
  1. using System.Collections.Generic;
  2. using Microsoft.AspNet.Identity;
  3. namespace IwbZero.IdentityFramework
  4. {
  5. public class AbpIdentityResult : IdentityResult
  6. {
  7. public AbpIdentityResult()
  8. {
  9. }
  10. public AbpIdentityResult(IEnumerable<string> errors)
  11. : base(errors)
  12. {
  13. }
  14. public AbpIdentityResult(params string[] errors)
  15. : base(errors)
  16. {
  17. }
  18. public new static AbpIdentityResult Failed(params string[] errors)
  19. {
  20. return new AbpIdentityResult(errors);
  21. }
  22. }
  23. }