public FileController(IHostingEnvironment appEnviroment, iContext context, ISave_Files save_Files, IConfiguration configuration, ILogger_custom logger) { _logger = logger; _appEnvironment = appEnviroment; _db = context; _configuration = configuration; }
public Save_Files(IHostingEnvironment appEnvironment, iContext context, IConfiguration configuration) { //environment variable to get wwwroot location _appEnvironment = appEnvironment; //context of db _db = context; //configuration from appsettings.json _configuration = configuration; }
public void PushState(iState state, iContext context = null) { _stateMachine.PushInNextFrame(state, context); }
public BaseController(iContext ic, IHostingEnvironment appEnvironment) { _context = ic; _appEnvironment = appEnvironment; }
public HomeController(iContext ic, IHostingEnvironment appEnvironment) : base(ic, appEnvironment) { }
public void PushInNextFrame(iState state, iContext context = null) { nextState = state; nextStateContext = context; }
public override void OnContext(iContext context) { }
public abstract void OnContext(iContext context);