コード例 #1
0
 public static Metadata SerializeMethodInput <T1, T2>(IMarshallerFactory marshallerFactory, T1 value1, T2 value2)
 {
     return(CompatibilityTools.SerializeMethodInputHeader(marshallerFactory.CreateMarshaller <Message <T1, T2> >(), new Message <T1, T2>(value1, value2)));
 }
コード例 #2
0
        /// <exclude />
        public CallOptionsBuilder WithMethodInputHeader <T>(Marshaller <T> marshaller, T value)
        {
            var metadata = CompatibilityTools.SerializeMethodInputHeader(marshaller, value);

            return(WithCallOptions(new CallOptions(metadata)));
        }