Click here to Skip to main content
12,451,232 members (56,408 online)
Click here to Skip to main content
Articles » Languages » C# » Utilities » Downloads

Tagged as

Stats

22.3K views
1.4K downloads
37 bookmarked
Posted

A C#/.NET Attributes Based Command Line Argument Parser

, 10 Jan 2012 CPOL
This article introduces an easy to use attribute/reflection based library for seamlessly parsing command line arguments for applications.
NAttrArgs.pdb
NAttrArgs.dll
NAttrArgsArticle
Example1
Properties
Example2_RequiredAndOptional
Properties
Example3_AllowedValues
Properties
Example4_RankAndOptionalParamsWithArguments
Properties
Example5_PropertiesAndMethods
Properties
Example6_ConsumeRemaining
Properties
Example6_ConsumeRemainingIEnumberable
Properties
Example7_WPF
Example7_WPF.csproj.user
Properties
Example8_StaticMember
Properties
NAttrArgs
NAttrArgs.dll
NAttrArgs.pdb
NAttrArgs
NAttrArgs.Test
NAttrArgs.Test.csproj.user
Properties
NAttrArgs
Properties
README
ReferencedExternalDLLs
NUnit 2.5.10
bin
net-2.0
framework
nunit.framework.dll
Samples
ls
ls.csproj.user
Properties
Test
Properties
TestMS.ls
Properties

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

PeteBarber
Team Leader
United Kingdom United Kingdom
My day job is mostly working in C++ with a bit of C#. I write a fair amount of command line based tools and really wish they could have a GUI front-end to them hence why I spend my spare time working with WPF.

I started a blog few years back but didn't do a lot with it. I've started describing some of the interesting programming things I come across on it. Please take a look.

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160826.1 | Last Updated 10 Jan 2012
Article Copyright 2012 by PeteBarber
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid