Ejemplo n.º 1
0
        public static MeetingState Parse(string name)
        {
            MeetingState meetingState = null;

            if (name == null || !MEETING_STATES.TryGetValue(name, out meetingState))
            {
                meetingState = new MeetingState(name);
            }

            return(meetingState);
        }
Ejemplo n.º 2
0
        public bool Equals(MeetingState value)
        {
            if (Object.ReferenceEquals(value, null))
            {
                return(false);
            }

            if (Object.ReferenceEquals(this, value))
            {
                return(true);
            }

            return(this.Name == value.Name);
        }