fix typos

This commit is contained in:
2013-08-18 14:47:05 +02:00
parent 7c9b1ef42d
commit 0ee4d19fae
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -14,7 +14,7 @@ namespace UptimeSharp
/// </summary>
/// <param name="parameters">parameters, which are mapped to the officials from http://www.uptimerobot.com/api.asp#methods </param>
/// <returns></returns>
public List<Monitor> Retrieve(GetParameters parameters)
public List<Monitor> Retrieve(RetrieveParameters parameters)
{
return Get<Get>("getMonitors", parameters.Convert()).Items;
}
@@ -26,7 +26,7 @@ namespace UptimeSharp
/// <returns></returns>
public List<Monitor> Retrieve()
{
return Retrieve(new GetParameters()
return Retrieve(new RetrieveParameters()
{
ShowAlerts = true
});
@@ -40,7 +40,7 @@ namespace UptimeSharp
/// <returns></returns>
public Monitor Retrieve(int monitorId)
{
return Retrieve(new GetParameters()
return Retrieve(new RetrieveParameters()
{
Monitors = new int[] { monitorId },
ShowAlerts = true
@@ -55,7 +55,7 @@ namespace UptimeSharp
/// <returns></returns>
public List<Monitor> Retrieve(int[] monitors)
{
return Retrieve(new GetParameters()
return Retrieve(new RetrieveParameters()
{
Monitors = monitors,
ShowAlerts = true
+1 -1
View File
@@ -57,8 +57,8 @@
<Compile Include="Models\Alert.cs" />
<Compile Include="Models\Log.cs" />
<Compile Include="Models\Monitor.cs" />
<Compile Include="Models\Parameters\GetParameters.cs" />
<Compile Include="Models\Parameters\MonitorParameters.cs" />
<Compile Include="Models\Parameters\RetrieveParameters.cs" />
<Compile Include="Models\Response\Default.cs" />
<Compile Include="Models\Response\Get.cs" />
<Compile Include="Models\Response\ResponseBase.cs" />