AcManager.Tools.Helpers.Loaders.GoogleDriveLoader.Test C# (CSharp) Méthode

Test() public static méthode

public static Test ( string url ) : bool
url string
Résultat bool
        public static bool Test(string url) => Regex.IsMatch(url, @"^https?://drive\.google\.com/", RegexOptions.IgnoreCase);

Usage Example

Exemple #1
0
 public static bool IsSupportedFileStorage(string url)
 {
     return(AcStuffSharedLoader.Test(url) ||
            GoogleDriveLoader.Test(url) ||
            YandexDiskLoader.Test(url) ||
            MediaFireLoader.Test(url) ||
            DropboxLoader.Test(url) ||
            OneDriveLoader.Test(url) ||
            AdFlyLoader.Test(url) ||
            MegaLoader.Test(url));
 }
All Usage Examples Of AcManager.Tools.Helpers.Loaders.GoogleDriveLoader::Test