Search Results for

    Show / Hide Table of Contents

    Class ClientCallRule

    Inheritance
    object
    RuleBase<ClientCallRule>
    ClientCallRule
    Implements
    IClientCallRule
    IRule
    Inherited Members
    RuleBase<ClientCallRule>.OnPort(int)
    RuleBase<ClientCallRule>.Takes(TimeSpan)
    RuleBase<ClientCallRule>.ReturnResponse<T>(T)
    RuleBase<ClientCallRule>.ReturnByteResponse(byte[], string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Net.VirtualizedCluster.Rules
    Assembly: OpenSearch.Net.VirtualizedCluster.dll
    Syntax
    public class ClientCallRule : RuleBase<ClientCallRule>, IClientCallRule, IRule

    Methods

    | Edit this page View Source

    AfterSucceeds(RuleOption<Exception, int>)

    Declaration
    public ClientCallRule AfterSucceeds(RuleOption<Exception, int> errorState = null)
    Parameters
    Type Name Description
    RuleOption<Exception, int> errorState
    Returns
    Type Description
    ClientCallRule
    | Edit this page View Source

    FailAlways(RuleOption<Exception, int>)

    Declaration
    public ClientCallRule FailAlways(RuleOption<Exception, int> errorState = null)
    Parameters
    Type Name Description
    RuleOption<Exception, int> errorState
    Returns
    Type Description
    ClientCallRule
    | Edit this page View Source

    Fails(RuleOption<AllTimes, int>, RuleOption<Exception, int>)

    Declaration
    public ClientCallRule Fails(RuleOption<TimesHelper.AllTimes, int> times, RuleOption<Exception, int> errorState = null)
    Parameters
    Type Name Description
    RuleOption<TimesHelper.AllTimes, int> times
    RuleOption<Exception, int> errorState
    Returns
    Type Description
    ClientCallRule
    | Edit this page View Source

    SucceedAlways(int?)

    Declaration
    public ClientCallRule SucceedAlways(int? validResponseCode = 200)
    Parameters
    Type Name Description
    int? validResponseCode
    Returns
    Type Description
    ClientCallRule
    | Edit this page View Source

    Succeeds(RuleOption<AllTimes, int>, int?)

    Declaration
    public ClientCallRule Succeeds(RuleOption<TimesHelper.AllTimes, int> times, int? validResponseCode = 200)
    Parameters
    Type Name Description
    RuleOption<TimesHelper.AllTimes, int> times
    int? validResponseCode
    Returns
    Type Description
    ClientCallRule
    | Edit this page View Source

    ThrowsAfterSucceeds()

    Declaration
    public ClientCallRule ThrowsAfterSucceeds()
    Returns
    Type Description
    ClientCallRule

    Implements

    IClientCallRule
    IRule

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Methods
      • AfterSucceeds(RuleOption<Exception, int>)
      • FailAlways(RuleOption<Exception, int>)
      • Fails(RuleOption<AllTimes, int>, RuleOption<Exception, int>)
      • SucceedAlways(int?)
      • Succeeds(RuleOption<AllTimes, int>, int?)
      • ThrowsAfterSucceeds()
    • Implements
    • Extension Methods
    Back to top Generated by DocFX