TypeExtensions Class

Summary

Contains extension methods for Type.
Namespace
Cake.Core
Base Types
  • object
graph BT Type-->Base0["object"] Type["TypeExtensions"] class Type type-node

Syntax

public static class TypeExtensions

Methods

Name Value Summary
GetFullName(Type, bool) string
Gets the full name of a Type.
static
IsStatic(Type) bool
Determines whether the specified Type is static.
static
IsSubclassOfRawGeneric(Type, Type) bool
Gets whether or not a given Type is a subclass of an raw/open generic.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin