public CompileRef(string compileOutput, CompileRefType type, string fileName, int line) { _compileOutput = compileOutput; _fileName = fileName; _line = line; _type = type; }
public CompileRef(string compileOutput, CompileRefType type) { _compileOutput = compileOutput; _type = type; }
private int FindFirstItemByType(CompileRefType type) { int index = 0; foreach (var item in lstHistory.Items) { if (item.GetType() == typeof(CompileRef)) { if ((item as CompileRef).Type == type) return index; } index++; } return -1; }