summaryrefslogtreecommitdiffstats
path: root/win/C#/EncodeQueue/Job.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-02-20 21:59:23 +0000
committersr55 <[email protected]>2010-02-20 21:59:23 +0000
commitb59b7b8733533aed4b97da6679e455df63049e23 (patch)
tree9035a3438491bc3d8290af9bced2320da11edb21 /win/C#/EncodeQueue/Job.cs
parentb9d00019295781bed79eca280bac798b7bb7c64f (diff)
WinGui:
- Some tweaks to the StyleCop Settings File. - Some abbreviations added to the ReSharper config file. - Some more warnings cleaned up. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3130 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/EncodeQueue/Job.cs')
-rw-r--r--win/C#/EncodeQueue/Job.cs24
1 files changed, 14 insertions, 10 deletions
diff --git a/win/C#/EncodeQueue/Job.cs b/win/C#/EncodeQueue/Job.cs
index 7dfe7e518..6c87cd606 100644
--- a/win/C#/EncodeQueue/Job.cs
+++ b/win/C#/EncodeQueue/Job.cs
@@ -1,13 +1,13 @@
/* QueueItem.cs $
-
- This file is part of the HandBrake source code.
- Homepage: <http://handbrake.fr>.
- It may be used under the terms of the GNU General Public License. */
-
-using System;
+ This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.fr>.
+ It may be used under the terms of the GNU General Public License. */
namespace Handbrake.EncodeQueue
{
+ /// <summary>
+ /// The job.
+ /// </summary>
public struct Job
{
/// <summary>
@@ -21,9 +21,9 @@ namespace Handbrake.EncodeQueue
public string Query { get; set; }
/// <summary>
- /// record if this is a user or GUI generated query
+ /// Gets or sets a value indicating whether if this is a user or GUI generated query
/// </summary>
- public Boolean CustomQuery { get; set; }
+ public bool CustomQuery { get; set; }
/// <summary>
/// Gets or sets the source file of encoding.
@@ -36,11 +36,15 @@ namespace Handbrake.EncodeQueue
public string Destination { get; set; }
/// <summary>
- /// Gets whether or not this instance is empty.
+ /// Gets a value indicating whether or not this instance is empty.
/// </summary>
public bool IsEmpty
{
- get { return Id == 0 && string.IsNullOrEmpty(Query) && string.IsNullOrEmpty(Source) && string.IsNullOrEmpty(Destination); }
+ get
+ {
+ return this.Id == 0 && string.IsNullOrEmpty(this.Query) && string.IsNullOrEmpty(this.Source) &&
+ string.IsNullOrEmpty(this.Destination);
+ }
}
}
} \ No newline at end of file