示例#1
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 /// <param name="cosmosDbLogic"></param>
 /// <param name="googleFitLogic"></param>
 /// <param name="healthPlanetLogic"></param>
 /// <param name="postHealthDataLogic"></param>
 public HealthPlanetFunctions(
     CosmosDbLogic cosmosDbLogic,
     GoogleFitLogic googleFitLogic,
     HealthPlanetLogic healthPlanetLogic,
     PostHealthDataLogic postHealthDataLogic
     )
 {
     _cosmosDbLogic       = cosmosDbLogic;
     _googleFitLogic      = googleFitLogic;
     _healthPlanetLogic   = healthPlanetLogic;
     _postHealthDataLogic = postHealthDataLogic;
 }
示例#2
0
        /// <summary>
        /// コンストラクタ
        /// </summary>
        /// <param name="cosmosDbConfiguration"></param>
        /// <param name="healthPlanetConfiguration"></param>
        /// <param name="googleConfiguration"></param>
        /// <param name="initializeCosmosDbLogic"></param>
        /// <param name="healthPlanetLogic"></param>
        /// <param name="googleFitLogic"></param>
        public InitializeFunctions(
            IOptions <CosmosDbConfiguration> cosmosDbConfiguration,
            IOptions <HealthPlanetConfiguration> healthPlanetConfiguration,
            IOptions <GoogleConfiguration> googleConfiguration,
            InitializeCosmosDbLogic initializeCosmosDbLogic,
            HealthPlanetLogic healthPlanetLogic,
            GoogleFitLogic googleFitLogic
            )
        {
            _cosmosDbConfiguration     = cosmosDbConfiguration.Value;
            _healthPlanetConfiguration = healthPlanetConfiguration.Value;
            _googleConfiguration       = googleConfiguration.Value;

            _initializeCosmosDbLogic = initializeCosmosDbLogic;
            _healthPlanetLogic       = healthPlanetLogic;
            _googleFitLogic          = googleFitLogic;
        }
示例#3
0
 public GoogleFitFunctions(GoogleFitLogic googleFitLogic, CosmosDbLogic cosmosDbLogic)
 {
     _cosmosDbLogic  = cosmosDbLogic;
     _googleFitLogic = googleFitLogic;
 }