// 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.Razor.Chunks;
namespace Microsoft.AspNet.Mvc.Razor
{
///
/// for an @model directive.
///
public class ModelChunk : Chunk
{
///
/// Initializes a new instance of .
///
/// The type of the view's model.
public ModelChunk(string modelType)
{
ModelType = modelType;
}
///
/// Gets the type of the view's model.
///
public string ModelType { get; }
}
}