Exemplo n.º 1
0
        public void DefineSection(string name, string itemName, Action <MetadataSection> action)
        {
            var section = new MetadataSection
            {
                Name     = name,
                ItemName = itemName,
            };

            action(section);
            _sections.Add(section);
        }
Exemplo n.º 2
0
        public void DefineSection(string name, string itemName, Action<MetadataSection> action)
        {
            var section = new MetadataSection
                {
                    Name = name,
                    ItemName = itemName,
                };

            action(section);
            _sections.Add(section);
        }