Summary
Defines a
ITask
that performs a replacement of template variables in a given file.
- Namespace
- NBuildKit
.MsBuild .Tasks .Templating - Base Types
-
- Task
- BaseTask
graph TD
Base0["BaseTask"]-->Type
click Base0 "/nBuildKit.MsBuild/api/NBuildKit.MsBuild.Tasks.Core/BaseTask"
Base1["Task"]-->Base0
Type["TemplateFile"]
class Type type-node
Syntax
public sealed class TemplateFile : BaseTask
Properties
Name | Value | Summary |
---|---|---|
Encoding | string |
Gets or sets the encoding of the file.
|
ErrorInformation | ITaskItem[] |
Gets or sets the collection containing the error codes for the task.
Inherited from BaseTask
|
OutputFileName | ITaskItem |
Gets or sets the full path to the output file.
|
SearchExpression | string |
Gets or sets the regular expression that will be used to locate the template variables.
|
Template | ITaskItem |
Gets or sets the full path to the template file.
|
Tokens | ITaskItem[] |
Gets or sets the collection of replacement tokens.
|
Methods
Name | Value | Summary |
---|---|---|
ErrorCodeById |
string |
Returns the error code for the given ID.
Inherited from BaseTask
|
Execute |
bool | |
GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
Verbosity |
string |
Gets the verbosity that the current MsBuild instance is running at.
Inherited from BaseTask
static
|