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