Exemplo n.º 1
0
        /// <summary>
        /// Prepares the StatusEvents with the information before calling OnStatusUpdate
        /// </summary>
        /// <param name="status">Message that need to be passed to calling program</param>
        /// <param name="addMessage">Additional Message that need to be passed to calling program</param>
        private void StatusUpdate(string status, string addMessage = "")
        {
            StatusEvents e = new StatusEvents
            {
                statusData     = status,
                additionalInfo = addMessage
            };

            OnStatusUpdate(this, e);
        }
Exemplo n.º 2
0
 /// <summary>
 /// At the moment this just sends the commandline arguements of all
 /// the calls send to the dll for informative purpose. Left for future
 /// enhancement
 /// </summary>
 /// <param name="obj">Parameter not used</param>
 /// <param name="e">Two strings in StatusEvents that is passed</param>
 public virtual void  OnStatusUpdate(object obj, StatusEvents e)
 {
     FeedbackStatus?.Invoke(this, e);
 }