C# Class Command.DictionaryExtensions

Extension methods for working with the argument values supplied in a Dictionary.
Exibir arquivo Open project: agardiner/hfmcmd

Public Methods

Method Description
ContainsRequiredValuesForCommand ( object>.this args, Command cmd ) : bool

Checks if the supplied Dictionary contains all the required arguments to invoke the specified command.

ContainsValueForSetting ( object>.this args, ISetting setting ) : bool

Checks if the supplied Dictionary contains a value for the specified ISetting.

Method Details

ContainsRequiredValuesForCommand() public static method

Checks if the supplied Dictionary contains all the required arguments to invoke the specified command.
public static ContainsRequiredValuesForCommand ( object>.this args, Command cmd ) : bool
args object>.this
cmd Command
return bool

ContainsValueForSetting() public static method

Checks if the supplied Dictionary contains a value for the specified ISetting.
public static ContainsValueForSetting ( object>.this args, ISetting setting ) : bool
args object>.this
setting ISetting
return bool