private static IDictionary <int, DataContractSerializer> GetBodySerializers(
     IDictionary <int, IEnumerable <Type> > bodyTypes)
 {
     return(bodyTypes.ToDictionary(
                item => item.Key,
                item => ActorMessageBodySerializer.GetActorMessageSerializer(item.Value)));
 }
예제 #2
0
 internal override DataContractSerializer CreateResponseMessageBodySerializer(IEnumerable <Type> responseBodyValueTypes)
 {
     return(ActorMessageBodySerializer.GetActorMessageSerializer(responseBodyValueTypes));
 }