/// <summary> /// Initializes a new instance of the <see cref="GraphServiceFactory"/> class. /// </summary> /// <param name="betaServiceClient">Beta Graph service client.</param> /// <param name="serviceClient">V1 Graph service client.</param> public GraphServiceFactory( Beta.IGraphServiceClient betaServiceClient, IGraphServiceClient serviceClient) { this.betaServiceClient = betaServiceClient ?? throw new ArgumentNullException(nameof(betaServiceClient)); this.serviceClient = serviceClient ?? throw new ArgumentNullException(nameof(serviceClient)); }
/// <summary> /// Initializes a new instance of the <see cref="ChatsService"/> class. /// </summary> /// <param name="betaServiceClient">Beta graph service client.</param> /// <param name="appManagerService">App manager service.</param> internal ChatsService( Beta.IGraphServiceClient betaServiceClient, IAppManagerService appManagerService) { this.betaServiceClient = betaServiceClient ?? throw new ArgumentNullException(nameof(betaServiceClient)); this.appManagerService = appManagerService ?? throw new ArgumentNullException(nameof(appManagerService)); }
/// <summary> /// Initializes a new instance of the <see cref="AppManagerService"/> class. /// </summary> /// <param name="betaServiceClient">Beta Graph service client.</param> /// <param name="serviceClient">V1 Graph service client.</param> internal AppManagerService( Beta.IGraphServiceClient betaServiceClient, IGraphServiceClient serviceClient) { this.betaServiceClient = betaServiceClient ?? throw new ArgumentNullException(nameof(betaServiceClient)); this.serviceClient = serviceClient ?? throw new ArgumentNullException(nameof(serviceClient)); }
/// <summary> /// Initializes a new instance of the <see cref="GroupsService"/> class. /// </summary> /// <param name="betaServiceClient">betaServiceClient.</param> /// <param name="graphServiceClient">graph service client.</param> internal GroupsService(Beta.IGraphServiceClient betaServiceClient, IGraphServiceClient graphServiceClient) { this.betaServiceClient = betaServiceClient ?? throw new ArgumentNullException(nameof(betaServiceClient)); this.graphServiceClient = graphServiceClient ?? throw new ArgumentNullException(nameof(graphServiceClient)); }