12 references to TryGetString
Microsoft.DotNet.Cli.InternalMicrosoft (12)
Internal\GitHubMembershipClient.cs (2)
117if (!InternalMicrosoftDetectionUtilities.TryGetString(userDocument.RootElement, "login", out var login)) 132if (InternalMicrosoftDetectionUtilities.TryGetString(
Providers\MacPlatformSsoDetectionProvider.cs (3)
99!InternalMicrosoftDetectionUtilities.TryGetString(kerberosStatus, "upn", out var upn) || 100!InternalMicrosoftDetectionUtilities.TryGetString(kerberosStatus, "realm", out var realm) || 201if (InternalMicrosoftDetectionUtilities.TryGetString(root, propertyName, out var value) &&
Providers\VisualStudioAccountDetectionProvider.cs (7)
188InternalMicrosoftDetectionUtilities.TryGetString(properties, "IdentityProvider", out var identityProvider) && 216if (!InternalMicrosoftDetectionUtilities.TryGetString(properties, "IdentityProvider", out var identityProvider)) 227if (!InternalMicrosoftDetectionUtilities.TryGetString(properties, "HomeTenant", out var homeTenant)) 238if (!InternalMicrosoftDetectionUtilities.TryGetString(properties, "IdTokenPayload", out var payload)) 248!InternalMicrosoftDetectionUtilities.TryGetString(tokenRoot, "tid", out var tenantId) || 252!InternalMicrosoftDetectionUtilities.TryGetString(tokenRoot, "iss", out var issuer) || 256!InternalMicrosoftDetectionUtilities.TryGetString(tokenRoot, "preferred_username", out var username) ||