/* ----------------------------------------------------------------- */ /// /// GetCulture /// /// <summary> /// Gets the culture value of the specified assembly. /// </summary> /// /// <param name="src">Assembly object.</param> /// /// <returns>Culture value.</returns> /// /* ----------------------------------------------------------------- */ public static string GetCulture(this Source src) => Unify(src.Get <AssemblyCultureAttribute>()?.Culture);
/* ----------------------------------------------------------------- */ /// /// GetTrademark /// /// <summary> /// Gets the trademark description of the specified assembly. /// </summary> /// /// <param name="src">Assembly object.</param> /// /// <returns>Trademark description.</returns> /// /* ----------------------------------------------------------------- */ public static string GetTrademark(this Source src) => Unify(src.Get <AssemblyTrademarkAttribute>()?.Trademark);
/* ----------------------------------------------------------------- */ /// /// GetConfiguration /// /// <summary> /// Gets the configuration value of the specified assembly. /// </summary> /// /// <param name="src">Assembly object.</param> /// /// <returns>Configuration value.</returns> /// /* ----------------------------------------------------------------- */ public static string GetConfiguration(this Source src) => Unify(src.Get <AssemblyConfigurationAttribute>()?.Configuration);
/* ----------------------------------------------------------------- */ /// /// GetCopyright /// /// <summary> /// Gets the copyright description of the specified assembly. /// </summary> /// /// <param name="src">Assembly object.</param> /// /// <returns>Copyright description.</returns> /// /* ----------------------------------------------------------------- */ public static string GetCopyright(this Source src) => Unify(src.Get <AssemblyCopyrightAttribute>()?.Copyright);
/* ----------------------------------------------------------------- */ /// /// GetProduct /// /// <summary> /// Gets the product name of the specified assembly. /// </summary> /// /// <param name="src">Assembly object.</param> /// /// <returns>Product name.</returns> /// /* ----------------------------------------------------------------- */ public static string GetProduct(this Source src) => Unify(src.Get <AssemblyProductAttribute>()?.Product);
/* ----------------------------------------------------------------- */ /// /// GetCompany /// /// <summary> /// Gets the company name of the specified assembly. /// </summary> /// /// <param name="src">Assembly object.</param> /// /// <returns>Company name.</returns> /// /* ----------------------------------------------------------------- */ public static string GetCompany(this Source src) => Unify(src.Get <AssemblyCompanyAttribute>()?.Company);
/* ----------------------------------------------------------------- */ /// /// GetDescription /// /// <summary> /// Gets the description of the specified assembly. /// </summary> /// /// <param name="src">Assembly object.</param> /// /// <returns>Description value.</returns> /// /* ----------------------------------------------------------------- */ public static string GetDescription(this Source src) => Unify(src.Get <AssemblyDescriptionAttribute>()?.Description);
/* ----------------------------------------------------------------- */ /// /// GetTitle /// /// <summary> /// Gets the title of the specified assembly. /// </summary> /// /// <param name="src">Assembly object.</param> /// /// <returns>Title value.</returns> /// /* ----------------------------------------------------------------- */ public static string GetTitle(this Source src) => Unify(src.Get <AssemblyTitleAttribute>()?.Title);