示例#1
0
文件: Program.cs 项目: thducng/CSharp
        static void Main(string[] args)
        {
            //Took from assignment - was to good to create one for myself :)
            Stregsystem              stregsystem = new Stregsystem();
            StregsystemCLI           cli         = new StregsystemCLI(stregsystem);
            StregsystemCommandParser parser      = new StregsystemCommandParser(stregsystem, cli);

            cli.Start(parser);
        }
 public StregsystemCommandParser(Stregsystem _stregsystem, StregsystemCLI _cli)
 {
     stregsystem = _stregsystem;
     cli         = _cli;
 }