예제 #1
0
        public bool ShouldBeVisible(ProjectItem item)
        {
            ThreadHelper.ThrowIfNotOnUIThread();

            var visible = false;

            if (ProjectItemInspection.IsPhysicalFile(item))
            {
                visible = LicenseHeaderReplacer.IsValidPathInput(item.FileNames[1]) && item.CanBeOpened();
            }

            return(visible);
        }