Пример #1
0
 private void ConfigureFields(IConfiguration config, CustomClass cc)
 {
     var fields = cc.CustomFields();
     while (fields.MoveNext())
     {
         var field = (CustomField) fields.Current;
         config.ObjectClass(cc).ObjectField(field.GetName()).Indexed(field.Indexed());
     }
 }
Пример #2
0
 private CustomClass DefineClass(CustomClass klass)
 {
     _classes.Put(klass.GetName(), klass);
     return(klass);
 }
Пример #3
0
 private CustomClass DefineClass(CustomClass klass)
 {
     _classes.Put(klass.GetName(), klass);
     return klass;
 }