Search Results for

    Show / Hide Table of Contents

    Class CommandLineParser

    Inheritance
    object
    CommandLineParser
    CSharpCommandLineParser
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Microsoft.CodeAnalysis
    Assembly: Microsoft.CodeAnalysis.dll
    Syntax
    public abstract class CommandLineParser

    Properties

    RegularFileExtension

    Declaration
    protected abstract string RegularFileExtension { get; }
    Property Value
    Type Description
    string

    ScriptFileExtension

    Declaration
    protected abstract string ScriptFileExtension { get; }
    Property Value
    Type Description
    string

    Methods

    Parse(IEnumerable<string>, string, string?, string?)

    Declaration
    public CommandLineArguments Parse(IEnumerable<string> args, string baseDirectory, string? sdkDirectory, string? additionalReferenceDirectories)
    Parameters
    Type Name Description
    IEnumerable<string> args
    string baseDirectory
    string sdkDirectory
    string additionalReferenceDirectories
    Returns
    Type Description
    CommandLineArguments

    ParsePathMap(string, IList<Diagnostic>)

    Declaration
    protected ImmutableArray<KeyValuePair<string, string>> ParsePathMap(string pathMap, IList<Diagnostic> errors)
    Parameters
    Type Name Description
    string pathMap
    IList<Diagnostic> errors
    Returns
    Type Description
    ImmutableArray<KeyValuePair<string, string>>

    SplitCommandLineIntoArguments(string, bool)

    Declaration
    public static IEnumerable<string> SplitCommandLineIntoArguments(string commandLine, bool removeHashComments)
    Parameters
    Type Name Description
    string commandLine
    bool removeHashComments
    Returns
    Type Description
    IEnumerable<string>
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0