Beispiel #1
0
        public void SymbolGenerated <TSubject>(
            INodePathService <TSubject> nodePathService1,
            TSubject subject,
            IDictionary <string, string> tags,
            object pluginMetadata = null)
        {
            var symbol = nodePathService1.GetSubTreeSnapshot(subject);

            this.metadataWriter.Write(new Generated(symbol, this.pipelineExecutionInfo.CurrentBatchIndex, this.pipelineExecutionInfo.CurrentStageName, this.pluginId, pluginMetadata, tags));
        }
Beispiel #2
0
        public void SymbolGenerated <TSubject, TFrom>(
            INodePathService <TSubject> nodePathService1,
            TSubject subject,
            INodePathService <TFrom> nodePathService2,
            TFrom from,
            IDictionary <string, string> tags,
            object pluginMetadata = null)
        {
            var snapshotFrom    = nodePathService2.GetSingleNodeSnapshot(from);
            var snapshotSubject = nodePathService1.GetSubTreeSnapshot(subject);

            this.metadataWriter.Write(new Generated(snapshotSubject, this.pipelineExecutionInfo.CurrentBatchIndex, this.pipelineExecutionInfo.CurrentStageName, this.pluginId, pluginMetadata, tags, snapshotFrom));
        }
Beispiel #3
0
        public void SymbolSourcingFrom <TNode>(
            INodePathService <TNode> nodePathService1,
            TNode from,
            INodePathService <TNode> nodePathService2,
            TNode subject,
            IDictionary <string, string> tags,
            object pluginMetadata = null)
        {
            var snapshotFrom    = nodePathService1.GetSingleNodeSnapshot(from);
            var snapshotSubject = nodePathService2.GetSubTreeSnapshot(subject);

            this.metadataWriter.Write(
                new SourcingFrom(
                    snapshotFrom,
                    snapshotSubject,
                    this.pipelineExecutionInfo.CurrentBatchIndex,
                    this.pipelineExecutionInfo.CurrentStageName,
                    this.pluginId,
                    pluginMetadata,
                    tags));
        }