private IEnumerable<ScaffolderInfo> FindScaffolders(ProjectItem customScaffoldersFolder, string scaffolderName) { var filter = GetFilterForScaffolderName(scaffolderName); return from projectItem in customScaffoldersFolder.GetChildItemsIncludingSubfolders(_fileSystem, filter, VsConstants.VsProjectItemKindPhysicalFile) let scaffolderInfo = GetScaffolderInfo(null, projectItem.GetFullPath()) where scaffolderInfo != null select scaffolderInfo; }
private IEnumerable <ScaffolderInfo> FindScaffolders(ProjectItem customScaffoldersFolder, string scaffolderName) { var filter = GetFilterForScaffolderName(scaffolderName); return(from projectItem in customScaffoldersFolder.GetChildItemsIncludingSubfolders(_fileSystem, filter, VsConstants.VsProjectItemKindPhysicalFile) let scaffolderInfo = GetScaffolderInfo(null, projectItem.GetFullPath()) where scaffolderInfo != null select scaffolderInfo); }