コード例 #1
0
        public override bool Equals(object obj)
        {
            if (Object.ReferenceEquals(this, obj))
            {
                return(true);
            }

            RolePermissionIdDto other = obj as RolePermissionIdDto;

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

            return(_value.Equals(other._value));
        }
コード例 #2
0
        public override bool Equals(object obj)
        {
            if (Object.ReferenceEquals(this, obj))
            {
                return(true);
            }

            RolePermissionIdDto other = obj as RolePermissionIdDto;

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

            return(true &&
                   Object.Equals(this.RoleId, other.RoleId) &&
                   Object.Equals(this.PermissionId, other.PermissionId)
                   );
        }
コード例 #3
0
 public RolePermissionIdFlattenedDto(RolePermissionId val)
 {
     this._value = new RolePermissionIdDtoWrapper(val);
 }
コード例 #4
0
 public RolePermissionIdFlattenedDto(RolePermissionIdDto val)
 {
     this._value = val;
 }