C# Class RockWeb.Blocks.Examples.Extensions

Afficher le fichier Open project: NewPointe/Rockit

Méthodes publiques

Méthode Description
InheritsOrImplements ( this child, Type parent ) : bool
ValueSafe ( this element, string defaultValue = "" ) : string

Private Methods

Méthode Description
HasAnyInterfaces ( Type parent, Type child ) : bool
ResolveGenericTypeDefinition ( Type parent ) : Type

Method Details

InheritsOrImplements() public static méthode

public static InheritsOrImplements ( this child, Type parent ) : bool
child this
parent System.Type
Résultat bool

ValueSafe() public static méthode

public static ValueSafe ( this element, string defaultValue = "" ) : string
element this
defaultValue string
Résultat string