private IEnumerable<DataFile> LoadDataFiles()
{
if (Directory.Exists(this.DataPath))
{
foreach (var path in Directory.GetFiles(this.DataPath, "*", SearchOption.AllDirectories))
{
if (this.IgnoreFiles != null && this.IgnoreFile(path))
{
continue;
}
yield return this.LoadLayout(path);
}
}
}