-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GenerationFixture.GetPageAndFeatureTemplates has statement that needs clarity #869
Comments
I think I've added some brackets to that query (and others like it) in the VB branch as I also had to add another clause and it got even harder to read. Also reformatted over multiple lines to improve readability.
Yes, this kind of "tidying up" also made things harder for me in terms of merging but is hopefully beneficial in the long run. |
i'll create a dedicated branch for just this one adjustment for CR. |
turns out, this is part of dead end code. referenced by GetPageAndFeatureTemplates and that has zero references |
No! This is used code.
|
Ah. Vs references didn't see that. Was looking at their reference count. |
inside: GetPageAndFeatureTemplates
var itemTemplates = GenerationFixture.Templates.Where(t => t.GetFrameworkList().Contains(framework) && t.GetTemplateType() == TemplateType.Page || t.GetTemplateType() == TemplateType.Feature && !t.GetIsHidden());
is this (framework and page) or (feature and hidden)
Assigned to @sibille as blame shows it is her function and want clarity before anything is done.
The text was updated successfully, but these errors were encountered: