Пример #1
0
        public Startup(IConfiguration configuration)
        {
            Configuration = configuration;

            var appSettingsSection = Configuration.GetSection("AppSettings");
            var appSettings        = appSettingsSection.Get <AppSettings>();

            _backplaneClient = new BackplaneClient(appSettings.BackplaneUrl);
        }
Пример #2
0
 public DataController(BackplaneClient backplaneClient)
 {
     _backplaneClient = backplaneClient;
 }