internal static IDataPortalServer Factory() { IDataPortalServer dps = null; DataPortalType dpt = DataPortalType.LCL; switch (dpt) { case DataPortalType.Final: dps = new FinalDataPortal(); break; case DataPortalType.LCL: dps = new LCLDataPortal(); break; default: break; } return dps; }
internal static IDataPortalServer Factory() { IDataPortalServer dps = null; DataPortalType dpt = DataPortalType.LCL; switch (dpt) { case DataPortalType.Final: dps = new FinalDataPortal(); break; case DataPortalType.LCL: dps = new LCLDataPortal(); break; default: break; } return(dps); }