コード例 #1
0
ファイル: ChoiceTests.cs プロジェクト: gusty/fsharpx
 public void Try()
 {
     FSharpChoice.Try <int, int>(ThisThrows)(2)
     .Match(a => Assert.Fail("Should have returned an exception"),
            e => { });
 }