public static ISMSGateway GetGateway(SMSGatewaySettings settings) { switch ((ESMSGateway)settings.GatewayCode) { case ESMSGateway.Esendex: return(new Esendex(settings)); default: return(null); } }
public Esendex(SMSGatewaySettings settings) { Settings = settings; }