Fix "Setup" void name

This commit is contained in:
Nicola Carminati
2019-08-21 14:06:17 +02:00
parent 5eb6ad7c7b
commit c31cbf3bab
+2 -2
View File
@@ -71,7 +71,7 @@ namespace Step.CmsConnectGateway
/// <exception cref="System.NullReferenceException">Thrown when one parameter is null</exception>
public GatewayAdapter(string hostname, string username, string password)
{
setup(hostname, username, password);
Setup(hostname, username, password);
}
@@ -82,7 +82,7 @@ namespace Step.CmsConnectGateway
/// <param name="username">Username for Gateway Login</param>
/// <param name="password">Password for Gateway Login</param>
/// <exception cref="System.NullReferenceException">Thrown when one parameter is null</exception>
public void setup(string hostname, string username, string password)
public void Setup(string hostname, string username, string password)
{
this.host = hostname ?? throw new NullReferenceException("hostname is mandatory");
this.username = username ?? throw new NullReferenceException("username is mandatory");