Exemplo n.º 1
0
        public static IHttpTrackerBuilder UseOracle(this IHttpTrackerBuilder builder)
        {
            builder.Services.AddOptions();
            builder.Services.Configure <HttpTrackerOracleOptions>(builder.Configuration.GetSection("Storage:Oracle"));

            return(builder.UseOracleService());
        }
Exemplo n.º 2
0
        public static IHttpTrackerBuilder UseOracle(this IHttpTrackerBuilder builder, Action <HttpTrackerOracleOptions> options)
        {
            builder.Services.AddOptions();
            builder.Services.Configure(options);

            return(builder.UseOracleService());
        }