MsDNS2012 fix

This commit is contained in:
dev_amdtel 2014-07-21 19:28:09 +04:00
parent 74d487ec20
commit 17b8b952f1
3 changed files with 119 additions and 210 deletions

View file

@ -102,6 +102,15 @@ namespace WebsitePanel.Providers
return result;
}
public TimeSpan GetTimeSpan(string settingName)
{
double seconds;
if (!Double.TryParse(hash[settingName], out seconds))
seconds = 0;
return TimeSpan.FromSeconds(seconds);
}
#region Public properties
public int ProviderGroupID
{