Example #1
0
 public bool IsSameAs(ActionTarget actionTarget)
 {
     if (object.ReferenceEquals(objectType, actionTarget.objectType))
     {
         return(fieldName == actionTarget.fieldName);
     }
     return(false);
 }
Example #2
0
 public bool IsSameAs(ActionTarget actionTarget)
 {
     return(object.ReferenceEquals(this.objectType, actionTarget.objectType) && this.fieldName == actionTarget.fieldName);
 }