public MsGraphSdkClientService(IMsGraphServiceConfiguration msGraphServiceConfiguration, IGraphServiceClient graphServiceClient) { _msGraphServiceConfiguration = msGraphServiceConfiguration ?? throw new ArgumentNullException(nameof(msGraphServiceConfiguration)); _graphServiceClient = graphServiceClient ?? throw new ArgumentNullException(nameof(graphServiceClient)); }
public MsGraphUserManagementService(IGraphServiceClient graphServiceClient, IMsGraphServiceConfiguration msGraphServiceConfiguration, ILogger <MsGraphUserManagementService> logger) { _graphServiceClient = graphServiceClient ?? throw new ArgumentNullException(nameof(graphServiceClient)); _msGraphServiceConfiguration = msGraphServiceConfiguration ?? throw new ArgumentNullException(nameof(msGraphServiceConfiguration)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }