Generator
Installation
dotnet add package Dosaic.Hosting.Generator # this is required so the web host can discover & load the plugins
dotnet add package Dosaic.Hosting.WebHost<PackageReference Include="Dosaic.Hosting.Generator" Version="" />
<PackageReference Include="Dosaic.Hosting.WebHost" Version="" />Concept
using System;
using System.Diagnostics.CodeAnalysis;
using System.CodeDom.Compiler;
namespace Dosaic.Generated;
[ExcludeFromCodeCoverage]
[GeneratedCode("Dosaic.Hosting.Generator", "0.5.0.0")]
public class DosaicPluginTypes {
public static Type[] All = new Type[] {
typeof(Dosaic.Hosting.WebHost.Sample.HangfireTestJob),
typeof(Dosaic.Hosting.WebHost.Sample.WebHostSamplePlugin),
typeof(Dosaic.Hosting.WebHost.Sample.NpgsqlDbConfiguration),
typeof(Dosaic.Api.OpenApi.OpenApiConfiguration),
typeof(Dosaic.Api.OpenApi.OpenApiPlugin),
typeof(Dosaic.Plugins.Authorization.Keycloak.KeycloakPlugin),
typeof(Dosaic.Plugins.Authorization.Keycloak.KeycloakPluginConfiguration),
typeof(Dosaic.Plugins.Endpoints.RestResourceEntity.RestResourceEntityPlugin),
typeof(Dosaic.Plugins.Jobs.Hangfire.HangfireConfiguration),
typeof(Dosaic.Plugins.Jobs.Hangfire.HangFirePlugin),
typeof(Dosaic.Plugins.Persistence.EntityFramework.EntityFrameworkPlugin),
typeof(Dosaic.Hosting.Abstractions.Middlewares.ExceptionMiddleware),
typeof(Dosaic.Hosting.Abstractions.Middlewares.RequestContentLengthLimitMiddleware),
typeof(Dosaic.Plugins.Handlers.Cqrs.SimpleResource.CqrsSimpleResourcePlugin),
};
}Excludes
Last updated