mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
- 将Match方法的返回类型从TResult改为Option<TResult> - 匹配成功时返回Option<TResult>.Some(handler(value)) - 匹配失败时返回Option<TResult>.None()而不是抛出异常 - 移除InvalidOperationException异常抛出逻辑