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 IMvcBuilder AddPoweredSoftQueries(this IMvcBuilder builder, Action<QueryControllerOptions> configuration = null)
|
||||
public static IMvcBuilder AddOpenHarborQueries(this IMvcBuilder builder, Action<QueryControllerOptions> configuration = null)
|
||||
{
|
||||
var options = new QueryControllerOptions();
|
||||
configuration?.Invoke(options);
|
||||
@ -16,7 +16,7 @@ public static class MvcBuilderExtensions
|
||||
return builder;
|
||||
}
|
||||
|
||||
public static IMvcBuilder AddPoweredSoftCommands(this IMvcBuilder builder)
|
||||
public static IMvcBuilder AddOpenHarborCommands(this IMvcBuilder builder)
|
||||
{
|
||||
var services = builder.Services;
|
||||
var serviceProvider = services.BuildServiceProvider();
|
||||
|
@ -6,7 +6,7 @@ namespace OpenHarbor.CQRS.DynamicQuery.AspNetCore;
|
||||
|
||||
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();
|
||||
configuration?.Invoke(options);
|
||||
|
Loading…
Reference in New Issue
Block a user