示例#1
0
 static public CompositionFailedException CompositionException(string message)
 {
     var e = new CompositionFailedException(message);
     LogException(e);
     return e;
 }
示例#2
0
 static public CompositionFailedException CardinalityMismatch_TooManyExports(string exportKey)
 {
     var e = new CompositionFailedException(string.Format(Resources.CardinalityMismatch_TooManyExports, exportKey));
     LogException(e);
     return e;
 }