Features.Results.setBitExact C# (CSharp) Method

setBitExact() public method

public setBitExact ( BitExactRes bitExactRes ) : void
bitExactRes BitExactRes
return void
        public void setBitExact(BitExactRes bitExactRes)
        {
            _bitExactRes = new BitExactRes(bitExactRes.Matches);
        }

Usage Example

コード例 #1
0
 public void TestResultsStructure()
 {
     Results res = new Results();
     List<List<string>> lst = new List<List<string>>(10);
     for (int i = 0; i < 10; i++)
     {
         lst.Add(new List<string>(10));
         for (int j = 0; j < 10; j++)
         {
             lst.Last().Add("afdasdasd");
         }
     }
     BitExactRes bRes = new BitExactRes(lst);
     res.setBitExact(bRes);
     foreach (List<string> ll in res.BitExact.Matches)
     {
         foreach (string str in ll)
             Debug.WriteLine(str + " ");
     }
     List<List<string>> l = res.BitExact.Matches;
 }