C# Класс ObjectPrinter.TypeInspectors.Funcs

Boiler plate functions that can be used to customize TypeInspectors
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ExcludeNamespaces ( ) : Func

Excludes any namespace starting with one of the namespaces provided

ExcludeTypes ( bool inherit ) : Func

Check if the provided object is not an instance of any of the provided types

IncludeNamespaces ( ) : Func

includes any namespace starting with one of the namespaces provided

IncludeTypes ( bool inherit ) : Func

Check if the provided object is an instance of any of the provided types

Приватные методы

Метод Описание
IsTheNamespaceYoureLookingFor ( string ns, Type type ) : bool
IsTheTypeYoureLookingFor ( Type typeToFind, Type type, bool inherit ) : bool

Описание методов

ExcludeNamespaces() публичный статический Метод

Excludes any namespace starting with one of the namespaces provided
public static ExcludeNamespaces ( ) : Func
Результат Func

ExcludeTypes() публичный статический Метод

Check if the provided object is not an instance of any of the provided types
public static ExcludeTypes ( bool inherit ) : Func
inherit bool when true, returns false if the given object inherits from any of the provided types
Результат Func

IncludeNamespaces() публичный статический Метод

includes any namespace starting with one of the namespaces provided
public static IncludeNamespaces ( ) : Func
Результат Func

IncludeTypes() публичный статический Метод

Check if the provided object is an instance of any of the provided types
public static IncludeTypes ( bool inherit ) : Func
inherit bool when true, returns true if the given object inherits from any of the provided types
Результат Func