public Dictionary <string, Idea_Template> Interpert() { if (!ReferenceEquals(ideas_Loading, null)) { Dictionary <string, Idea_Template> ideasDic = new Dictionary <string, Idea_Template>(); foreach (KeyValuePair <string, string> line in ideas_Loading.textLists) { Idea_Template idea = null; string key = line.Key; string value = line.Value; idea = CreateTemplate(value); if (!ReferenceEquals(idea, null)) { ideasDic.Add(key, idea); } } if (!ReferenceEquals(ideasDic, null)) { return(ideasDic); } } return(null); }
public Idea(Idea_Template idea_Template) { definition = idea_Template; }