Beispiel #1
0
        public virtual FollowerState Get(MEMBER member)
        {
            FollowerState result = _states[member];

            if (result == null)
            {
                result = new FollowerState();
            }
            return(result);
        }
Beispiel #2
0
 public FollowerStates(FollowerStates <MEMBER> original, MEMBER updatedMember, FollowerState updatedState)
 {
     this._states           = new Dictionary <MEMBER, FollowerState>(original._states);
     _states[updatedMember] = updatedState;
 }