/// <summary> /// Initializes a new instance of the <see cref="Rule"/> class. It will /// contain only <see cref="Typed"/>. /// </summary> /// <param name="moduleName">The module name.</param> /// <param name="connectorIndex">The connector index.</param> /// <param name="connectorType">The connector type.</param> public Rule( string moduleName, uint connectorIndex, string connectorType ) { Typed = new RuleTyped(moduleName, connectorIndex, connectorType); }
/// <summary> /// Initializes a new instance of the <see cref="Rule"/> class.It will /// contain only <see cref="Typed"/>. /// </summary> /// <param name="ruleTyped">The <see cref="RuleTyped"/> to be wrapped /// into the <see cref="Rule"/>.</param> public Rule( RuleTyped ruleTyped ) { Typed = ruleTyped; }