Skip to content

Commit

Permalink
Sync AKS Sample (#361)
Browse files Browse the repository at this point in the history
* Update public Sample repo.

* Sync AKS Sample.
  • Loading branch information
zihzhan-msft authored Nov 10, 2020
1 parent b615fd3 commit 8d63bd0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@
// <summary>ScreenshotsController retrieves the screenshots stored by the bot</summary>
// ***********************************************************************-

using Microsoft.Extensions.Options;
using Microsoft.Graph.Communications.Common.Telemetry;
using Microsoft.Graph.Communications.Core.Serialization;
using Microsoft.Skype.Internal.Bots.Media;
using RecordingBot.Model.Constants;
using RecordingBot.Services.Contract;
using RecordingBot.Services.Media;
using RecordingBot.Services.ServiceSetup;
using RecordingBot.Services.Util;
using System;
using System.Collections.Generic;
using System.Net;
Expand Down Expand Up @@ -64,7 +62,7 @@ public DemoController()
_logger = AppHost.AppHostInstance.Resolve<IGraphLogger>();
_eventPublisher = AppHost.AppHostInstance.Resolve<IEventPublisher>();
_botService = AppHost.AppHostInstance.Resolve<IBotService>();
_settings = AppHost.AppHostInstance.Resolve<AzureSettings>();
_settings = AppHost.AppHostInstance.Resolve<IOptions<AzureSettings>>().Value;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
// </copyright>
// <summary></summary>
// ***********************************************************************
using Microsoft.Extensions.Options;
using Microsoft.Graph;
using Microsoft.Graph.Communications.Common.Telemetry;
using Microsoft.Graph.Communications.Core.Serialization;
using RecordingBot.Model.Constants;
using RecordingBot.Model.Models;
using RecordingBot.Services.Contract;
using RecordingBot.Services.Media;
using RecordingBot.Services.ServiceSetup;
using System;
using System.Net;
Expand Down Expand Up @@ -59,7 +59,7 @@ public JoinCallController()
_logger = AppHost.AppHostInstance.Resolve<IGraphLogger>();
_eventPublisher = AppHost.AppHostInstance.Resolve<IEventPublisher>();
_botService = AppHost.AppHostInstance.Resolve<IBotService>();
_settings = AppHost.AppHostInstance.Resolve<AzureSettings>();
_settings = AppHost.AppHostInstance.Resolve<IOptions<AzureSettings>>().Value;
}

/// <summary>
Expand All @@ -70,11 +70,11 @@ public JoinCallController()
/// <param name="eventPublisher">The event publisher.</param>
/// <param name="botService">The bot service.</param>
/// <param name="settings">The settings.</param>
public JoinCallController(IGraphLogger logger, IEventPublisher eventPublisher, IBotService botService, AzureSettings settings)
public JoinCallController(IGraphLogger logger, IEventPublisher eventPublisher, IBotService botService, IAzureSettings settings)
{
_logger = logger;
_botService = botService;
_settings = settings;
_settings = (AzureSettings)settings;
_eventPublisher = eventPublisher;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
using Microsoft.Owin.Hosting;
using RecordingBot.Services.Contract;
using RecordingBot.Services.Http;
using RecordingBot.Services.Media;
using RecordingBot.Services.Util;
using System;

namespace RecordingBot.Services.ServiceSetup
Expand Down

0 comments on commit 8d63bd0

Please sign in to comment.