public override bool Equals(object objectparameter)
        {
            if (objectparameter == null)
            {
                return(false);
            }

            NonFragmentAttribute nonFragmentAttribute = objectparameter as NonFragmentAttribute;

            if (nonFragmentAttribute == null)
            {
                return(false);
            }

            return(_fragmentType == nonFragmentAttribute._fragmentType);
        }
 public bool Equals(NonFragmentAttribute otherAttribute)
 {
     return _fragmentType == otherAttribute._fragmentType;
 }
 public bool Equals(NonFragmentAttribute otherAttribute)
 {
     return(_fragmentType == otherAttribute._fragmentType);
 }