public static void MapClrAttributesToDomResource(this IResourceType resourceType, DomReadWriteResource domResource, object clrResource)
 {
     resourceType.MapClrAttributesToDomResource(domResource, clrResource, null);
 }