Пример #1
0
 internal TaxonomyNode(TaxonomyTree tree, TaxonEntity entity)
 {
     this.tree       = tree;
     this.entity     = entity;
     this.IsDetached = false;
     //tree.log.Debug("Node init:" + Name);
 }
Пример #2
0
        public MetricsService(
            MetricsRepository metricsRepo,
            MetricsEntryRepository metricsEntryRepo,
            RelationService relationService,
            TaxonomyTree taxonomyTree,
            ILog log)
        {
            this.metricsRepo      = metricsRepo;
            this.metricsEntryRepo = metricsEntryRepo;
            this.relationService  = relationService;
            this.log = log;

            relationNode = taxonomyTree.GetOrCreatePath(RELATIONS_PATH, "MetricsRepository relations");
        }