1 instantiation of InternalMicrosoftDetectionContext
Microsoft.DotNet.Cli.InternalMicrosoft (1)
Internal\InternalMicrosoftDetectionContext.cs (1)
90
return
new
(
37 references to InternalMicrosoftDetectionContext
Microsoft.DotNet.Cli.InternalMicrosoft (37)
Internal\GitHubMembershipClient.cs (2)
21
private readonly
InternalMicrosoftDetectionContext
_context;
23
internal GitHubMembershipClient(
InternalMicrosoftDetectionContext
context)
Internal\InternalMicrosoftDetectionContext.cs (1)
84
internal static
InternalMicrosoftDetectionContext
CreateDefault(
Internal\InternalMicrosoftDetectionProvider.cs (2)
25
bool IsSupported(
InternalMicrosoftDetectionContext
context);
31
InternalMicrosoftDetectionContext
context,
Internal\InternalMicrosoftDetectorOptions.cs (2)
11
Func<
InternalMicrosoftDetectionContext
, IReadOnlyList<IReadOnlyList<InternalMicrosoftProbe>>> CreateProbeStages,
21
InternalMicrosoftDetectionContext
context) =>
InternalMicrosoftDetector.cs (6)
42
private readonly Func<
InternalMicrosoftDetectionContext
, IReadOnlyList<IReadOnlyList<InternalMicrosoftProbe>>> _createProbeStages;
45
private readonly
InternalMicrosoftDetectionContext
_context;
57
InternalMicrosoftDetectionContext
.CreateDefault(
58
InternalMicrosoftDetectionContext
.GetHomeDirectory(),
66
InternalMicrosoftDetectionContext
context,
132
InternalMicrosoftDetectionContext
context) =>
Providers\CopilotCliDetectionProvider.cs (3)
17
public bool IsSupported(
InternalMicrosoftDetectionContext
context) => !context.IsCIEnvironment;
20
InternalMicrosoftDetectionContext
context,
24
private static IEnumerable<GitHubTokenCandidate> GetCandidates(
InternalMicrosoftDetectionContext
context)
Providers\EnvironmentGitHubTokenDetectionProvider.cs (3)
15
public bool IsSupported(
InternalMicrosoftDetectionContext
context) => !context.IsCIEnvironment;
18
InternalMicrosoftDetectionContext
context,
22
private static IEnumerable<GitHubTokenCandidate> GetCandidates(
InternalMicrosoftDetectionContext
context)
Providers\GitHubCliDetectionProvider.cs (4)
13
private readonly Func<
InternalMicrosoftDetectionContext
, bool> _isSupported;
18
Func<
InternalMicrosoftDetectionContext
, bool> isSupported)
28
public bool IsSupported(
InternalMicrosoftDetectionContext
context) =>
32
InternalMicrosoftDetectionContext
context,
Providers\MacPlatformSsoDetectionProvider.cs (2)
17
public bool IsSupported(
InternalMicrosoftDetectionContext
context) => context.IsMacOS;
20
InternalMicrosoftDetectionContext
context,
Providers\UserDnsDomainDetectionProvider.cs (4)
15
public bool IsSupported(
InternalMicrosoftDetectionContext
context) => context.IsWindows;
18
InternalMicrosoftDetectionContext
context,
44
public bool IsSupported(
InternalMicrosoftDetectionContext
context) => context.IsWsl;
47
InternalMicrosoftDetectionContext
context,
Providers\VisualStudioAccountDetectionProvider.cs (4)
17
public bool IsSupported(
InternalMicrosoftDetectionContext
context) => context.IsWindows;
20
InternalMicrosoftDetectionContext
context,
41
public bool IsSupported(
InternalMicrosoftDetectionContext
context) => context.IsWsl;
44
InternalMicrosoftDetectionContext
context,
Providers\WorkplaceJoinDetectionProvider.cs (4)
15
public bool IsSupported(
InternalMicrosoftDetectionContext
context) => context.IsWindows;
18
InternalMicrosoftDetectionContext
context,
248
public bool IsSupported(
InternalMicrosoftDetectionContext
context) => context.IsWsl;
251
InternalMicrosoftDetectionContext
context,