static public int Remove(IntPtr l) { try { ObjStrDict self = (ObjStrDict)checkSelf(l); System.Object a1; checkType(l, 2, out a1); var ret = self.Remove(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int getItem(IntPtr l) { try { ObjStrDict self = (ObjStrDict)checkSelf(l); System.Object v; checkType(l, 2, out v); var ret = self[v]; pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int Add(IntPtr l) { try { ObjStrDict self = (ObjStrDict)checkSelf(l); System.Object a1; checkType(l, 2, out a1); System.String a2; checkType(l, 3, out a2); self.Add(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int setItem(IntPtr l) { try { ObjStrDict self = (ObjStrDict)checkSelf(l); System.Object v; checkType(l, 2, out v); string c; checkType(l, 3, out c); self[v] = c; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int GetObjectData(IntPtr l) { try { ObjStrDict self = (ObjStrDict)checkSelf(l); System.Runtime.Serialization.SerializationInfo a1; checkType(l, 2, out a1); System.Runtime.Serialization.StreamingContext a2; checkValueType(l, 3, out a2); self.GetObjectData(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }