Show / Hide Table of Contents

    Struct TextProcessing.ReduceScopeOptions

    Options to provide the ReduceScoped functions with

    Namespace: QFSW.QC
    Assembly: QFSW.QC.dll
    Syntax
    public struct ReduceScopeOptions

    Fields

    Default

    The default set of options for the ReduceScope functions

    Declaration
    public static readonly TextProcessing.ReduceScopeOptions Default
    Field Value
    Type Description
    TextProcessing.ReduceScopeOptions

    MaxReductions

    The maximum number of times the scope can be reduced by. Setting to -1 will allow for an unlimited number.

    Declaration
    public int MaxReductions
    Field Value
    Type Description
    Int32

    ReduceIncompleteScope

    If incomplete scopes should also be reduced For example, the following text -> "((foo0 foo1)" when using () for scoping

    • false: "(foo0 foo1"
    • true: "foo0 foo1"
    Declaration
    public bool ReduceIncompleteScope
    Field Value
    Type Description
    Boolean

    Extension Methods

    ArraySingleExtensions.AsArraySingle<T>(T)
    CollectionExtensions.Yield<T>(T)
    Quantum Console by QFSW
    Back to top