Chimney.MPD.Classes.Message.Message C# (CSharp) Метод

Message() публичный Метод

public Message ( string>.Dictionary dictionary ) : System.Collections.Generic
dictionary string>.Dictionary
Результат System.Collections.Generic
        public Message(Dictionary<string, string> dictionary)
        {
            foreach (string key in dictionary.Keys)
            {
                switch (key)
                {
                    case "message":
                        this.message = dictionary[key];
                        break;
                    case "channel":
                        this.channel = new Channel(new Dictionary<string, string>() { { "channel", dictionary[key] } });
                        break;
                    default:
                        break;
                }
            }
        }

Same methods

Message::Message ( string>.List keyValuePairList ) : System.Collections.Generic
Message