NAnt SDK Documentation - v0.92

IProjectBuildProvider.IsSupported Method 

Returns a number representing how much this file fits this project type.

[Visual Basic]
Function IsSupported( _
   ByVal projectExt As String, _
   ByVal xmlDefinition As XmlElement _
) As Integer
[C#]
int IsSupported(
   string projectExt,
   XmlElement xmlDefinition
);

Parameters

projectExt
xmlDefinition

Return Value

Remarks

This enables the override in other providers. Do not return big numbers, mainly when compring only on filename.

See Also

IProjectBuildProvider Interface | NAnt.VSNet.Extensibility Namespace