Beispiel #1
0
        protected void RaiseEvent(object sender, LSEventArgs e)
        {
            var eventArgs = GetEventArgs(e);

            _logging.LogTrace(this, _lsEventName, "Received event. Parameters: {0}", eventArgs.GetFieldCsv());

            if (EventRaised == null)
            {
                return;
            }

            EventRaised(sender, eventArgs);
        }
Beispiel #2
0
        public IEveInvChildWindow GetCargoHoldWindow()
        {
            var methodName = "GetCargoHoldWindow";

            _logging.LogTrace(this, methodName);

            var inventoryWindow = _eveWindowProvider.GetInventoryWindow();

            if (inventoryWindow == null || !inventoryWindow.IsValid)
            {
                return(null);
            }

            var childWindow = inventoryWindow.GetChildWindow(_shipCache.Id, ShipCargoName);

            return(childWindow);
        }
Beispiel #3
0
 protected void LogTrace(string sendingMethod, string message = null)
 {
     _logging.LogTrace(this, sendingMethod, message);
 }