예제 #1
0
        private static String convertGroupGrantee(GroupGrantee grantee)
        {
            StringBuilder builder = new StringBuilder();
            builder.Append("<Grantee xmlns:xsi=\"" + xmlns + "\" xsi:type=\"Group\">");
            builder.Append("<URI>" + grantee.getIdentifier() + "</URI>");
            builder.Append("</Grantee>");

            return builder.ToString();
        }
예제 #2
0
파일: GroupGrantee.cs 프로젝트: jflzbest/C-
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            if (obj.GetType() == this.GetType())
            {
                GroupGrantee other = (GroupGrantee)obj;
                return(other.groupUri.Equals(other.groupUri));
            }

            return(false);
        }