コード例 #1
0
 public PlaceService(IOptions <SingleTracksAPI> SingleTracksOptionsAccessor, IOptions <GoogleApis> googleOptionsAccessor)
 {
     _singleTracksApi = SingleTracksOptionsAccessor.Value;
     _googleApis      = googleOptionsAccessor.Value;
 }
コード例 #2
0
 public PlaceService(IOptions <SingleTracksAPI> optionsAccessor)
 {
     _singleTracksApi = optionsAccessor.Value;
 }