예제 #1
0
 private void CreateConstructor()
 {
     if (!_constructor.CanBeInstantiated().IsUnspecified())
     {
         return;
     }
     _constructor = ConstructorSupport.CreateConstructor(this, _type, _netReflector.Configuration(), GetDeclaredConstructors());
 }
예제 #2
0
파일: NetClass.cs 프로젝트: pondyond/db4o
 public virtual bool EnsureCanBeInstantiated()
 {
     CreateConstructor();
     return(_constructor.CanBeInstantiated().DefiniteYes());
 }