C# Class Nuclex.Cloning.Helpers.ClonerHelpers

Contains helper methods for the cloners
Afficher le fichier Open project: junweilee/Nuclex.Cloning

Méthodes publiques

Méthode Description
GetFieldInfosIncludingBaseClasses ( Type type, BindingFlags bindingFlags ) : System.Reflection.FieldInfo[]

Returns all the fields of a type, working around a weird reflection issue where explicitly declared fields in base classes are returned, but not automatic property backing fields.

Method Details

GetFieldInfosIncludingBaseClasses() public static méthode

Returns all the fields of a type, working around a weird reflection issue where explicitly declared fields in base classes are returned, but not automatic property backing fields.
public static GetFieldInfosIncludingBaseClasses ( Type type, BindingFlags bindingFlags ) : System.Reflection.FieldInfo[]
type System.Type Type whose fields will be returned
bindingFlags BindingFlags Binding flags to use when querying the fields
Résultat System.Reflection.FieldInfo[]