Class TaskFile
Represents a reference to a ProjectFile that is part of a ManualTask or an AutomaticTask.
Inheritance
System.Object
TaskFile
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.ProjectAutomation.Core
Assembly: Sdl.ProjectAutomation.Core.dll
Syntax
public class TaskFile
Constructors
TaskFile()
Declaration
public TaskFile()
Properties
Completed
Gets whether the task has been completed (successfully or not) for this file.
Declaration
public bool Completed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ProjectFileId
Gets the unique ID of the project file.
Declaration
public Guid ProjectFileId { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Remarks
To get more information about the file, use GetFile(Guid).
ReadOnly
Gets whether this project file can be modified by this task or whether it has only been included for reference.
Declaration
public bool ReadOnly { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
TaskId
Gets the unique ID of the manual or automatic task to which this file belongs.
Declaration
public Guid TaskId { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Remarks
To get more information about the task itself, use GetAutomaticTask(Guid) or GetManualTask(Guid).