@@ -167,13 +167,15 @@ public static Information GetCurrentTransportInformation()
167167 }
168168
169169 /// <summary>
170- /// TBD
170+ /// Executes <paramref name="action"/> while temporarily setting the
171+ /// <see cref="CurrentTransportInformation"/> so that <see cref="IActorRef"/> instances
172+ /// are serialized with the correct remote address.
171173 /// </summary>
172- /// <typeparam name="T">TBD </typeparam>
173- /// <param name="system">TBD </param>
174- /// <param name="address">TBD </param>
175- /// <param name="action">TBD </param>
176- /// <returns>TBD </returns>
174+ /// <typeparam name="T">The return type of the <paramref name="action"/> delegate. </typeparam>
175+ /// <param name="system">The actor system used for serialization context. </param>
176+ /// <param name="address">The remote address to embed in serialized actor references. </param>
177+ /// <param name="action">The delegate to execute within the transport context. </param>
178+ /// <returns>The value produced by <paramref name="action"/>. </returns>
177179 [ Obsolete ( "Obsolete. Use the SerializeWithTransport<T>(ExtendedActorSystem) method instead." ) ]
178180 public static T WithTransport < T > ( ActorSystem system , Address address , Func < T > action )
179181 {
@@ -466,11 +468,12 @@ public void AddSerializer(string name, SerializerV2 serializer)
466468 }
467469
468470 /// <summary>
469- /// TBD
471+ /// Registers a mapping from <paramref name="type"/> to <paramref name="serializer"/>
472+ /// so that instances of that type (and its subtypes) will be handled by the given serializer.
473+ /// Logs a warning if an existing mapping for the same type is being overridden.
470474 /// </summary>
471- /// <param name="type">TBD</param>
472- /// <param name="serializer">TBD</param>
473- /// <returns>TBD</returns>
475+ /// <param name="type">The <see cref="Type"/> to associate with the serializer.</param>
476+ /// <param name="serializer">The <see cref="Akka.Serialization.Serializer"/> that will handle the type.</param>
474477 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
475478 public void AddSerializationMap ( Type type , Serializer serializer )
476479 {
@@ -563,9 +566,9 @@ internal SerializedPayloadMetadata Serialize(object o, IBufferWriter<byte> write
563566 /// <summary>
564567 /// Deserializes the given array of bytes using the specified serializer id, using the optional type hint to the Serializer.
565568 /// </summary>
566- /// <param name="bytes">TBD </param>
567- /// <param name="serializerId">TBD </param>
568- /// <param name="type">TBD </param>
569+ /// <param name="bytes">The serialized byte array to deserialize. </param>
570+ /// <param name="serializerId">The identifier of the serializer that produced <paramref name="bytes"/>. </param>
571+ /// <param name="type">An optional type hint passed to the serializer to aid deserialization. </param>
569572 /// <exception cref="SerializationException">
570573 /// This exception is thrown if the system cannot find the serializer with the given <paramref name="serializerId"/>.
571574 /// </exception>
@@ -587,9 +590,9 @@ public object Deserialize(byte[] bytes, int serializerId, Type type)
587590 /// <summary>
588591 /// Deserializes the given array of bytes using the specified serializer id, using the optional type hint to the Serializer.
589592 /// </summary>
590- /// <param name="bytes">TBD </param>
591- /// <param name="serializerId">TBD </param>
592- /// <param name="manifest">TBD </param>
593+ /// <param name="bytes">The serialized byte array to deserialize. </param>
594+ /// <param name="serializerId">The identifier of the serializer that produced <paramref name="bytes"/>. </param>
595+ /// <param name="manifest">A string manifest identifying the type, used by <see cref="SerializerWithStringManifest"/> implementations. </param>
593596 /// <exception cref="SerializationException">
594597 /// This exception is thrown if the system cannot find the serializer with the given <paramref name="serializerId"/>
595598 /// or it couldn't find the given <paramref name="manifest"/> with the given <paramref name="serializerId"/>.
@@ -672,7 +675,7 @@ internal SerializerV2 FindSerializerV2For(object obj, string defaultSerializerNa
672675 /// ambiguity it is primarily using the most specific configured class,
673676 /// and secondly the entry configured first.
674677 /// </summary>
675- /// <param name="objectType">TBD </param>
678+ /// <param name="objectType">The <see cref="Type"/> whose serializer should be resolved. </param>
676679 /// <param name="defaultSerializerName">The config name of the serializer to use when no specific binding config is present</param>
677680 /// <exception cref="SerializationException">
678681 /// This exception is thrown if the serializer of the given <paramref name="objectType"/> could not be found.
0 commit comments