没有合适的资源?快使用搜索试试~ 我知道了~
BurnSystems.CommandLine:获取应用程序的参数并准备它们以方便使用
共41个文件
cs:25个
config:4个
csproj:3个
需积分: 8 0 下载量 58 浏览量
2021-06-24
03:04:01
上传
评论
收藏 505KB ZIP 举报
温馨提示
BurnSystems.命令行 命令行解析器采用Main(string[] args)函数中给出的参数,并准备好它们以便于访问。 它支持参数语法,包括开关、命名参数或文件规范。 ConsoleApp.exe file1.txt file2.txt --longargument -vfu -d 10 功能列表 命名参数长名称 (--) 短名称的自动翻译 (-) 未命名的参数 参数的默认值 强制参数定义 自动创建使用信息 通过 .Net-Reflections 手动访问参数和自动设置 通过 NuGet 安装: 安装包 BurnSystems.CommandLine 属性驱动的使用 命令行中的参数可以直接解析为.Net Object public class ProgramArguments { [UnnamedArgument(IsRequired = true, Hel
资源推荐
资源详情
资源评论
收起资源包目录
BurnSystems_CommandLine-master.zip (41个子文件)
BurnSystems.CommandLine-master
.gitignore 2KB
license.txt 1KB
README.md 6KB
.gitattributes 2KB
src
.nuget
NuGet.Config 164B
NuGet.exe 1.59MB
packages.config 113B
NuGet.targets 7KB
ConsoleApp
ProgramArguments.cs 762B
Properties
AssemblyInfo.cs 1KB
Program.cs 2KB
ConsoleApp.csproj 4KB
App.config 184B
BurnSystems.CommandLine.sln 3KB
BurnSystems.CommandLine.Test
ByAttributeFullTests.cs 7KB
FilterTests.cs 3KB
ByAttributeUnitTests.cs 3KB
Properties
AssemblyInfo.cs 1KB
CommandLineTests.cs 2KB
packages.config 130B
ArgumentTests.cs 4KB
BurnSystems.CommandLine.Test.csproj 4KB
BurnSystems.CommandLine
ArgumentParseException.cs 512B
NamedArgumentInfo.cs 1KB
ByAttributes
UnnamedArgumentAttribute.cs 704B
ByAttributeParser.cs 12KB
ArgumentInfoAttribute.cs 609B
NamedArgumentAttribute.cs 603B
UnnamedArgumentInfo.cs 752B
BurnSystems.CommandLine.nuspec 695B
Properties
AssemblyInfo.cs 1KB
ICommandLineFilter.cs 764B
BurnSystems.CommandLine.csproj 3KB
Parser.cs 12KB
Extensions.cs 5KB
Helper
StringManipulation.cs 4KB
UsageWriter.cs 6KB
ArgumentInfo.cs 691B
DefaultValueFilter.cs 2KB
RequiredFilter.cs 3KB
versions.md 193B
共 41 条
- 1
资源评论
神力锂电
- 粉丝: 27
- 资源: 4691
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功