(a) A subscription to purchase a partnership interest in a limited partnership in the process of being formed is irrevocable to the extent provided by the terms of the subscription if:
(1) the subscription is in writing and signed by the subscriber; and
(2) the subscription states that it is irrevocable.
(b) A written subscription entered into after the limited partnership is formed is a contract between the subscriber and the partnership.