Search Results for

    Show / Hide Table of Contents

    Class Option

    Inheritance
    object
    Option
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: NUnit.Options
    Assembly: nunitlite.dll
    Syntax
    public abstract class Option

    Constructors

    View Source

    Option(string, string)

    Declaration
    protected Option(string prototype, string description)
    Parameters
    Type Name Description
    string prototype
    string description
    View Source

    Option(string, string, int)

    Declaration
    protected Option(string prototype, string description, int maxValueCount)
    Parameters
    Type Name Description
    string prototype
    string description
    int maxValueCount

    Properties

    View Source

    Description

    Declaration
    public string Description { get; }
    Property Value
    Type Description
    string
    View Source

    MaxValueCount

    Declaration
    public int MaxValueCount { get; }
    Property Value
    Type Description
    int
    View Source

    OptionValueType

    Declaration
    public OptionValueType OptionValueType { get; }
    Property Value
    Type Description
    OptionValueType
    View Source

    Prototype

    Declaration
    public string Prototype { get; }
    Property Value
    Type Description
    string

    Methods

    View Source

    GetNames()

    Declaration
    public string[] GetNames()
    Returns
    Type Description
    string[]
    View Source

    GetValueSeparators()

    Declaration
    public string[] GetValueSeparators()
    Returns
    Type Description
    string[]
    View Source

    Invoke(OptionContext)

    Declaration
    public void Invoke(OptionContext c)
    Parameters
    Type Name Description
    OptionContext c
    View Source

    OnParseComplete(OptionContext)

    Declaration
    protected abstract void OnParseComplete(OptionContext c)
    Parameters
    Type Name Description
    OptionContext c
    View Source

    Parse<T>(string, OptionContext)

    Declaration
    protected static T Parse<T>(string value, OptionContext c)
    Parameters
    Type Name Description
    string value
    OptionContext c
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    • View Source
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0