refactoring
This commit is contained in:
parent
013e36c558
commit
f60584b0e4
2 changed files with 20 additions and 4 deletions
|
|
@ -25,6 +25,11 @@ namespace Yavsc
|
|||
/// </summary>
|
||||
public static readonly string [] Forms = new string [] { "Profiles" , "HairCut" };
|
||||
|
||||
public static PropertyInfo GetUserSettingPropertyInfo(string settingsClassName)
|
||||
{
|
||||
return UserSettings.SingleOrDefault(s => s.PropertyType.GenericTypeArguments[0].FullName == settingsClassName ) ;
|
||||
}
|
||||
|
||||
private void ConfigureWorkflow(IApplicationBuilder app, SiteSettings settings, ILogger logger)
|
||||
{
|
||||
System.AppDomain.CurrentDomain.ResourceResolve += OnYavscResourceResolve;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue