AddressMatch.Demo.Demo.Match C# (CSharp) Method

Match() public method

public Match ( ) : void
return void
        public void Match()
        {
            //start
            AddrSet addrset = AddrSet.GetInstance();

            //Match
            MatchMachine m = new MatchMachine(addrset);

            // Custom the MatchRule
            //m.SetMatchRule(rule);

            MatchResult result = m.Match(new string[] { "B" });

            MatchHelper.PrintResult(result);

            //close
            //addrset.Dump();
        }