Пример #1
0
 public static XmlGraphData <NodeUIData, ConversationEditorData> MakeDomainData(IEnumerable <GraphAndUI <NodeUIData> > nodeData, ConversationEditorData data)
 {
     return(new XmlGraphData <NodeUIData, ConversationEditorData>(nodeData, data));
 }
Пример #2
0
        public static XmlGraphData <NodeUIData, ConversationEditorData> MakeDomainData(IEnumerable <ConversationNode <INodeGui> > nodes, ConversationEditorData data)
        {
            var nodeData = nodes.Select(n => new GraphAndUI <NodeUIData>(n.Data, NodeUIData.Make(n.Renderer)));

            return(MakeDomainData(nodeData, data));
        }