Skip to content

Commit cdeceb1

Browse files
committed
remove irrelevant changes
1 parent 3a4deb6 commit cdeceb1

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

dotnet/src/webdriver/DomMutationData.cs

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,33 +26,54 @@ namespace OpenQA.Selenium
2626
/// </summary>
2727
public class DomMutationData
2828
{
29+
private string targetId;
30+
private string attributeName;
31+
private string attributeValue;
32+
private string attributeOriginalValue;
33+
2934
/// <summary>
3035
/// Gets the ID of the element whose value is changing.
3136
/// </summary>
3237
[JsonPropertyName("target")]
3338
[JsonInclude]
34-
public string TargetId { get; internal set; }
39+
public string TargetId
40+
{
41+
get { return this.targetId; }
42+
internal set { this.targetId = value; }
43+
}
3544

3645
/// <summary>
3746
/// Gets the name of the attribute that is changing.
3847
/// </summary>
3948
[JsonPropertyName("name")]
4049
[JsonInclude]
41-
public string AttributeName { get; internal set; }
50+
public string AttributeName
51+
{
52+
get { return this.attributeName; }
53+
internal set { this.attributeName = value; }
54+
}
4255

4356
/// <summary>
4457
/// Gets the value to which the attribute is being changed.
4558
/// </summary>
4659
[JsonPropertyName("value")]
4760
[JsonInclude]
48-
public string AttributeValue { get; internal set; }
61+
public string AttributeValue
62+
{
63+
get { return this.attributeValue; }
64+
internal set { this.attributeValue = value; }
65+
}
4966

5067
/// <summary>
5168
/// Gets the value from which the attribute has been changed.
5269
/// </summary>
5370
[JsonPropertyName("oldValue")]
5471
[JsonInclude]
55-
public string AttributeOriginalValue { get; internal set; }
72+
public string AttributeOriginalValue
73+
{
74+
get { return this.attributeOriginalValue; }
75+
internal set { this.attributeOriginalValue = value; }
76+
}
5677

5778
/// <summary>
5879
/// Stores the element associated with the target ID
@@ -66,7 +87,7 @@ public class DomMutationData
6687
/// <returns>A string that represents the current object.</returns>
6788
public override string ToString()
6889
{
69-
return string.Format("target: {0}, name: {1}, value: {2}, originalValue: {3}", this.TargetId, this.AttributeName, this.AttributeValue, this.AttributeOriginalValue);
90+
return string.Format("target: {0}, name: {1}, value: {2}, originalValue: {3}", this.targetId, this.attributeName, this.attributeValue, this.attributeOriginalValue);
7091
}
7192
}
7293
}

0 commit comments

Comments
 (0)