Class RuleBase<TRule>
Inheritance
RuleBase<TRule>
Assembly: OpenSearch.Net.VirtualizedCluster.dll
Syntax
public abstract class RuleBase<TRule> : IRule where TRule : RuleBase<TRule>, IRule
Type Parameters
Methods
|
Edit this page
View Source
OnPort(int)
Declaration
public TRule OnPort(int port)
Parameters
Type |
Name |
Description |
int |
port |
|
Returns
|
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
|
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 Parameters
|
Edit this page
View Source
Takes(TimeSpan)
Declaration
public TRule Takes(TimeSpan span)
Parameters
Returns
Implements
Extension Methods