This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Gets the count of substrings in the string | |
/// </summary> | |
/// <param name="text"></param> | |
/// <param name="substring"></param> | |
/// <returns></returns> | |
public static int GetCount(this string text, string substring) | |
{ | |
int count = 0; | |
var span = text.AsSpan(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
using Auth0.AuthenticationApi; | |
using Auth0.AuthenticationApi.Models; | |
namespace Cards.Documents.Authorization | |
{ | |
public class Auth0Example | |
{ | |
string auth0domain; |