support IBoxType as generic interface of BoxResourceType's