Axiom.Core.PluginManager.GetAssemblyTitle C# (CSharp) Method

GetAssemblyTitle() public static method

public static GetAssemblyTitle ( Type type ) : string
type System.Type
return string
		public static string GetAssemblyTitle( Type type )
		{
			Assembly assembly = type.Assembly;
			AssemblyTitleAttribute title = (AssemblyTitleAttribute)Attribute.GetCustomAttribute(
											(Assembly)assembly, typeof( AssemblyTitleAttribute ) );
			if ( title == null )
				return assembly.GetName().Name;
			return title.Title;
		}