select repo

This commit is contained in:
Paul Schneider 2018-07-22 23:19:05 +02:00
commit 5e16c588a1
13 changed files with 2792 additions and 138 deletions

View file

@ -24,8 +24,6 @@ namespace Yavsc
public static List<Type> ProfileTypes = new List<Type>();
/// <summary>
/// Lists available command forms.
/// This is hard coded.
@ -34,9 +32,10 @@ namespace Yavsc
private void ConfigureWorkflow(IApplicationBuilder app, SiteSettings settings, ILogger logger)
{
System.AppDomain.CurrentDomain.ResourceResolve += OnYavscResourceResolve;
// System.AppDomain.CurrentDomain.ResourceResolve += OnYavscResourceResolve;
foreach (var a in System.AppDomain.CurrentDomain.GetAssemblies())
try {
foreach (var a in System.AppDomain.CurrentDomain.GetAssemblies())
{
foreach (var c in a.GetTypes())
{
@ -48,6 +47,13 @@ namespace Yavsc
}
}
}
catch (Exception ex)
{
logger.LogError(ex.TargetSite.Name);
}
foreach (var propinfo in typeof(ApplicationDbContext).GetProperties())
{
foreach (var attr in propinfo.CustomAttributes)