Skip to content

TypeExtensions

NexusLabs.Needlr

NexusLabs.Needlr

TypeExtensions Class

Extension methods for System.Type to provide additional type inspection capabilities.

public static class TypeExtensions

Inheritance System.Object 🡒 TypeExtensions

Methods

TypeExtensions.IsStatic(this Type) Method

Determines whether the specified type is a static class.

public static bool IsStatic(this System.Type type);

Parameters

type System.Type

The type to check.

Returns

System.Boolean
True if the type is static (abstract and sealed); otherwise, false.