Пример #1
0
 public bool Equals(FidoFacetId other)
 {
     if (other == null)
     {
         return(false);
     }
     return(ToString().StartsWith(other.ToString()));
 }
Пример #2
0
        public bool Equals(FidoFacetId other)
        {
            if (other == null)
            {
                return(false);
            }
            var localAuthority = Helpers.GetAuthority(_facetUri);
            var otherAuthority = Helpers.GetAuthority(other._facetUri);

            return(localAuthority == otherAuthority);
        }