Mono.GetOptions.OptionList.GetAssemblyAttributeStrings C# (CSharp) Method

GetAssemblyAttributeStrings() private method

private GetAssemblyAttributeStrings ( Type type ) : string[]
type System.Type
return string[]
		private string[] GetAssemblyAttributeStrings(Type type)
		{
			object[] result = GetAssemblyAttributes(type);

			if ((result == null) || (result.Length == 0))
				return new string[0];

			int i = 0;
			string[] var = new string[result.Length];

			foreach(object o in result)
				var[i++] = o.ToString();

			return var;
		}