Axiom.Core.PluginManager.GetAssemblyTitle C# (CSharp) Méthode

GetAssemblyTitle() public static méthode

public static GetAssemblyTitle ( Type type ) : string
type System.Type
Résultat 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;
		}