public static bool TryParse(string value, out RestfulConformanceMode result)
            {
                result = default(RestfulConformanceMode);

                if( value=="client")
                    result = RestfulConformanceMode.Client;
                else if( value=="server")
                    result = RestfulConformanceMode.Server;
                else
                    return false;

                return true;
            }
 public static string ToString(RestfulConformanceMode value)
 {
     if( value==RestfulConformanceMode.Client )
         return "client";
     else if( value==RestfulConformanceMode.Server )
         return "server";
     else
         throw new ArgumentException("Unrecognized RestfulConformanceMode value: " + value.ToString());
 }