public object GetDefaultValue() { if (IsBasicValue) { return(_basicDefaultValueObject.GetValue()); } else { return(_complexDefaultValueObject); } }
public object GetValue() { switch (_strType.ToLower()) { case "list": return(_processParameterList.Count > 0 ? _processParameterList : null); case "dictionary": return(_processParameterDictionary.Count > 0 ? _processParameterDictionary : null); } if (_hasValue) { return(IsBasicValue ? _basicValueObject.GetValue() : _complexValueObject); } return(GetDefaultValue()); }