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