static void CheckEnabled () { if (!Enabled) throw new Exception ("This feature is not enabled. To enable it, add <profile enabled=\"true\"> to your configuration file."); }