Ejemplo n.º 1
0
 internal CustomNodeInfo GetNodeInfo(string name)
 {
     return(NodeInfos.FirstOrDefault(x => x.Value.Name == name).Value);
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Get a function id from a guid assuming that the file is already loaded.
        /// </summary>
        /// <param name="path"></param>
        /// <returns></returns>
        public Guid GuidFromPath(string path)
        {
            var pair = NodeInfos.FirstOrDefault(x => x.Value.Path == path);

            return(pair.Key);
        }