コード例 #1
0
        protected override void InitializeConfigurationSection(IConfiguration configuration,
                                                               IConfigurationSection section)
        {
            if (!section.Name.ToLower().StartsWith(SectionName.ToLower()))
            {
                return;
            }

            var animationSection = new AnimationSection();

            this.ParseAnimationSectionData(section.Name, animationSection);
            this.ParseCollisions(section, animationSection);

            configuration.AddSection(animationSection);
        }