public static object SetOptions(RubyContext/*!*/ context, YamlStream/*!*/ self, Hash value) { return self.Options = value; }
public static RubyArray Add(RubyContext/*!*/ context, YamlStream/*!*/ self, object document) { IListOps.Append(context, self._documents, document); return self._documents; }
public static RubyArray Add(YamlStream/*!*/ self, object document) { IListOps.Append(self._documents, document); return self._documents; }
public static object Emit(YamlCallSiteStorage /*!*/ siteStorage, YamlStream /*!*/ self, [Optional] RubyIO io) { return(RubyYaml.DumpAll(siteStorage, self._documents, io)); }
public static Hash GetOptions(YamlStream/*!*/ self) { return self._options; }
public static RubyArray SetDocuments(YamlStream/*!*/ self, RubyArray value) { return self._documents = value; }
public static Hash GetOptions(YamlStream /*!*/ self) { return(self._options); }
public static object GetDocument(RubyContext/*!*/ context, YamlStream/*!*/ self, [DefaultProtocol]int index) { return IListOps.GetElement(self._documents, index); }
public static RubyArray GetDocuments(YamlStream /*!*/ self) { return(self._documents); }
public static RubyArray SetDocuments(YamlStream /*!*/ self, RubyArray value) { return(self._documents = value); }
public static object EditDocument(YamlStream /*!*/ self, [DefaultProtocol] int index, object document) { return(IListOps.SetElement(self._documents, index, document)); }
public static object GetDocument(RubyContext /*!*/ context, YamlStream /*!*/ self, [DefaultProtocol] int index) { return(IListOps.GetElement(self._documents, index)); }
public static RubyArray Add(YamlStream /*!*/ self, object document) { IListOps.Append(self._documents, document); return(self._documents); }
public static object Emit(RubyContext/*!*/ context, YamlStream/*!*/ self, [Optional]RubyIO io) { return RubyYaml.DumpAll(context, self._documents, io); }
public static object GetDocument(RubyContext/*!*/ context, YamlStream/*!*/ self, object index) { return IListOps.GetElement(self.Documents, Protocols.CastToFixnum(context, index)); }
public static object Emit(YamlCallSiteStorage/*!*/ siteStorage, YamlStream/*!*/ self, [Optional]RubyIO io) { return RubyYaml.DumpAll(siteStorage, self._documents, io); }
public static object EditDocument(RubyContext/*!*/ context, YamlStream/*!*/ self, object index, object document) { return IListOps.SetElement(context, self.Documents, Protocols.CastToFixnum(context, index), document); }
public static RubyArray GetDocuments(YamlStream/*!*/ self) { return self._documents; }
public static object GetDocuments(RubyContext/*!*/ context, YamlStream/*!*/ self) { return self.Documents; }
public static MutableString Inspect(RubyContext/*!*/ context, YamlStream/*!*/ self) { MutableString result = MutableString.CreateMutable("#<YAML::Stream:", RubyEncoding.Binary); RubyUtils.AppendFormatHexObjectId(result, RubyUtils.GetObjectId(context, self)) .Append(" @documents=") .Append(context.Inspect(self._documents)) .Append(", options=") .Append(context.Inspect(self._options)) .Append('>'); return result; }
public static object SetDocuments(RubyContext/*!*/ context, YamlStream/*!*/ self, RubyArray value) { return self.Documents = value; }
public static Hash SetOptions(YamlStream/*!*/ self, Hash value) { return self._options = value; }
public static object GetOptions(RubyContext/*!*/ context, YamlStream/*!*/ self) { return self.Options; }
public static object EditDocument(YamlStream/*!*/ self, [DefaultProtocol]int index, object document) { return IListOps.SetElement(self._documents, index, document); }
public static Hash SetOptions(YamlStream /*!*/ self, Hash value) { return(self._options = value); }