Skip to content

AssemblyExtensions Class ​

Definition ​

Extensions for the Assembly object

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

Methods ​

NameDescription
string GetAttribute(Assembly assembly, Func<T, string> value)Get a specific attribute value using a selector function
string GetEmbeddedRootNamespace(Assembly assembly, char delimiter = null)Returns the root namespace based on the prefix of embedded files
IReadOnlyList<string> GetManifestResourceNames(Assembly assembly, string pathFilter, bool sort = null)Returns a list of embedded resource files applying the optional filter and optional alphabetical sort
string GetRootNamespace(Assembly assembly)Derives the root namespace from the most common namespace identified in the Assembly
string GetVersion(Assembly assembly)Return the Version attribute value from the Assembly