Castle.MicroKernel.ModelBuilder.Inspectors.MethodMetaInspector.ConvertSignature C# (CSharp) Method

ConvertSignature() private method

private ConvertSignature ( string signature ) : System.Type[]
signature string
return System.Type[]
		private Type[] ConvertSignature(string signature)
		{
			var parameters = signature.Split(';');

			var types = new List<Type>();

			foreach (var param in parameters)
			{
				try
				{
					types.Add(converter.PerformConversion<Type>(param));
				}
				catch (Exception)
				{
					var message = String.Format("The signature {0} contains an entry type {1} " +
					                            "that could not be converted to System.Type. Check the inner exception for " +
					                            "details", signature, param);

					throw new Exception(message);
				}
			}

			return types.ToArray();
		}