DocSpace-buildtools/thirdparty/Microsoft.Graph.Core/Requests/GraphRequestContext.cs

41 lines
1.3 KiB
C#
Raw Normal View History

2020-07-10 15:37:02 +00:00
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
namespace Microsoft.Graph
{
using System.Collections.Generic;
using System.Threading;
/// <summary>
/// The graph request context class
/// </summary>
public class GraphRequestContext
{
/// <summary>
/// A ClientRequestId property
/// </summary>
public string ClientRequestId { get; set; }
/// <summary>
/// A MiddlewareOptions property
/// </summary>
public IDictionary<string, IMiddlewareOption> MiddlewareOptions { get; set; }
/// <summary>
/// A CancellationToken property
/// </summary>
public CancellationToken CancellationToken { get; set; }
/// <summary>
/// A FeatureUsage property
/// </summary>
public FeatureFlag FeatureUsage { get; set; }
/// <summary>
/// A <see cref="GraphUserAccount"/> property representing the logged in user
/// </summary>
public GraphUserAccount User { get; set; }
}
}