Show / Hide Table of Contents

Class TypeExtensions

Inheritance
object
TypeExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: DotNetNuke.DependencyInjection.Extensions
Assembly: DotNetNuke.DependencyInjection.dll
Syntax
public static class TypeExtensions

Methods

BuildLoaderExceptionsMessage(IReadOnlyDictionary<Assembly, ReflectionTypeLoadException>)

Declaration
public static StringBuilder BuildLoaderExceptionsMessage(this IReadOnlyDictionary<Assembly, ReflectionTypeLoadException> loadExceptions)
Parameters
Type Name Description
IReadOnlyDictionary<Assembly, ReflectionTypeLoadException> loadExceptions
Returns
Type Description
StringBuilder

LogOtherExceptions(TypesResult, ILog)

Declaration
public static void LogOtherExceptions(this TypesResult result, ILog logger)
Parameters
Type Name Description
TypesResult result
ILog logger

SafeGetTypes()

Declaration
public static TypesResult SafeGetTypes()
Returns
Type Description
TypesResult

SafeGetTypes(IEnumerable<Assembly>)

Declaration
public static TypesResult SafeGetTypes(this IEnumerable<Assembly> assemblies)
Parameters
Type Name Description
IEnumerable<Assembly> assemblies
Returns
Type Description
TypesResult

SafeGetTypes(Assembly)

Declaration
[Obsolete("Deprecated in DotNetNuke 9.9.0. Please use the SafeGetTypes overload with the ILog parameter. Scheduled for removal in v11.0.0.")]
public static Type[] SafeGetTypes(this Assembly assembly)
Parameters
Type Name Description
Assembly assembly
Returns
Type Description
Type[]

SafeGetTypes(Assembly, ILog)

Declaration
public static Type[] SafeGetTypes(this Assembly assembly, ILog logger)
Parameters
Type Name Description
Assembly assembly
ILog logger
Returns
Type Description
Type[]
Back to top by the community, for the community... #DNNCMS