Exemplo n.º 1
0
 /// <summary>
 /// Gets all fields of this type that match the given binding flags.
 /// </summary>
 public FieldInfo[] GetFields(BindingFlags flags)
 {
     return(GenericsReflection.GetFields(this, flags));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets all public fields of this type.
 /// </summary>
 public FieldInfo[] GetFields()
 {
     return(GenericsReflection.GetFields(this, BindFlags.PublicMembers));
 }