コード例 #1
0
 public LocationController(ILogger <LocationController> logger, IWeather weatherSvc, ITimeZone timeZoneSvc, IElevation elevationSvc)
 {
     _logger       = logger;
     _weatherSvc   = weatherSvc;
     _timeZoneSvc  = timeZoneSvc;
     _elevationSvc = elevationSvc;
 }
コード例 #2
0
 public static Task <CutSheet.CutSheet> GetCutSheetAsync(IElevation elevation)
 {
     return(CutSheet.Manager.GetCutSheetAsync(elevation));
 }
コード例 #3
0
    public async Task <HttpResponseMessage> Get(string a, string f, int id)
    {
        HttpResponseMessage r    = Request.CreateResponse();
        IElevation          elev = await ElevationManager.GetElevationAsync(id);

        CutSheet.CutSheet cutSheet = await AlumCloudPlans.Manager.GetCutSheetAsync(elev);