public object GetDynamicProperty(string name, object defaultValue = null)
 {
     return((DynamicProperties.ContainsKey(name) ? DynamicProperties[name] : null)
            ?? defaultValue);
 }