public void Add(Element element) { element.Apply( onFeature: x => _features.Add(x), onParameterDef: x => _parameters.Add(x), onProperty: x => _properties.Add(x)); }
public void Add(Element element) { element.Apply( onFeature: x => _features.Add(x), onOption: x => _options.Add(x), onProperty: x => _properties.Add(x)); }
public void Add(Element element) { element.Apply( onScoredProperty: x => _scoredProperties.Add(x), onProperty: x => _properties.Add(x), onParameterRef: x => { ThrowIfValueOrParameterRefExists(); _parameterRef = x; }, onValue: x => { ThrowIfValueOrParameterRefExists(); _value = x; }); }
public void Add(Element element) { element.Apply( onProperty: x => _properties.Add(x), onValue: x => _value = x); }
public void Add(Element element) { throw new InvalidChildElementException("ParameterRef can't contain any element"); }
public void Add(Element element) { element.Apply(onValue: x => _value = x); }
public void Add(Element element) { element.Apply(onProperty: x => _properties.Add(x)); }