Skip to content

Commit 9871e38

Browse files
authored
fix: C# / EnabledRegion -> EnabledFor (#43)
1 parent b0be12a commit 9871e38

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

visual-dotnet/SauceLabs.Visual/Models/SelectiveRegion.cs

+8-8
Original file line numberDiff line numberDiff line change
@@ -33,49 +33,49 @@ private SelectiveRegion(Region region, DiffingOption? enableOnly, DiffingOption?
3333
}
3434

3535
[Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")]
36-
public static SelectiveRegion EnabledRegion(IWebElement element)
36+
public static SelectiveRegion EnabledFor(IWebElement element)
3737
{
3838
return new SelectiveRegion(element, null, null);
3939
}
4040

4141
[Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")]
42-
public static SelectiveRegion EnabledRegion(IWebElement element, DiffingOption flags)
42+
public static SelectiveRegion EnabledFor(IWebElement element, DiffingOption flags)
4343
{
4444
return new SelectiveRegion(element, flags, null);
4545
}
4646

4747
[Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")]
48-
public static SelectiveRegion EnabledRegion(Region region)
48+
public static SelectiveRegion EnabledFor(Region region)
4949
{
5050
return new SelectiveRegion(region, DiffingOption.None, null);
5151
}
5252

5353
[Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")]
54-
public static SelectiveRegion EnabledRegion(Region region, DiffingOption flags)
54+
public static SelectiveRegion EnabledFor(Region region, DiffingOption flags)
5555
{
5656
return new SelectiveRegion(region, flags, null);
5757
}
5858

5959
[Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")]
60-
public static SelectiveRegion DisabledRegion(IWebElement element)
60+
public static SelectiveRegion DisabledFor(IWebElement element)
6161
{
6262
return new SelectiveRegion(element, null, DiffingOption.None);
6363
}
6464

6565
[Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")]
66-
public static SelectiveRegion DisabledRegion(IWebElement element, DiffingOption flags)
66+
public static SelectiveRegion DisabledFor(IWebElement element, DiffingOption flags)
6767
{
6868
return new SelectiveRegion(element, null, flags);
6969
}
7070

7171
[Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")]
72-
public static SelectiveRegion DisabledRegion(Region region)
72+
public static SelectiveRegion DisabledFor(Region region)
7373
{
7474
return new SelectiveRegion(region, null, DiffingOption.None);
7575
}
7676

7777
[Obsolete("WARNING: This API is currently unstable. It may be changed at anytime")]
78-
public static SelectiveRegion DisabledRegion(Region region, DiffingOption flags)
78+
public static SelectiveRegion DisabledFor(Region region, DiffingOption flags)
7979
{
8080
return new SelectiveRegion(region, null, flags);
8181
}

0 commit comments

Comments
 (0)