Пример #1
0
 internal CustomNodeInfo GetNodeInfo(string name)
 {
     return(NodeInfos.FirstOrDefault(x => x.Value.Name == name).Value);
 }
Пример #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);
        }