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