Was this page helpful?

With Method

    With(string key, string value)

    public Plug With(string key, string value);
    Create a copy of the instance with a query key/value pair added.

    Parameters

    Name Type Description
    key string Query key.
    value string Query value.

    Returns

    Type: Plug
    New instance.

    With(string key, bool value)

    public Plug With(string key, bool value);
    Create a copy of the instance with a query key/value pair added.

    Parameters

    Name Type Description
    key string Query key.
    value bool Query value.

    Returns

    Type: Plug
    New instance.

    With(string key, int value)

    public Plug With(string key, int value);
    Create a copy of the instance with a query key/value pair added.

    Parameters

    Name Type Description
    key string Query key.
    value int Query value.

    Returns

    Type: Plug
    New instance.

    With(string key, long value)

    public Plug With(string key, long value);
    Create a copy of the instance with a query key/value pair added.

    Parameters

    Name Type Description
    key string Query key.
    value long Query value.

    Returns

    Type: Plug
    New instance.

    With(string key, decimal value)

    public Plug With(string key, decimal value);
    Create a copy of the instance with a query key/value pair added.

    Parameters

    Name Type Description
    key string Query key.
    value decimal Query value.

    Returns

    Type: Plug
    New instance.

    With(string key, double value)

    public Plug With(string key, double value);
    Create a copy of the instance with a query key/value pair added.

    Parameters

    Name Type Description
    key string Query key.
    value double Query value.

    Returns

    Type: Plug
    New instance.

    With(string key, DateTime value)

    public Plug With(string key, DateTime value);
    Create a copy of the instance with a query key/value pair added.

    Parameters

    Name Type Description
    key string Query key.
    value DateTime Query value.

    Returns

    Type: Plug
    New instance.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by