public static void Load (Db db) { tag_remote = new TagProxy (db.Tags); Bus.Session.Register (SERVICE_PATH, new ObjectPath (TAG_PROXY_PATH), tag_remote); tag_remote.OnRemoteUp (); photo_remote = new PhotoProxy (db); Bus.Session.Register (SERVICE_PATH, new ObjectPath (PHOTO_PROXY_PATH), photo_remote); photo_remote.OnRemoteUp (); }
public static void Load(Db db) { tag_remote = new TagProxy(db.Tags); Bus.Session.Register(SERVICE_PATH, new ObjectPath(TAG_PROXY_PATH), tag_remote); tag_remote.OnRemoteUp(); photo_remote = new PhotoProxy(db); Bus.Session.Register(SERVICE_PATH, new ObjectPath(PHOTO_PROXY_PATH), photo_remote); photo_remote.OnRemoteUp(); }