Md. Code Ann., Com. Law § 22-808
(b) Except as otherwise provided in § 22-807 of this subtitle, a breach of contract by a licensee entitles the licensor to recover the following compensation for losses resulting in the ordinary course from the breach, less expenses avoided as a result of the breach, to the extent not otherwise accounted for under this subsection:
(1) Damages measured in any combination of the following ways but not to exceed the contract fee and the market value of other consideration required under the contract for the performance that was the subject of the breach:
(A) The amount of accrued and unpaid contract fees and the market value of other consideration earned but not received for:
(B) For performances not governed by subparagraph (A) of this paragraph, if the licensee repudiated or wrongfully refused the performance or the licensor rightfully canceled and the breach makes possible a substitute transaction, the amount of loss as determined by contract fees and the market value of other consideration required under the contract for the performance less:
Added by Acts 2000, c. 11, § 1, eff. Oct. 1, 2000. Amended by Acts 2000, c. 61, § 6, eff. April 25, 2000.