MsDNS2012 fix
This commit is contained in:
parent
74d487ec20
commit
17b8b952f1
3 changed files with 119 additions and 210 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue