public void Setup(Data.Project project, Parser.Scanner scanner) { _project = project; _scanner = scanner; _analytics = Parser.Analytics.Analyze(_project); _include_data = new IncludeData(_analytics); }
public static string Convert(IncludeData data) { if (IncludeData.ConvertFunc.ContainsKey(data.SourceType)) { return(IncludeData.ConvertFunc[data.SourceType](data.SourceData)); } return(data.SourceData); }
public static void AddData(char type, string src) { IncludeData item = new IncludeData(); item.SourceType = type; item.SourceData = src; DataList.Add(item); }