public void Initialize(IEventSource eventSource) { if (eventSource != null) { eventSource.ErrorRaised += ErrorRaised; } }