// 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
{
public class ModelChunk : Chunk
{
///
/// Represents the chunk for an @model statement.
///
/// The base type of the view.
/// The type of the view's Model.
public ModelChunk(string baseType, string modelType)
{
BaseType = baseType;
ModelType = modelType;
}
public string BaseType { get; private set; }
public string ModelType { get; private set; }
}
}