Ejemplo n.º 1
0
        private static void AddAppEventContent(IHtmlOutput outer, AppEvent e)
        {
            if (!outer.Items.ContainsKey(e))
            {
                return;
            }

            outer.Append(".on");
            outer.Append(e.ToString());
            outer.Append("(function (view) {");
            outer.Append("\r\n");
            foreach (var item in outer.Items[e] as List <string> )
            {
                outer.Append(item);
                outer.Append("\r\n");
            }
            outer.Append("})");
        }
 public EventingException(AppEvent appEvent) : base($"Error publishing event {appEvent.ToString()}")
 {
     AppEvent = appEvent;
 }