update doc a little bit and change PoweredSoft to OpenHarbor in a few methods
This commit is contained in:
parent
1c81288895
commit
589d81502b
@ -5,7 +5,7 @@ namespace OpenHarbor.CQRS.AspNetCore.Mvc;
|
|||||||
|
|
||||||
public static class MvcBuilderExtensions
|
public static class MvcBuilderExtensions
|
||||||
{
|
{
|
||||||
public static IMvcBuilder AddPoweredSoftQueries(this IMvcBuilder builder, Action<QueryControllerOptions> configuration = null)
|
public static IMvcBuilder AddOpenHarborQueries(this IMvcBuilder builder, Action<QueryControllerOptions> configuration = null)
|
||||||
{
|
{
|
||||||
var options = new QueryControllerOptions();
|
var options = new QueryControllerOptions();
|
||||||
configuration?.Invoke(options);
|
configuration?.Invoke(options);
|
||||||
@ -16,7 +16,7 @@ public static class MvcBuilderExtensions
|
|||||||
return builder;
|
return builder;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static IMvcBuilder AddPoweredSoftCommands(this IMvcBuilder builder)
|
public static IMvcBuilder AddOpenHarborCommands(this IMvcBuilder builder)
|
||||||
{
|
{
|
||||||
var services = builder.Services;
|
var services = builder.Services;
|
||||||
var serviceProvider = services.BuildServiceProvider();
|
var serviceProvider = services.BuildServiceProvider();
|
||||||
|
@ -6,7 +6,7 @@ namespace OpenHarbor.CQRS.DynamicQuery.AspNetCore;
|
|||||||
|
|
||||||
public static class MvcBuilderExtensions
|
public static class MvcBuilderExtensions
|
||||||
{
|
{
|
||||||
public static IMvcBuilder AddPoweredSoftDynamicQueries(this IMvcBuilder builder, Action<DynamicQueryControllerOptions> configuration = null)
|
public static IMvcBuilder AddOpenHarborDynamicQueries(this IMvcBuilder builder, Action<DynamicQueryControllerOptions> configuration = null)
|
||||||
{
|
{
|
||||||
var options = new DynamicQueryControllerOptions();
|
var options = new DynamicQueryControllerOptions();
|
||||||
configuration?.Invoke(options);
|
configuration?.Invoke(options);
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
|
# This project is a fork of [PoweredSoft.CQRS](https://github.com/PoweredSoft/CQRS)
|
||||||
|
|
||||||
# CQRS
|
# CQRS
|
||||||
|
|
||||||
Our implementation of query and command responsability segregation (CQRS).
|
Our implementation of query and command responsibility segregation (CQRS).
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user