C# Класс AppEvents.Rule

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Rule System
RunOperations bool

Открытые методы

Метод Описание
And ( bool>.Func op ) : Rule
And ( string eventName, int count = 1 ) : Rule
AndNot ( string eventName, int count = 1 ) : Rule
Do ( Action action ) : Rule

Adds the action to the RuleSet for the Client to execute

Rule ( string name ) : System
When ( bool>.Func op ) : Rule
When ( string eventName, int count = 1 ) : Rule

Приватные методы

Метод Описание
Rule ( ) : System
RunOperations ( UserEventList eventList ) : bool

Описание методов

And() публичный Метод

public And ( bool>.Func op ) : Rule
op bool>.Func
Результат Rule

And() публичный Метод

public And ( string eventName, int count = 1 ) : Rule
eventName string
count int
Результат Rule

AndNot() публичный Метод

public AndNot ( string eventName, int count = 1 ) : Rule
eventName string
count int
Результат Rule

Do() публичный Метод

Adds the action to the RuleSet for the Client to execute
public Do ( Action action ) : Rule
action Action
Результат Rule

Rule() публичный Метод

public Rule ( string name ) : System
name string
Результат System

When() публичный Метод

public When ( bool>.Func op ) : Rule
op bool>.Func
Результат Rule

When() публичный Метод

public When ( string eventName, int count = 1 ) : Rule
eventName string
count int
Результат Rule