From c967505ca2f26151e52a4fb96b59b380ce747fc6 Mon Sep 17 00:00:00 2001 From: Felix P Date: Fri, 3 May 2024 14:28:23 +0200 Subject: [PATCH] EnabledRegion -> EnabledFor --- .../SauceLabs.Visual/Models/SelectiveRegion.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/visual-dotnet/SauceLabs.Visual/Models/SelectiveRegion.cs b/visual-dotnet/SauceLabs.Visual/Models/SelectiveRegion.cs index 1909d6ab..968ab663 100644 --- a/visual-dotnet/SauceLabs.Visual/Models/SelectiveRegion.cs +++ b/visual-dotnet/SauceLabs.Visual/Models/SelectiveRegion.cs @@ -33,49 +33,49 @@ private SelectiveRegion(Region region, DiffingOption? enableOnly, DiffingOption? } [Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")] - public static SelectiveRegion EnabledRegion(IWebElement element) + public static SelectiveRegion EnabledFor(IWebElement element) { return new SelectiveRegion(element, null, null); } [Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")] - public static SelectiveRegion EnabledRegion(IWebElement element, DiffingOption flags) + public static SelectiveRegion EnabledFor(IWebElement element, DiffingOption flags) { return new SelectiveRegion(element, flags, null); } [Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")] - public static SelectiveRegion EnabledRegion(Region region) + public static SelectiveRegion EnabledFor(Region region) { return new SelectiveRegion(region, DiffingOption.None, null); } [Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")] - public static SelectiveRegion EnabledRegion(Region region, DiffingOption flags) + public static SelectiveRegion EnabledFor(Region region, DiffingOption flags) { return new SelectiveRegion(region, flags, null); } [Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")] - public static SelectiveRegion DisabledRegion(IWebElement element) + public static SelectiveRegion DisabledFor(IWebElement element) { return new SelectiveRegion(element, null, DiffingOption.None); } [Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")] - public static SelectiveRegion DisabledRegion(IWebElement element, DiffingOption flags) + public static SelectiveRegion DisabledFor(IWebElement element, DiffingOption flags) { return new SelectiveRegion(element, null, flags); } [Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")] - public static SelectiveRegion DisabledRegion(Region region) + public static SelectiveRegion DisabledFor(Region region) { return new SelectiveRegion(region, null, DiffingOption.None); } [Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")] - public static SelectiveRegion DisabledRegion(Region region, DiffingOption flags) + public static SelectiveRegion DisabledFor(Region region, DiffingOption flags) { return new SelectiveRegion(region, null, flags); }