Exemple #1
0
        public static HuskyServiceHub AddQQLbs(this HuskyServiceHub husky, Action <QQLbsOptions> setupAction)
        {
            var options = new QQLbsOptions();

            setupAction(options);
            husky.Services.AddSingleton <ILbs>(new QQLbsService(options));
            return(husky);
        }
Exemple #2
0
 public static HuskyServiceHub AddQQLbs(this HuskyServiceHub husky, QQLbsOptions options)
 {
     husky.Services.AddSingleton <ILbs>(new QQLbsService(options));
     return(husky);
 }