Exemple #1
0
 public RequestBuilder()
 {
     actionMetadataProvider = new ActionMetadataProvider(new Conventions.DefaultActionPathConvention(), new Conventions.DefaultHttpMethodConvention());
     modelMetadataProvider = new ModelMetadataProvider();
     serviceMetadataProvider = new ServiceMetadataProvider(new Conventions.DefaultServicePathConvention());            
     Headers = new Dictionary<string, string>();
     Values = new Dictionary<string, string>();
 }
Exemple #2
0
 public RequestBuilder()
 {
     actionMetadataProvider  = new ActionMetadataProvider(new Conventions.DefaultActionPathConvention(), new Conventions.DefaultHttpMethodConvention());
     modelMetadataProvider   = new ModelMetadataProvider();
     serviceMetadataProvider = new ServiceMetadataProvider(new Conventions.DefaultServicePathConvention());
     Headers = new Dictionary <string, string>();
     Values  = new Dictionary <string, string>();
 }