public static DSObject Create() { DSMetadata metadata = new DSMetadata(); metadata.setItem("mtime",DateTime.Now.ToString("s")); metadata.setItem("timestamp", DateTime.Now.Ticks); return new DSObject(null, metadata, null); }
public DSObject(object object_id, DSMetadata metadata, object file_path) { Initialize(object_id, metadata, file_path); }
private void Initialize(object object_id, DSMetadata metadata, object file_path) { this._object_id = object_id; this._metadata = metadata; this._file_path = file_path; this._destroyed = false; this._owns_file = false; if (dbus_helpers==null) { DBusDatastore datastore=new DBusDatastore(); dbus_helpers=datastore.getDataStore(); } }
public DSObject(object object_id, DSMetadata metadata) { Initialize(object_id, metadata, null); }