public override void ReInit(LogType logType, LogIniSection section) { base.ReInit(logType, section); StartCondition = ParentLogType.Conditions[section.Values[IniKeyStartCondition]]; EndCondition = ParentLogType.Conditions[section.Values[IniKeyEndCondition]]; ChildBlockTypes = (ParentLogType.BlockTypes.GetList(section.ArrayValues[IniKeyChildBlockTypes])); ChildStringTypes = (ParentLogType.StringTypes.GetList(section.ArrayValues[IniKeyChildStringTypes])); if ((ChildBlockTypes.Count == 0) && (ChildStringTypes.Count == 0)) throw new Common.Exceptions.LogTypeLoadException("Both ChildBLockTypes and ChildStringTypes are empty"); }
private void FInit(string valueType, bool includeConditions, ConditionType condition) { ValueType = valueType; IncludeConditions = includeConditions; Condition = condition; }