コード例 #1
0
ファイル: RubyConstructor.cs プロジェクト: ltwlf/IronSP
 public static void AddConstructor(string tag, RubyYamlConstructor ctor)
 {
     if (!_yamlConstructors.ContainsKey(tag))
     {
         _yamlConstructors.Add(tag, ctor);
     }
 }
コード例 #2
0
ファイル: RubyConstructor.cs プロジェクト: atczyc/ironruby
 public static void AddConstructor(string tag, RubyYamlConstructor ctor) {
     if (!_yamlConstructors.ContainsKey(tag)) {
         _yamlConstructors.Add(tag, ctor);
     }
 }