// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Mvc
{
///
/// An that when executed performs content negotiation, formats the entity body, and
/// will produce a response if negotiation and formatting succeed.
///
public class HttpOkObjectResult : ObjectResult
{
///
/// Initializes a new instance of the class.
///
/// The content to format into the entity body.
public HttpOkObjectResult(object value)
: base(value)
{
StatusCode = StatusCodes.Status200OK;
}
}
}