IArgumentParser Interface

Summary

Represents an argument parser.
Namespace
Cake.Arguments
graph BT Type["IArgumentParser"] class Type type-node

Syntax

public interface IArgumentParser

Methods

Name Value Summary
Parse(IEnumerable<string>) CakeOptions
Parses the specified arguments.

Extension Methods

Name Value Summary
Dump<IArgumentParser>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<IArgumentParser>(IArgumentParser[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<IArgumentParser>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<IArgumentParser>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<IArgumentParser>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<IArgumentParser>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin