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