Search Results for

    Show / Hide Table of Contents

    Class RuleBase<TRule>

    Inheritance
    object
    RuleBase<TRule>
    ClientCallRule
    PingRule
    SniffRule
    Implements
    IRule
    Inherited Members
    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 abstract class RuleBase<TRule> : IRule where TRule : RuleBase<TRule>, IRule
    Type Parameters
    Name Description
    TRule

    Methods

    | Edit this page View Source

    OnPort(int)

    Declaration
    public TRule OnPort(int port)
    Parameters
    Type Name Description
    int port
    Returns
    Type Description
    TRule
    | Edit this page View Source

    ReturnByteResponse(byte[], string)

    Declaration
    public TRule ReturnByteResponse(byte[] response, string responseContentType = "application/json")
    Parameters
    Type Name Description
    byte[] response
    string responseContentType
    Returns
    Type Description
    TRule
    | Edit this page View Source

    ReturnResponse<T>(T)

    Declaration
    public TRule ReturnResponse<T>(T response) where T : class
    Parameters
    Type Name Description
    T response
    Returns
    Type Description
    TRule
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    Takes(TimeSpan)

    Declaration
    public TRule Takes(TimeSpan span)
    Parameters
    Type Name Description
    TimeSpan span
    Returns
    Type Description
    TRule

    Implements

    IRule

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Methods
      • OnPort(int)
      • ReturnByteResponse(byte[], string)
      • ReturnResponse<T>(T)
      • Takes(TimeSpan)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX