DumpAll() 정적인 개인적인 메소드

static private DumpAll ( RubyRepresenter rep, IEnumerable objs, RubyIO io ) : object
rep RubyRepresenter
objs IEnumerable
io IronRuby.Builtins.RubyIO
리턴 object
예제 #1
0
 public static object ToYaml(object self, [NotNull] RubyRepresenter /*!*/ emitter)
 {
     if (emitter.Level > 0)
     {
         // return a node:
         return(emitter.Represent(self));
     }
     else
     {
         // return a string:
         return(RubyYaml.DumpAll(emitter, new object[] { self }, null));
     }
 }
예제 #2
0
 public static object ToYaml(YamlCallSiteStorage /*!*/ siteStorage, object self, [DefaultParameterValue(null)] object options)
 {
     return(RubyYaml.DumpAll(siteStorage, new object[] { self }, null));
 }
예제 #3
0
 public static object Emit(RubyContext /*!*/ context, YamlStream /*!*/ self, [Optional] RubyIO io)
 {
     return(RubyYaml.DumpAll(context, self.Documents, io));
 }
예제 #4
0
파일: YamlStream.cs 프로젝트: ltwlf/IronSP
 public static object Emit(YamlCallSiteStorage /*!*/ siteStorage, YamlStream /*!*/ self, [Optional] RubyIO io)
 {
     return(RubyYaml.DumpAll(siteStorage, self._documents, io));
 }
예제 #5
0
 public static object ToYaml(RubyContext /*!*/ context, object self, params object[] args)
 {
     return(RubyYaml.DumpAll(context, new object[] { self }, null));
 }