示例#1
0
 protected virtual async Task <List <KeyValuePair <string, HttpContent> > > ObjectToFormDataAsync <T>(IObjectToFormData <T> converter, T value)
 {
     return(await converter.ConvertAsync(value));
 }
 protected virtual async Task <List <KeyValuePair <string, HttpContent> > > ObjectToFormDataAsync <T>(IObjectToFormData <T> converter, ActionApiDescriptionModel actionApiDescription, ParameterApiDescriptionModel parameterApiDescription, T value)
 {
     return(await converter.ConvertAsync(actionApiDescription, parameterApiDescription, value));
 }