コード例 #1
0
ファイル: ThrowHelper.cs プロジェクト: Rayislandstyle/corefx
 static public CompositionFailedException CompositionException(string message)
 {
     var e = new CompositionFailedException(message);
     LogException(e);
     return e;
 }
コード例 #2
0
ファイル: ThrowHelper.cs プロジェクト: Rayislandstyle/corefx
 static public CompositionFailedException CardinalityMismatch_TooManyExports(string exportKey)
 {
     var e = new CompositionFailedException(string.Format(Resources.CardinalityMismatch_TooManyExports, exportKey));
     LogException(e);
     return e;
 }