commandlineparser / commandlineparser/commandline

Why does ParserSettings implement IDisposable?

未关闭
#417 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
4.8k
派生
478
PR 合并指标
30 天内没有已合并 PR

描述

Why does `ParserSettings` implement `IDisposable` while it disposes of nothing?

Is that because it [used to dispose of `HelpWriter`](https://github.com/commandlineparser/commandline/commit/c75a69abadd02daf984fb63e4256e3e4714d8345#diff-00a389261204bf2e245786d84442cfacR181) and you are not able to get rid of the interface without breaking the API?

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先检查 ParserSettings 以及显示其过去释放 HelpWriter 的相关历史 commit。跟踪公共 API 的使用情况,以确定移除 IDisposable 是否会破坏兼容性。完成的标准是记录兼容性决策,并在确有必要时定义一项具体的后续更改。

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp
领域
cli
Issue 类型
重构
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。