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); }
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); }
protected void LogTrace(string sendingMethod, string message = null) { _logging.LogTrace(this, sendingMethod, message); }