Exemple #1
0
 /// <summary>
 /// Creates custom instance of EDRReader coresponding to passed <paramref name="state"/> struct and bindes <paramref name="set"/> to created instance
 /// </summary>
 /// <param name="State">ReaderState struct containing needed state</param>
 /// <param name="set"></param>
 /// <returns>New instance of an EDRReader</returns>
 public static EDRReader GetEDRReader(ReaderState state, LocalDataSet set)
 {
     return(new EDRReader {
         State = state, Set = set
     });
 }
Exemple #2
0
 /// <summary>
 /// Creates default instance of EDRReader coresponding to passed <paramref name="state"/> struct and bindes <paramref name="set"/> to created instance
 /// </summary>
 /// <param name="set">ReaderState struct containing needed state</param>
 /// <returns>New default instance of an EDRReader</returns>
 public static EDRReader GetEDRReader(LocalDataSet set)
 {
     return(GetEDRReader(ReaderState.Default, set));
 }
        public static SearchResult Search(string[] keys, LocalDataSet Set)
        {
            var data = (DataSet)Set;

            return(Search(keys, data));
        }