// namespace Microsoft.AspNet.Razor.Runtime.Precompilation { using System.Globalization; using System.Reflection; using System.Resources; internal static class Resources { private static readonly ResourceManager _resourceManager = new ResourceManager("Microsoft.AspNet.Razor.Runtime.Precompilation.Resources", typeof(Resources).GetTypeInfo().Assembly); /// /// Unable to find a suitable constructor for type '{0}'. /// internal static string CodeAnalysisConstructorNotFound { get { return GetString("CodeAnalysisConstructorNotFound"); } } /// /// Unable to find a suitable constructor for type '{0}'. /// internal static string FormatCodeAnalysisConstructorNotFound(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("CodeAnalysisConstructorNotFound"), p0); } /// /// Unable to find property {0} on type {1}. /// internal static string CodeAnalysis_PropertyNotFound { get { return GetString("CodeAnalysis_PropertyNotFound"); } } /// /// Unable to find property {0} on type {1}. /// internal static string FormatCodeAnalysis_PropertyNotFound(object p0, object p1) { return string.Format(CultureInfo.CurrentCulture, GetString("CodeAnalysis_PropertyNotFound"), p0, p1); } /// /// The type constant kind '{0}' is not supported. /// internal static string CodeAnalysis_TypeConstantKindNotSupported { get { return GetString("CodeAnalysis_TypeConstantKindNotSupported"); } } /// /// The type constant kind '{0}' is not supported. /// internal static string FormatCodeAnalysis_TypeConstantKindNotSupported(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("CodeAnalysis_TypeConstantKindNotSupported"), p0); } /// /// Unable to load assembly reference '{0}'. /// internal static string CodeAnalysis_UnableToLoadAssemblyReference { get { return GetString("CodeAnalysis_UnableToLoadAssemblyReference"); } } /// /// Unable to load assembly reference '{0}'. /// internal static string FormatCodeAnalysis_UnableToLoadAssemblyReference(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("CodeAnalysis_UnableToLoadAssemblyReference"), p0); } private static string GetString(string name, params string[] formatterNames) { var value = _resourceManager.GetString(name); System.Diagnostics.Debug.Assert(value != null); if (formatterNames != null) { for (var i = 0; i < formatterNames.Length; i++) { value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}"); } } return value; } } }