protected void CreateSectionDefault(
string configKey, bool getRuntimeObject, FactoryRecord factoryRecord, SectionRecord sectionRecord,
out object result, out object resultRuntimeObject) {
result = null;
resultRuntimeObject = null;
SectionRecord sectionRecordForDefault;
if (sectionRecord != null) {
sectionRecordForDefault = sectionRecord;
}
else {
sectionRecordForDefault = new SectionRecord(configKey);
}
object tmpResult = CallCreateSection(true, factoryRecord, sectionRecordForDefault, null, null, null, -1);
object tmpResultRuntimeObject;
if (getRuntimeObject) {
tmpResultRuntimeObject = GetRuntimeObject(tmpResult);
}
else {
tmpResultRuntimeObject = null;
}
result = tmpResult;
resultRuntimeObject = tmpResultRuntimeObject;
}