Esempio n. 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));
        }
Esempio n. 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)
                   );
        }
Esempio n. 3
0
 public RolePermissionIdFlattenedDto(RolePermissionId val)
 {
     this._value = new RolePermissionIdDtoWrapper(val);
 }
Esempio n. 4
0
 public RolePermissionIdFlattenedDto(RolePermissionIdDto val)
 {
     this._value = val;
 }