อ่านในภาษาอังกฤษ

แชร์ผ่าน


TaskInvocationCheckData.TaskParameter Class

Definition

Represents an input or output parameter of a task.

C#
public class TaskInvocationCheckData.TaskParameter : IEquatable<Microsoft.Build.Experimental.BuildCheck.TaskInvocationCheckData.TaskParameter>
Inheritance
TaskInvocationCheckData.TaskParameter
Implements

Constructors

Properties

EqualityContract
IsOutput

True for output parameters, false for input parameters.

Value

The value passed to (when IsOutput is false) or from (when IsOutput is true) a task. This object can be of any type supported in task parameters: ITaskItem, ITaskItem[], bool, string, or anything else convertible to/from string.

Methods

<Clone>$()
Deconstruct(Object, Boolean)
EnumerateStringValues()

Enumerates all values passed in this parameter, converted to strings. E.g. for Param="@(Compile)", this will return all Compile item specs.

EnumerateValues()

Enumerates all values passed in this parameter. E.g. for Param="@(Compile)", this will return all Compile items.

Equals(Object)
Equals(TaskInvocationCheckData+TaskParameter)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Applies to

ผลิตภัณฑ์ เวอร์ชัน
MSBuild 17
MSBuild (.NET Core) 17