Initializes a new instance of the ResourceManager class.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)

Syntax

C#
public ResourceManager(
	IEnumerable items,
	string contentMemberPath,
	string scheduleMemberPath,
	string costPerUsageMemberPath,
	string costPerHourMemberPath,
	EntityManager..::.Initialization initialization
)
Visual Basic (Declaration)
Public Sub New ( _
	items As IEnumerable, _
	contentMemberPath As String, _
	scheduleMemberPath As String, _
	costPerUsageMemberPath As String, _
	costPerHourMemberPath As String, _
	initialization As EntityManager..::.Initialization _
)

Parameters

items
Type: System.Collections..::.IEnumerable
Collection of resource items to be managed.
contentMemberPath
Type: System..::.String
Path to an Object value on a source resource item to serve as the resource content, or null to indicate that the content is not provided by the source resource item.
scheduleMemberPath
Type: System..::.String
Path to a Schedule value on a source resource item to serve as the resource schedule, or null to indicate that the schedule is not provided by the source resource item.
costPerUsageMemberPath
Type: System..::.String
Path to a Double value on a source resource item to serve as the resource cost per usage, or null to indicate that the cost per usage is not provided by the source resource item.
costPerHourMemberPath
Type: System..::.String
Path to a Double value on a source resource item to serve as the resource cost per hour, or null to indicate that the cost per hour is not provided by the source resource item.
initialization
Type: DlhSoft.Windows.Data..::.EntityManager..::.Initialization
A method to be called when the ResourceManager initializes.

See Also