using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Filters;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Support.FileHandlers;
namespace WalkingTec.Mvvm.Mvc.Helper
{
public class WtmContextOption
{
///
/// A Func that return ConnectionString key name, used for multi database program to select a db at run time
///
public Func CsSelector { get; set; }
///
/// Set the data privileges that this system support
///
public List DataPrivileges { get; set; }
///
/// Set the sub directory of uploaded file, if you want to save file in different directories according to datetime or other properties, use this selector
///
public Func FileSubDirSelector { get; set; }
public Func ReloadUserFunc { get; set; }
}
}