C# Class TonyBaloney.St2.Client.Apis.RulesApi

The rules api.
Inheritance: IRulesApi
ファイルを表示 Open project: tonybaloney/St2Client

Public Methods

Method Description
DeleteRuleAsync ( string ruleId ) : System.Threading.Tasks.Task

Deletes the rule described by ruleId.

GetRulesAsync ( ) : Task>

Gets rules .

GetRulesByNameAsync ( string name ) : Task>

Gets rules by name .

GetRulesForPackAsync ( string packName ) : Task>

Gets rules for pack .

RulesApi ( ISt2Client host ) : System

Initializes a new instance of the TonyBaloney.St2.Client.Apis.RulesApi class.

Method Details

DeleteRuleAsync() public method

Deletes the rule described by ruleId.
public DeleteRuleAsync ( string ruleId ) : System.Threading.Tasks.Task
ruleId string Identifier for the rule.
return System.Threading.Tasks.Task

GetRulesAsync() public method

Gets rules .
public GetRulesAsync ( ) : Task>
return Task>

GetRulesByNameAsync() public method

Gets rules by name .
public GetRulesByNameAsync ( string name ) : Task>
name string The rule name.
return Task>

GetRulesForPackAsync() public method

Gets rules for pack .
public GetRulesForPackAsync ( string packName ) : Task>
packName string Name of the pack.
return Task>

RulesApi() public method

Initializes a new instance of the TonyBaloney.St2.Client.Apis.RulesApi class.
Thrown when one or more required arguments are null.
public RulesApi ( ISt2Client host ) : System
host ISt2Client The host.
return System