Table of Contents

Class AssemblyExtensions

Namespace
HeroKit.Assemblies
Assembly
HeroKit.dll

Provides extension methods for Assembly values.

public static class AssemblyExtensions
Inheritance
AssemblyExtensions
Inherited Members

Methods

GetAttribute<T>(Assembly)

Gets the specified attribute from the calling assembly.

public static T? GetAttribute<T>(this Assembly callingAssembly) where T : Attribute

Parameters

callingAssembly Assembly

The calling assembly.

Returns

T

The attribute of type T if found, or null if not found.

Type Parameters

T

The type of attribute to retrieve.