Search Results for

    Show / Hide Table of Contents

    Delegate ValueFormatterFactory

    Custom value formatter factory function

    Namespace: NUnit.Framework.Constraints
    Assembly: nunit.framework.dll
    Syntax
    public delegate ValueFormatter ValueFormatterFactory(ValueFormatter next)
    Parameters
    Type Name Description
    ValueFormatter next

    The next formatter function

    Returns
    Type Description
    ValueFormatter

    ValueFormatter

    Remarks

    If the given formatter is unable to handle a certain format, it must call the next formatter in the chain

    Constructors

    View Source

    ValueFormatterFactory(object, nint)

    Declaration
    public ValueFormatterFactory(object @object, nint method)
    Parameters
    Type Name Description
    object object
    nint method

    Methods

    View Source

    BeginInvoke(ValueFormatter, AsyncCallback, object)

    Declaration
    public virtual IAsyncResult BeginInvoke(ValueFormatter next, AsyncCallback callback, object @object)
    Parameters
    Type Name Description
    ValueFormatter next
    AsyncCallback callback
    object object
    Returns
    Type Description
    IAsyncResult
    View Source

    EndInvoke(IAsyncResult)

    Declaration
    public virtual ValueFormatter EndInvoke(IAsyncResult result)
    Parameters
    Type Name Description
    IAsyncResult result
    Returns
    Type Description
    ValueFormatter
    View Source

    Invoke(ValueFormatter)

    Declaration
    public virtual ValueFormatter Invoke(ValueFormatter next)
    Parameters
    Type Name Description
    ValueFormatter next
    Returns
    Type Description
    ValueFormatter
    • 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