RuleContainer.AddRule<TRule> method
Add a rule into the container.
public void AddRule<TRule>()
where TRule : IRule
| parameter | description |
|---|---|
| rule | The rule to be added. |
Exceptions
| exception | condition |
|---|---|
| InvalidRuleException | Thrown when the rule is invalid. |
See Also
- class RuleContainer
- namespace DotNetOpen.FileService