Noda Time
TzdbDateTimeZoneSource Constructor (baseName, assembly)
NamespacesNodaTime.TimeZonesTzdbDateTimeZoneSourceTzdbDateTimeZoneSource(String, Assembly)

[This is preliminary documentation and is subject to change.]

Initializes a new instance of the TzdbDateTimeZoneSource class.
Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("The resource format for time zone data is deprecated; future versions will only support blob-based data")]
public TzdbDateTimeZoneSource(
	string baseName,
	Assembly assembly
)
<ObsoleteAttribute("The resource format for time zone data is deprecated; future versions will only support blob-based data")> _
Public Sub New ( _
	baseName As String, _
	assembly As Assembly _
)
public:
[ObsoleteAttribute(L"The resource format for time zone data is deprecated; future versions will only support blob-based data")]
TzdbDateTimeZoneSource(
	String^ baseName, 
	Assembly^ assembly
)
Parameters
baseName (String)
The root name of the resource file.
assembly (Assembly)
The assembly to search for the time zone resources.
Remarks
For backwards compatibility, this will use the blob time zone data when given the same base name which would previously have loaded the now-obsolete resource data from the Noda Time assembly itself.
Exceptions
ExceptionCondition
InvalidNodaDataExceptionThe data within the resource is invalid.
MissingManifestResourceExceptionThe resource set cannot be found.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)