Add HasFields property to LineParser.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user