[]
        
(Showing Draft Content)

C1.GanttView.ResourceMappingCollection

ResourceMappingCollection Class

Represents a generic collection of mappings for properties of Resource derived objects to appropriate data fields.

Inheritance
ResourceMappingCollection
Namespace: C1.GanttView
Assembly: C1.WPF.GanttView.dll
Syntax
public class ResourceMappingCollection : MappingCollectionBase<Resource>

Constructors

Name Description
ResourceMappingCollection()

Initializes a new instance of the ResourceMappingCollection class.

Properties

Name Description
Cost

Returns C1.Schedule.MappingInfo object for the Cost property of the Resource object. If the storage object is bound to a data source via its DataSource property, the properties of this object allow the Cost property to be bound to the appropriate field in the data source.

Name

Returns C1.Schedule.MappingInfo object for the Name property of the Resource object. If the storage object is bound to a data source via its DataSource property, the properties of this object allow the Name property to be bound to the appropriate field in the data source.

Notes

Returns C1.Schedule.MappingInfo object for the BaseObject.Notes property of the Resource object. If the storage object is bound to a data source via its DataSource property, the properties of this object allow the BaseObject.Notes property to be bound to the appropriate field in the data source.

ResourceID

Returns C1.Schedule.MappingInfo object for the BaseObject.ID> property of the Resource object. If the storage object is bound to a data source via its DataSource property, the properties of this object allow the BaseObject.ID property to be bound to the appropriate field in the data source.

ResourceType

Returns C1.Schedule.MappingInfo object for the ResourceType property of the Resource object. If the storage object is bound to a data source via its DataSource property, the properties of this object allow the ResourceType property to be bound to the appropriate field in the data source.

UnitOfMeasure

Returns C1.Schedule.MappingInfo object for the UnitOfMeasure property of the Resource object. If the storage object is bound to a data source via its DataSource property, the properties of this object allow the UnitOfMeasure property to be bound to the appropriate field in the data source.

Methods

Name Description
ReadObject(Resource, object, bool)

Fills CustomCalendar object with values from specified boundObject.

WriteObject(Resource, object)

Fills boundObject with values from specified Resource object.