Esempio n. 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>();
 }
Esempio n. 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>();
 }
Esempio n. 3
0
 public ServiceMatadataLoader(IServiceMetadataProvider metadataProvider,
                              ISqlCqrsGenerator sqlCqrsGenerator,
                              IDynamicTypePool dynamicPool,
                              ILogger logger,
                              IEventHub eventHub,
                              IRepository repo,
                              INodeNameProvider nodeNameProvider)
 {
     _metadataProvider = metadataProvider;
     _sqlCqrsGenerator = sqlCqrsGenerator;
     _dynamicPool      = dynamicPool;
     _logger           = logger;
     _eventHub         = eventHub;
     _repo             = repo;
     _nodeNameProvider = nodeNameProvider;
 }
Esempio n. 4
0
 public DynamicApiFeature(IServiceMetadataProvider cqrsMetadataRegister, ICqrsControllerProvider cqrsControllerProvider)
 {
     _cqrsMetadataRegister   = cqrsMetadataRegister;
     _cqrsControllerProvider = cqrsControllerProvider;
     _staticControllers      = new List <TypeInfo>();
 }