public override void Write(CustomFileWriter writer) { if (Only.Length > 0) { using (writer.WriteBlock("only:")) { Only.ForEach(x => writer.WriteLine($"- {x}")); } } if (Except.Length > 0) { using (writer.WriteBlock("except:")) { Except.ForEach(x => writer.WriteLine($"- {x}")); } } }
public void CallEvent(int i) { Only.Invoke(i); }