private void DoParser(IActor anActor) { List <String> aList = new List <String>(); aList.Add(ActorTask.Stat()); var lParser = new ParserActor(); lParser.SendMessage(aList.AsEnumerable <String>(), anActor); }
private void DoParser() { List <String> aList = new List <String>(); aList.Add(ActorTask.Stat()); var lParser = new ParserActor(); new EchoActor <IEnumerable <string> >(lParser, aList); lParser.SendMessage(aList.AsEnumerable <String>()); }