ClrPlus.Core.Extensions.AssemblyExtensions.Title C# (CSharp) Метод

Title() публичный статический Метод

Extracts the title of an assembly (TitleAttribute)
public static Title ( this assembly ) : string
assembly this The assembly.
Результат string
        public static string Title(this Assembly assembly)
        {
            try {
                return ((AssemblyTitleAttribute)Attribute.GetCustomAttribute(assembly, typeof (AssemblyTitleAttribute))).Title;
            } catch {
            }
            return string.Empty;
        }