public void GetAllDefinitionCommentsFileBased()
        {
            var sourceController = new Fup.FupFile(@"E:\Projekte\fxl3\Entwicklung\Tests\prj\!M_TEMP\HEIZUNG");

            var texts = new Dictionary <int, string>();

            foreach (var fupFilePath in sourceController.FupFileInformation.FupFilesInProjectUstPath)
            {
                using (var fupFile = new Fup.FupFile(fupFilePath))
                {
                    var defs = fupFile.Definitions;
                    foreach (var def in defs)
                    {
                        var hash = def.Kommentar?.GetHashCode();
                        if (!hash.HasValue || texts.ContainsKey(hash.Value))
                        {
                            continue;
                        }
                        texts[hash.Value] = def.Kommentar;
                    }
                }
            }

            texts.Count.ShouldBe(636);
        }
        public void GetAllIos_Dotnet_WebApi()
        {
            var ios     = new List <Fup.FupIo>();
            var project = new Fup.FupFile(@"E:\Projekte\fxl3\Entwicklung\Tests\prj\402080");

            foreach (var path in project.FupFileInformation.UstPaths)
            {
                using (var controller = new Fup.FupFile(path))
                {
                    ios.AddRange(controller.IOs.Where(io => io.IoExists));
                }
            }

            ios.Count.ShouldBe(411);
        }