Пример #1
0
 protected internal override void Serialize(MappingSerializer serializer)
 {
     _uris.forEach((key, uri) =>
     {
         if (uri.Absolute)
         {
             serializer.putAbsoluteUri(key, uri);
         }
         else
         {
             serializer.PutRelativeUri(key, uri.ToString());
         }
     });
 }