Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Equals()

override bool System.ComponentModel.DataAnnotations.UIHintAttribute.UIHintImplementation.Equals ( [NotNullWhen(true)] object obj)
inline

Definition at line 40 of file UIHintAttribute.cs.

41 {
43 {
44 return false;
45 }
48 try
49 {
51 controlParameters2 = uIHintImplementation.ControlParameters;
52 }
53 catch (InvalidOperationException)
54 {
55 return false;
56 }
58 {
59 return false;
60 }
61 return controlParameters.OrderBy((KeyValuePair<string, object> p) => p.Key).SequenceEqual(controlParameters2.OrderBy((KeyValuePair<string, object> p) => p.Key));
62 }
UIHintImplementation(string uiHint, string presentationLayer, params object[] controlParameters)

References System.ComponentModel.DataAnnotations.UIHintAttribute.UIHintImplementation.ControlParameters, System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.obj, System.ComponentModel.DataAnnotations.UIHintAttribute.UIHintImplementation.PresentationLayer, and System.ComponentModel.DataAnnotations.UIHintAttribute.UIHintImplementation.UIHint.

Referenced by System.ComponentModel.DataAnnotations.UIHintAttribute.Equals().