Exemple #1
0
 public FileController(IHostingEnvironment appEnviroment, iContext context, ISave_Files save_Files,
                       IConfiguration configuration, ILogger_custom logger)
 {
     _logger         = logger;
     _appEnvironment = appEnviroment;
     _db             = context;
     _configuration  = configuration;
 }
Exemple #2
0
 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;
 }
Exemple #3
0
 public void PushState(iState state, iContext context = null)
 {
     _stateMachine.PushInNextFrame(state, context);
 }
 public BaseController(iContext ic, IHostingEnvironment appEnvironment)
 {
     _context        = ic;
     _appEnvironment = appEnvironment;
 }
Exemple #5
0
 public HomeController(iContext ic, IHostingEnvironment appEnvironment) : base(ic, appEnvironment)
 {
 }
Exemple #6
0
 public void PushInNextFrame(iState state, iContext context = null)
 {
     nextState = state;
     nextStateContext = context;
 }
Exemple #7
0
 public override void OnContext(iContext context) { }
Exemple #8
0
 public abstract void OnContext(iContext context);