Class JobFile
Wraps a job file.
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: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class JobFile : AttachedFile
Constructors
JobFile(Int32)
Creates a new JobFile object to be used when updating a file.
Declaration
public JobFile(int id_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | id_ | Identifies the file. |
JobFile(Int32, String)
Creates a new JobFile object to be used when uploading a file.
Declaration
public JobFile(int jobId_, string name_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | jobId_ | Job to which the file belongs. |
| System.String | name_ | Name to used for the uploaded file. |
Properties
JobId
Job to which this file belongs.
Declaration
public int JobId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
JobPhases
Job phases to which this job file belongs.
Declaration
public JobPhaseContainer JobPhases { get; set; }
Property Value
| Type | Description |
|---|---|
| JobPhaseContainer |