public override bool Equals(object o) { if (this == o) { return(true); } if (o == null || this.GetType() != o.GetType()) { return(false); } FollowerStates that = ( FollowerStates )o; return(!(_states != null ?!_states.Equals(that._states) : that._states != null)); }
public FollowerStates(FollowerStates <MEMBER> original, MEMBER updatedMember, FollowerState updatedState) { this._states = new Dictionary <MEMBER, FollowerState>(original._states); _states[updatedMember] = updatedState; }