You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Gets the internal ID of the initialization script.
@@ -41,6 +42,16 @@ public class InitializationScript
41
42
/// </summary>
42
43
publicstringScriptSource{get;internalset;}
43
44
45
+
/// <summary>
46
+
/// Indicates whether the current <see cref="InitializationScript"/> is equal to another <see cref="InitializationScript"/> of the same type.
47
+
/// </summary>
48
+
/// <param name="other">An <see cref="InitializationScript"/> to compare with this <see cref="InitializationScript"/>.</param>
49
+
/// <returns><see langword="true"/> if the current <see cref="InitializationScript"/> is equal to the other parameter; otherwise, <see langword="false"/>.</returns>
50
+
publicboolEquals(InitializationScriptother)
51
+
{
52
+
returnotheris not null&&this.ScriptId==other.ScriptId&&this.ScriptName==other.ScriptName&&this.ScriptSource==other.ScriptSource;
53
+
}
54
+
44
55
/// <summary>
45
56
/// Returns a string that represents the current object.
0 commit comments