Example #1
0
 private void CreateConstructor()
 {
     if (!_constructor.CanBeInstantiated().IsUnspecified())
     {
         return;
     }
     _constructor = ConstructorSupport.CreateConstructor(this, _type, _netReflector.Configuration(), GetDeclaredConstructors());
 }
Example #2
0
 public virtual bool EnsureCanBeInstantiated()
 {
     CreateConstructor();
     return(_constructor.CanBeInstantiated().DefiniteYes());
 }