public ParseContext SetDefaultProperty(String binName, String propertyName, Value propertyValue) { if (!_defaultProperties.ContainsKey(binName)) _defaultProperties.Add(binName, new Dictionary<String, Value>()); var bin = _defaultProperties[binName]; if (propertyValue != null) { if (bin.ContainsKey(propertyName)) bin[propertyName] = propertyValue; else bin.Add(propertyName, propertyValue); } else if (bin.ContainsKey(propertyName)) bin.Remove(propertyName); return this; }