So codesharing is essentially aimed at attracting traffic from a competing network, the revenue for which will be shared pro rata between the two partners as if it were an interline connection.
Totally disagree. that is only the case if the bilateral says so. But again it is what you put in the contracts and they vary.