コード例 #1
0
 public CustomException(Exception e, DeveloperInfoAttribute devInfo)
     : base(e.Message, e)
 {
     mDevInfo = devInfo;
 }
コード例 #2
0
 public CustomException(Exception e, object sourceObject)
     : base(e.Message, e)
 {
     mDevInfo = (DeveloperInfoAttribute)Attribute.GetCustomAttribute(
         sourceObject.GetType(), typeof(DeveloperInfoAttribute), false);
 }
コード例 #3
0
 public DeveloperInfoSink(IMessageSink nextSink,
                          DeveloperInfoAttribute devInfo)
 {
     mNextSink = nextSink;
     mDevInfo  = devInfo;
 }