public static void AddHeader(this ServiceRemotingMessageHeaders messageHeaders, ServiceRequestHeader header)
 {
     messageHeaders.AddHeader(header.HeaderName, header.GetValue());
 }
コード例 #2
0
 public static string GetString(this ServiceRequestHeader header)
 {
     return(Encoding.UTF8.GetString(header.GetValue()));
 }