Axiom.Core.PluginManager.GetAssemblyTitle C# (CSharp) 메소드

GetAssemblyTitle() 공개 정적인 메소드

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