// Copyright (c) Microsoft Open Technologies, Inc. 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.Generator.Compiler; namespace Microsoft.AspNet.Mvc.Razor { public class InjectChunk : Chunk { /// /// Represents the chunk for an @inject statement. /// /// The type name of the property to be injected /// The member name of the property to be injected. public InjectChunk(string typeName, string propertyName) { TypeName = typeName; MemberName = propertyName; } /// /// Gets or sets the type name of the property to be injected. /// public string TypeName { get; set; } /// /// Gets or sets the name of the property to be injected. /// public string MemberName { get; set; } } }