a1dc380d 5e97 2991 71aa dd646dfcd686 - akesseler/Plexdata.Utilities.Templates GitHub Wiki

ArgumentExtension.IsSystemType Method

Determines whether an argument is of a build-in system type.

Namespace: Plexdata.Utilities.Formatting.Extensions
Assembly: Plexdata.Utilities.Templates (in Plexdata.Utilities.Templates.dll) Version: 1.0.0

Syntax

C#

public static bool IsSystemType(
	this Object argument
)

Parameters

 

argument
Type: System.Object
The object to determine its type for.

Return Value

Type: Boolean
True is returned if the argument can be considered as a build-in system type. False is returned if either the argument is null or it is not a build-in system type.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

This Method determines whether an argument is of a build-in system type. This determination is done by checking if the type's namespaces starts with System or if the Scope Name of the type's property Module equals CommonLanguageRuntimeLibrary.

See Also

Reference

ArgumentExtension Class
Plexdata.Utilities.Formatting.Extensions Namespace

⚠️ **GitHub.com Fallback** ⚠️