You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LuExtenstions.cs 370B

12345678910111213
  1. using System;
  2. using Luticate2.Auth.Dbo.Result;
  3. namespace Luticate2.Auth.ConsoleSample
  4. {
  5. public static class LuExtenstions
  6. {
  7. public static void WriteLineError<T>(this LuResult<T> result)
  8. {
  9. Console.WriteLine($"Error: {result.PublicDetails}\nPrivateDetails: {result.PrivateDetails}\nException: {result.Exception}");
  10. }
  11. }
  12. }