Esempio n. 1
0
 public static ConstructorReflector GetReflector(this ConstructorInfo constructor)
 {
     if (constructor == null)
     {
         throw new ArgumentNullException(nameof(constructor));
     }
     return(ConstructorReflector.Create(constructor));
 }
Esempio n. 2
0
 public static ConstructorInfo GetConstructorInfo(this ConstructorReflector reflector) => reflector?.GetMemberInfo();