Adding atributes to mesh

I currently have a class MembraneMesh which contains a Mesh and some additional data. However I would like to create MembraneMesh parameter in grasshopper which could be used in any mesh component (where the mesh is processed but maintain its original atributtes).

I thought on creating MembraneMesh inherited from Mesh instead of having it as an property, and somehow make it recognizable to mesh components in grasshopper and change only the data of the base class.

Some ideas on that? I would be really appreciated!

Thanks in advance,