예제 #1
0
        protected override void DoConfigure(IConfigSectionNode node)
        {
            base.DoConfigure(node);

            LogArchiveDimensionsMapper mapper = null;

            DisposeAndNull(ref m_ArchiveStore);

            var mapperNode = node[CONFIG_ARCHIVE_MAPPER_SECTION];

            mapper = FactoryUtils.Make <LogArchiveDimensionsMapper>(mapperNode, defaultType: typeof(LogArchiveDimensionsMapper), args: new object[] { this, mapperNode });

            var storeNode = node[CONFIG_ARCHIVE_STORE_SECTION];

            if (storeNode.Exists)
            {
                m_ArchiveStore = FactoryUtils.Make <LogArchiveStore>(storeNode, args: new object[] { this, mapper, storeNode });
            }
        }