The File type exposes the following members.
Set the AccessType. Can be Allow or Deny. Default is Allow.
Gets the file checksum
Gets the number of code lines countered. This is calculated as Total - Comment - Empty
Sets characters to be interpreted as comment identifiers. Semi-colon delimited. Only single line comments are currently supported.
Gets the number of comment lines counted
Gets the time taken to count the files. Value in seconds.
Gets the number of empty lines countered. Whitespace is ignored.
Gets the number of excluded files
Item collection of files Excluded from the count.
An ItemList of files to process. If calling SetAttributes, RemoveAttributes or AddAttributes, include the attributes in an Attributes metadata tag, separated by a semicolon.
Gets the number of included files
Item collection of files included after filtering operations
Sets the Lines to use. For WriteLines this is interpreted as plain text. For RemoveLines this is interpreted as a regular expression
Sets the maximum size of files to count
Sets the minimum size of files to count
A path to process or get. Use * for recursive folder processing. For the GetChecksum TaskAction, this indicates the path to the file to create a checksum for.
A comma-separated list of FileSystemRights.
Sets the Regular Expression options, e.g. None|IgnoreCase|Multiline|ExplicitCapture|Compiled|Singleline|IgnorePatternWhitespace|RightToLeft|RightToLeft|ECMAScript|CultureInvariant Default is RegexOptions.Compiled
Sets the regex pattern.
The replacement text to use. Default is string.Empty
Gets the result
Sets the size of the file in bytes for TaskAction="Create". This can be overridden by using a metadata tag called size on the Files items.
Sets the TargetPath for a renamed file or to save concatenated files
The file encoding to write the new file in. The task will attempt to default to the current file encoding.
Gets the number of files counted
Gets the total number of lines counted
Sets the users collection. Use the Permission metadata tag to specify permissions. Separate pemissions with a comma.
The Permission metadata is only used if the Permission property is not set.