Example #1
0
 public void Add(Element element)
 {
     element.Apply(
         onFeature: x => _features.Add(x),
         onParameterDef: x => _parameters.Add(x),
         onProperty: x => _properties.Add(x));
 }
Example #2
0
 public void Add(Element element)
 {
     element.Apply(
         onFeature: x => _features.Add(x),
         onOption: x => _options.Add(x),
         onProperty: x => _properties.Add(x));
 }
Example #3
0
 public void Add(Element element)
 {
     element.Apply(
         onFeature: x => _features.Add(x),
         onParameterInit: x => _parameters.Add(x),
         onProperty: x => _properties.Add(x));
 }
Example #4
0
 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;
     });
 }
Example #5
0
 public void Add(Element element)
 {
     element.Apply(
         onFeature: x => _features.Add(x),
         onOption: x => _options.Add(x),
         onProperty: x => _properties.Add(x));
 }
Example #6
0
 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;
         });
 }
Example #7
0
 public void Add(Element element)
 {
     element.Apply(
         onProperty: x => _properties.Add(x),
         onValue: x => _value = x);
 }
Example #8
0
 public void Add(Element element)
 {
     element.Apply(onValue: x => _value = x);
 }
Example #9
0
 public void Add(Element element)
 {
     element.Apply(onProperty: x => _properties.Add(x));
 }
Example #10
0
 public void Add(Element element)
 {
     element.Apply(
         onProperty: x => _properties.Add(x),
         onValue: x => _value = x);
 }
Example #11
0
 public void Add(Element element)
 {
     element.Apply(onValue: x => _value = x);
 }
Example #12
0
 public void Add(Element element)
 {
     element.Apply(onProperty: x => _properties.Add(x));
 }