示例#1
0
 public void ConcatFormat(IStringRunner sr)
 {
     string format="{0} {1}";
     string s1 = "myword";
     string s2 = "myotherword";
     for(int i = 0;i<count;++i)
         sr.ConcatFormat(format,s1,s2);
 }
示例#2
0
        public void Concat(IStringRunner sr)
        {
            string s = "myword";

            for (int i = 0; i < count; ++i)
            {
                sr.Concat(s);
            }
        }
示例#3
0
        public void ConcatFormat(IStringRunner sr)
        {
            string format = "{0} {1}";
            string s1     = "myword";
            string s2     = "myotherword";

            for (int i = 0; i < count; ++i)
            {
                sr.ConcatFormat(format, s1, s2);
            }
        }
示例#4
0
 public void SetUp(int index, IStringRunner dic)
 {
     this.count = CollectionCount(index);
 }
示例#5
0
 public void Concat(IStringRunner sr)
 {
     string s = "myword";
     for(int i = 0;i<count;++i)
         sr.Concat(s);
 }
示例#6
0
 public void SetUp(int index, IStringRunner dic)
 {
     this.count = CollectionCount(index);
 }