C# Class ObjectPrinter.TypeInspectors.Funcs

Boiler plate functions that can be used to customize TypeInspectors
Afficher le fichier Open project: drewburlingame/ObjectPrinter Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
IsTheNamespaceYoureLookingFor ( string ns, Type type ) : bool
IsTheTypeYoureLookingFor ( Type typeToFind, Type type, bool inherit ) : bool

Method Details

ExcludeNamespaces() public static méthode

Excludes any namespace starting with one of the namespaces provided
public static ExcludeNamespaces ( ) : Func
Résultat Func

ExcludeTypes() public static méthode

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
Résultat Func

IncludeNamespaces() public static méthode

includes any namespace starting with one of the namespaces provided
public static IncludeNamespaces ( ) : Func
Résultat Func

IncludeTypes() public static méthode

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
Résultat Func