Пример #1
0
        public void Apply(string msg, Inputs.InputListener listener)
        {
            JObject jobject = JObject.Parse(msg);

            listener.AddDefaultFields(jobject);
            listener.ProcessJson(jobject);
        }
Пример #2
0
        public void Apply(string msg, Inputs.InputListener listener)
        {
            JObject json = new JObject();

            listener.AddDefaultFields(json);
            json["message"] = ExpandField(msg, json);
            listener.ProcessJson(json);
        }