System.Configuration.MgmtConfigurationRecord.CreateSectionGroupFactory C# (CSharp) 메소드

CreateSectionGroupFactory() 개인적인 메소드

private CreateSectionGroupFactory ( FactoryRecord factoryRecord ) : ConstructorInfo
factoryRecord FactoryRecord
리턴 System.Reflection.ConstructorInfo
        private ConstructorInfo CreateSectionGroupFactory(FactoryRecord factoryRecord) {
            Type type;

            if (String.IsNullOrEmpty(factoryRecord.FactoryTypeName)) {
                type = typeof(ConfigurationSectionGroup);
            }
            else {
                type = TypeUtil.GetTypeWithReflectionPermission(Host, factoryRecord.FactoryTypeName, true);
            }

            ConstructorInfo ctor = TypeUtil.GetConstructorWithReflectionPermission(type, typeof(ConfigurationSectionGroup), true);

            return ctor;
        }