C# Класс PowerArgs.CommandLineArgumentsDefinitionFactory

A helper class that lets you create definition factories from Funcs
Наследование: ICommandLineArgumentsDefinitionFactory
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
CommandLineArgumentsDefinitionFactory ( CommandLineArgumentsDefinition>.Func fromOtherImpl, Func fromNothingImpl ) : System

Описание методов

Create() публичный статический Метод

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
Результат ICommandLineArgumentsDefinitionFactory

Create() публичный статический Метод

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
Результат ICommandLineArgumentsDefinitionFactory

Create() публичный статический Метод

Creates a factory that can create a definition
public static Create ( Func fromNothingImpl ) : ICommandLineArgumentsDefinitionFactory
fromNothingImpl Func An implementation that can create a defunutuin
Результат ICommandLineArgumentsDefinitionFactory

MakeDefinition() публичный Метод

Creates a definition using the provided Func
public MakeDefinition ( ) : CommandLineArgumentsDefinition
Результат CommandLineArgumentsDefinition

MakeDefinition() публичный Метод

Creates a definition from a base using the provided Func
public MakeDefinition ( CommandLineArgumentsDefinition other ) : CommandLineArgumentsDefinition
other CommandLineArgumentsDefinition the base definition
Результат CommandLineArgumentsDefinition