Exemple #1
0
    //private static NavigationController _Navigator;
    //public static NavigationController Navigator
    //{
    //  get
    //  {
    //    if (_Navigator == null)
    //      _Navigator = Container.Resolve<NavigationController>();
    //    return _Navigator;
    //  }
    //}

    public static void PublishMessageEvent(string msgText, 
                                           MessagePriority messagePriority, 
                                           MessageType messageType)
    {
      var msgEvent = new Common.Events.MessageEvent(msgText, messagePriority, messageType);
      EventAggregator.Publish(msgEvent);
    }
        //private static NavigationController _Navigator;
        //public static NavigationController Navigator
        //{
        //  get
        //  {
        //    if (_Navigator == null)
        //      _Navigator = Container.Resolve<NavigationController>();
        //    return _Navigator;
        //  }
        //}

        public static void PublishMessageEvent(string msgText,
                                               MessagePriority messagePriority,
                                               MessageType messageType)
        {
            var msgEvent = new Common.Events.MessageEvent(msgText, messagePriority, messageType);

            EventAggregator.Publish(msgEvent);
        }
Exemple #3
0
 public void Handle(Common.Events.MessageEvent message)
 {
     //HANDLE MESSAGE EVENT IMPLEMENTATION IN DEBUGLOGGER (AND CREATE PRIORITY/TYPE CONVERTER)
     //var logPriority = LogPriority.High
     //throw new NotImplementedException();
 }