public void OnClassName(string value) { if (!String.IsNullOrEmpty(_className)) { throw new Exception("You can only have one class per url file."); } _namespace = value; }