Skip to content

Commit

Permalink
chore: Fix Rotate XML documentation (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dor-bl authored Dec 11, 2023
1 parent b8e1aa3 commit d07b741
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
17 changes: 13 additions & 4 deletions src/Appium.Net/Appium/AppiumDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,20 @@ Response IExecuteMethod.Execute(string commandName, Dictionary<string, object> p
#region MJsonMethod Members

/// <summary>
/// Rotates Device.
/// Rotates the device.
/// </summary>
/// <param name="opts">rotations options like the following:
/// new Dictionary<string, int> {{"x", 114}, {"y", 198}, {"duration", 5},
/// {"radius", 3}, {"rotation", 220}, {"touchCount", 2}}
/// <param name="opts">
/// Rotations options like the following:
/// <example>
/// new Dictionary&lt;string, int&gt; {
/// {"x", 114},
/// {"y", 198},
/// {"duration", 5},
/// {"radius", 3},
/// {"rotation", 220},
/// {"touchCount", 2}
/// }
/// </example>
/// </param>
public void Rotate(Dictionary<string, int> opts)
{
Expand Down
17 changes: 13 additions & 4 deletions src/Appium.Net/Appium/AppiumElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,20 @@ protected virtual object CacheValue(string key, Func<object> getter)
#region MJSonMethods

/// <summary>
/// Rotates Device.
/// Rotates the device.
/// </summary>
/// <param name="opts">rotations options like the following:
/// new Dictionary<string, int> {{"x", 114}, {"y", 198}, {"duration", 5},
/// {"radius", 3}, {"rotation", 220}, {"touchCount", 2}}
/// <param name="opts">
/// Rotations options like the following:
/// <example>
/// new Dictionary&lt;string, int&gt; {
/// {"x", 114},
/// {"y", 198},
/// {"duration", 5},
/// {"radius", 3},
/// {"rotation", 220},
/// {"touchCount", 2}
/// }
/// </example>
/// </param>
public void Rotate(Dictionary<string, int> opts)
{
Expand Down

0 comments on commit d07b741

Please sign in to comment.