Add HasFields property to LineParser.

This commit is contained in:
Daniel Kraus
2015-06-21 06:15:27 +02:00
parent cfbf3c7859
commit 9e0f8a85ae
2 changed files with 21 additions and 0 deletions

View File

@ -54,6 +54,18 @@ namespace zaaReloaded2.Dictionaries
/// </summary>
public string[] Fields { get; private set; }
/// <summary>
/// Indicates whether the parsed <see cref="Line"/>
/// contains fields.
/// </summary>
public bool HasFields
{
get
{
return Fields.Length > 0;
}
}
#endregion
#region Constructors