public object GetContextualProperty(object key) { if (extendedProperties == null) { return null; } return extendedProperties[key]; }