{
RCSRepresentation rcsRep;
+ RCSResourceObject::LockGuard lock{ resource, RCSResourceObject::AutoNotifyPolicy::NEVER };
+ rcsRep.setAttributes(resource.getAttributes());
+
for (const auto& bound : resource.getBoundResources())
{
rcsRep.addChild(toRepresentation(*bound));