C# Class PowerArgs.CommandLineArgumentsDefinitionFactory

A helper class that lets you create definition factories from Funcs
Inheritance: ICommandLineArgumentsDefinitionFactory
Datei anzeigen Open project: adamabdelhamed/PowerArgs

Public Methods

Method Description
Create ( CommandLineArgumentsDefinition>.Func fromOtherImpl ) : ICommandLineArgumentsDefinitionFactory

Creates a factory that can create a definition from a base definition

Create ( CommandLineArgumentsDefinition>.Func fromOtherImpl, Func fromNothingImpl ) : ICommandLineArgumentsDefinitionFactory

Creates a factory that can create a definition from a base definition or from nothing

Create ( Func fromNothingImpl ) : ICommandLineArgumentsDefinitionFactory

Creates a factory that can create a definition

MakeDefinition ( ) : CommandLineArgumentsDefinition

Creates a definition using the provided Func

MakeDefinition ( CommandLineArgumentsDefinition other ) : CommandLineArgumentsDefinition

Creates a definition from a base using the provided Func

Private Methods

Method Description
CommandLineArgumentsDefinitionFactory ( CommandLineArgumentsDefinition>.Func fromOtherImpl, Func fromNothingImpl ) : System

Method Details

Create() public static method

Creates a factory that can create a definition from a base definition
public static Create ( CommandLineArgumentsDefinition>.Func fromOtherImpl ) : ICommandLineArgumentsDefinitionFactory
fromOtherImpl CommandLineArgumentsDefinition>.Func An implementation that can create one definition from another
return ICommandLineArgumentsDefinitionFactory

Create() public static method

Creates a factory that can create a definition from a base definition or from nothing
public static Create ( CommandLineArgumentsDefinition>.Func fromOtherImpl, Func fromNothingImpl ) : ICommandLineArgumentsDefinitionFactory
fromOtherImpl CommandLineArgumentsDefinition>.Func An implementation that can create one definition from another
fromNothingImpl Func An implementation that can create a defunutuin
return ICommandLineArgumentsDefinitionFactory

Create() public static method

Creates a factory that can create a definition
public static Create ( Func fromNothingImpl ) : ICommandLineArgumentsDefinitionFactory
fromNothingImpl Func An implementation that can create a defunutuin
return ICommandLineArgumentsDefinitionFactory

MakeDefinition() public method

Creates a definition using the provided Func
public MakeDefinition ( ) : CommandLineArgumentsDefinition
return CommandLineArgumentsDefinition

MakeDefinition() public method

Creates a definition from a base using the provided Func
public MakeDefinition ( CommandLineArgumentsDefinition other ) : CommandLineArgumentsDefinition
other CommandLineArgumentsDefinition the base definition
return CommandLineArgumentsDefinition