void Taker <GrammarBlock> .Take(GrammarBlock item) { GrammarBlockUtils.ForEach(item, "Unreadable", (gBlock) => { string result = fileName + " : "; GrammarBlockUtils.ForEachUnits((gBlock), (gUnit) => result += " " + gUnit.word); parent.parent.OnUnreadableFound.Invoke(result); }); parent.parent.bAnalyzer.bAnlys.AnalyzeBehavior(item, this); }
void Taker <GrammarBlock> .Take(GrammarBlock item) { GrammarBlockUtils.ForEach(item, "Unreadable", (gBlock) => { string result = ""; GrammarBlockUtils.ForEachUnits((gBlock), (gUnit) => result += " " + gUnit.word); parent.parent.OnUnreadableFound.Invoke(result); }); parent.parent.OnSucceedEvent.Invoke(new AnalysisResult { gBlock = item, name = fileName, sourceText = sourceText }); parent.parent.bAnalyzer.bAnlys.AnalyzeBehavior(item, this); }