Blame view

netcore/src/Infrastructure/NCC/FriendlyException/Internal/MethodIfException.cs 543 Bytes
de2bd2f9   “wangming”   项目初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  using NCC.Dependency;
  using System.Collections.Generic;
  using System.Reflection;
  
  namespace NCC.FriendlyException
  {
      /// <summary>
      /// 方法异常类
      /// </summary>
      [SuppressSniffer]
      internal sealed class MethodIfException
      {
          /// <summary>
          /// 出异常的方法
          /// </summary>
          public MethodBase ErrorMethod { get; set; }
  
          /// <summary>
          /// 异常特性
          /// </summary>
          public IEnumerable<IfExceptionAttribute> IfExceptionAttributes { get; set; }
      }
  }