wx.Build.IBuildProduct Interface Reference

Inheritance diagram for wx.Build.IBuildProduct:

Inheritance graph

List of all members.

Public Member Functions

ICollection
< RefToProject
GetProjects ()
DateTime GetValidity ()
DateTime GetValidityDemand ()


Detailed Description

A build product is a build object that serves as a designator of a target or prerequisite in the build process. As a consequence, instances designating the same object shall be identical (w.r.t. System.Object.Equals() and System.Object.GetHashCode()). The interface also requires implementations of System.IComparable in order to allow efficient comparison of collections of object. Of course, CompareTo() shall be 0 if and only if Equals() is true. All instances implementing this interface shall be comparable. So, you will have to order by use of the class name in case of incompatible classes (refer to existing implementations).

Build products are used to represent the targets and prerequisites of build projects and actions.


Member Function Documentation

ICollection<RefToProject> wx.Build.IBuildProduct.GetProjects (  ) 

This is a collection of projects that build this target. This may be empty or null . This method will be used to determine interdependencies between projects.

Implemented in wx.Build.FeatureList, wx.Build.RefToProject, wx.Build.ContentFile, wx.Build.ContentFiles, wx.Build.FileSelector, wx.Build.FileProducts, and wx.Build.ResourceDesignator.

DateTime wx.Build.IBuildObject.GetValidity (  )  [inherited]

Returns validity timstamp of this object. Whenever this is equal or later than all prerequisites, this is considered consistent with the prerequisites on rebuilding.

Implemented in wx.Build.FeatureList, wx.Build.AlternativeBuildActions, wx.Build.SequenceOfBuildActions, wx.Build.NamedAction, wx.Build.RefToProject, wx.Build.ContentFile, wx.Build.ContentFiles, wx.Build.FileSelector, wx.Build.FileProducts, and wx.Build.ResourceDesignator.

DateTime wx.Build.IBuildObject.GetValidityDemand (  )  [inherited]

This is the counterpart of the Validity . If this occurs as a prerequisite, this shall be compared with the Validity of the target in order to assess whether rebuild is necessary or not.

Implemented in wx.Build.FeatureList, wx.Build.AlternativeBuildActions, wx.Build.SequenceOfBuildActions, wx.Build.NamedAction, wx.Build.RefToProject, wx.Build.ContentFile, wx.Build.ContentFiles, wx.Build.FileSelector, wx.Build.FileProducts, and wx.Build.ResourceDesignator.


The wx.NET Build System.   (c) 2009-2010 Harald Meyer auf'm Hofe