コード例 #1
0
ファイル: PrintSchemaReader.cs プロジェクト: kei10in/KipSharp
 public void Add(Element element)
 {
     element.Apply(
         onFeature: x => _features.Add(x),
         onParameterDef: x => _parameters.Add(x),
         onProperty: x => _properties.Add(x));
 }
コード例 #2
0
 public void Add(Element element)
 {
     element.Apply(
         onFeature: x => _features.Add(x),
         onOption: x => _options.Add(x),
         onProperty: x => _properties.Add(x));
 }
コード例 #3
0
 public void Add(Element element)
 {
     element.Apply(
         onFeature: x => _features.Add(x),
         onParameterInit: x => _parameters.Add(x),
         onProperty: x => _properties.Add(x));
 }
コード例 #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;
     });
 }
コード例 #5
0
ファイル: PrintSchemaReader.cs プロジェクト: kei10in/KipSharp
 public void Add(Element element)
 {
     element.Apply(
         onFeature: x => _features.Add(x),
         onOption: x => _options.Add(x),
         onProperty: x => _properties.Add(x));
 }
コード例 #6
0
ファイル: PrintSchemaReader.cs プロジェクト: kei10in/KipSharp
 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;
         });
 }
コード例 #7
0
ファイル: PrintSchemaReader.cs プロジェクト: kei10in/KipSharp
 public void Add(Element element)
 {
     element.Apply(
         onProperty: x => _properties.Add(x),
         onValue: x => _value = x);
 }
コード例 #8
0
ファイル: PrintSchemaReader.cs プロジェクト: kei10in/KipSharp
 public void Add(Element element)
 {
     element.Apply(onValue: x => _value = x);
 }
コード例 #9
0
ファイル: PrintSchemaReader.cs プロジェクト: kei10in/KipSharp
 public void Add(Element element)
 {
     element.Apply(onProperty: x => _properties.Add(x));
 }
コード例 #10
0
 public void Add(Element element)
 {
     element.Apply(
         onProperty: x => _properties.Add(x),
         onValue: x => _value = x);
 }
コード例 #11
0
 public void Add(Element element)
 {
     element.Apply(onValue: x => _value = x);
 }
コード例 #12
0
 public void Add(Element element)
 {
     element.Apply(onProperty: x => _properties.Add(x));
 }