public static void SetVersion(RubyContext /*!*/ context, XmlDeclaration /*!*/ self, Object /*!*/ version) { var data = self.GetData <AttributeData>(); if (data.AttrIsEmpty) { data.Attr = new Hash(context); } data.AttrAsHash[self._version] = version; }
public static void SetEncoding(RubyContext /*!*/ context, XmlDeclaration /*!*/ self, Object /*!*/ encoding) { var data = self.GetData <AttributeData>(); if (data.AttrIsEmpty) { data.Attr = new Hash(context); } data.AttrAsHash[self._encoding] = encoding; }
public static void SetStandalone(RubyContext /*!*/ context, XmlDeclaration /*!*/ self, Object /*!*/ standalone) { var data = self.GetData <AttributeData>(); if (data.AttrIsEmpty) { data.Attr = new Hash(context); } data.AttrAsHash[self._standalone] = standalone; }
public static Object GetEncoding(XmlDeclaration/*!*/ self) { var data = self.GetData<AttributeData>(); if (data.AttrIsEmpty) { return null; } Object value; data.AttrAsHash.TryGetValue(self._encoding, out value); return value; }
public static Object GetStandalone(XmlDeclaration /*!*/ self) { var data = self.GetData <AttributeData>(); if (data.AttrIsEmpty) { return(null); } Object value; data.AttrAsHash.TryGetValue(self._standalone, out value); return(value); }
public static void SetVersion(RubyContext/*!*/ context, XmlDeclaration/*!*/ self, Object/*!*/ version) { var data = self.GetData<AttributeData>(); if (data.AttrIsEmpty) { data.Attr = new Hash(context); } data.AttrAsHash[self._version] = version; }
public static void SetStandalone(RubyContext/*!*/ context, XmlDeclaration/*!*/ self, Object/*!*/ standalone) { var data = self.GetData<AttributeData>(); if (data.AttrIsEmpty) { data.Attr = new Hash(context); } data.AttrAsHash[self._standalone] = standalone; }
public static void SetEncoding(RubyContext/*!*/ context, XmlDeclaration/*!*/ self, Object/*!*/ encoding) { var data = self.GetData<AttributeData>(); if (data.AttrIsEmpty) { data.Attr = new Hash(context); } data.AttrAsHash[self._encoding] = encoding; }