public static Array ListToArray (ListBase list, System.Type type) { Array result = Array.CreateInstance (type, list.Count); if (list.Count > 0) list.CopyTo (result, 0); if (type.IsSubclassOf (typeof (Gst.GLib.Opaque))) list.elements_owned = false; return result; }
public ListEnumerator (ListBase list) { this.list = list; }