コード例 #1
0
 public BasicCompoundElementRepository()
 {
     this.flatElementRepository   = new FlatElementRepository();
     this.elementByIdRepository   = new ElementByIdRepository();
     this.elementByTypeRepository = new ElementByTypeRepository();
     this.kdTreeElementRepository = new KdTreeElementRepository();
 }
コード例 #2
0
 public CompoundElementRepository()
 {
     this.flatElementRepository     = new FlatElementRepository();
     this.elementByIdRepository     = new ElementByIdRepository();
     this.elementByTypeRepository   = new ElementByTypeRepository();
     this.kdTreeElementRepositories = new Dictionary <ElementType, KdTreeElementRepository>();
 }