C# Class XSpect.CommandlineParser

ファイルを表示 Open project: takeshik/yacq

Public Methods

Method Description
Option ( String id, System.Boolean allowValue = false, String description = "", IEnumerable shortNames = null ) : CommandlineOption
Parse ( IEnumerable args, IEnumerable options ) : String>.ILookup
Parse ( String args ) : String>.ILookup

Private Methods

Method Description
MakeTuple ( CommandlineOption option, String value ) : String>.Tuple
MakeTuple ( CommandlineOption>.IDictionary map, String key, String>.Func valueGenerator ) : String>.Tuple

Method Details

Option() public static method

public static Option ( String id, System.Boolean allowValue = false, String description = "", IEnumerable shortNames = null ) : CommandlineOption
id String
allowValue System.Boolean
description String
shortNames IEnumerable
return CommandlineOption

Parse() public static method

public static Parse ( IEnumerable args, IEnumerable options ) : String>.ILookup
args IEnumerable
options IEnumerable
return String>.ILookup

Parse() public static method

public static Parse ( String args ) : String>.ILookup
args String
return String>.ILookup