register_type
Description:
[ Version ( experimental = true , since = "0.3" ) ]
public void register_type (string name, Regex pattern)
public void register_type (string name, Regex pattern)
Register a type to be understood by Valum.RuleRoute.
If a type is already registered with that name, it is replaced with the new definition.
Parameters:
name |
name by which types are identified in the rule pattern |
pattern |
matches instance of the type in a path |