AcManager.Tools.Helpers.Loaders.GoogleDriveLoader.Test C# (CSharp) Method

Test() public static method

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

Usage Example

コード例 #1
0
ファイル: FlexibleLoader.cs プロジェクト: killvxk/actools
 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