Summary
Defines a
ITask
that updates an System.Attribute
in a code file.
- Namespace
- NBuildKit
.MsBuild .Tasks .Code - Base Types
-
- Task
- BaseTask
graph TD
Base0["BaseTask"]-->Type
click Base0 "/nBuildKit.MsBuild/api/NBuildKit.MsBuild.Tasks.Core/BaseTask"
Base1["Task"]-->Base0
Type["UpdateAttributeInCode"]
class Type type-node
Syntax
public sealed class UpdateAttributeInCode : BaseTask
Properties
Name | Value | Summary |
---|---|---|
AttributeName | string |
Gets or sets the name of the attribute that should be updated.
|
Encoding | string |
Gets or sets the encoding for the text.
|
ErrorInformation | ITaskItem[] |
Gets or sets the collection containing the error codes for the task.
Inherited from BaseTask
|
InputFile | ITaskItem |
Gets or sets the file path information for the input file.
|
Value | string |
Gets or sets the value to which the attribute whould be updated.
|
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
|