Exemple #1
0
        static void Main(string[] args)
        {
            //ParseData model = new ParseData();
            string source =
                @"free:nophoto,Noname1,nophoto,Noname2:<26,[10%],[15%],[12%],nophoto,nophoto,nophoto;<26,[10%],[15%],[12%],nophoto,nophoto,nophoto;<26,[10%],[15%],[12%],nophoto,nophoto,nophoto=limited:12345678:nophoto,Noname1,nophoto,Noname2:100";

            var list = ParseData.ParseLines(source.Split('='));
        }
Exemple #2
0
        public ViewModel()
        {
            string source =
                @"free:nophoto,Noname1,nophoto,Noname2:<26,[10%],[15%],[12%],nophoto,nophoto,nophoto;<26,[10%],[15%],[12%],nophoto,nophoto,nophoto;<26,[10%],[15%],[12%],nophoto,nophoto,nophoto=limited:12345678:nophoto,Noname1,nophoto,Noname2:100";

            var list = ParseData.ParseLines(source.Split('='));

            foreach (Match match in list)
            {
                Matches.Add(match);
            }
        }