Framework_4_0 preprocessor is necessary for legacy compatibility.
This commit is contained in:
parent
12fe97babd
commit
558fcf495a
15 changed files with 755 additions and 46 deletions
|
|
@ -554,7 +554,7 @@ namespace Server
|
|||
return defaultValue;
|
||||
}
|
||||
}
|
||||
|
||||
#if Framework_4_0
|
||||
public static DateTimeOffset GetXMLDateTimeOffset( string dateTimeOffsetString, DateTimeOffset defaultValue )
|
||||
{
|
||||
try
|
||||
|
|
@ -571,7 +571,7 @@ namespace Server
|
|||
return defaultValue;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
public static TimeSpan GetXMLTimeSpan( string timeSpanString, TimeSpan defaultValue )
|
||||
{
|
||||
try
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue