NHibernate.InvalidProxyTypeException.FormatMessage C# (CSharp) Method

FormatMessage() private static method

private static FormatMessage ( IEnumerable errors ) : string
errors IEnumerable
return string
		private static string FormatMessage(IEnumerable<string> errors)
		{
			var result = new StringBuilder("The following types may not be used as proxies:");
			foreach (string error in errors)
			{
				result.Append('\n').Append(error);
			}
			return result.ToString();
		}