public void Init(PEApplication pea) { if (pea != null) { pea.CustomException += new PEExceptionEventHandler(this.pea_CustomException); } }
internal static PEApplication Instance() { PEApplication pea = new PEApplication(); (Activator.CreateInstance(Type.GetType("EasyOne.Components.PEExceptionModule")) as IPEModule).Init(pea); return(pea); }
public static void PEException(CustomException ex) { PEApplication.Instance().ExecutePEExcetion(ex); }