Пример #1
0
 public int Load()
 {
     //We pretty much ignore the passed in vaidator since we require an RNA sequence.
     _sequence = new SimpleRNASequence();
     _basePairs.Clear();
     return(LoadBasePairs());
 }
Пример #2
0
        /// <summary>
        /// This method is used to prepare the loader to access the
        /// Entities collection.
        /// </summary>
        /// <returns>Count of loaded records</returns>
        public int Load()
        {
            //We pretty much ignore the passed in vaidator since we require an RNA sequence.
            _sequence = new SimpleRNASequence();
            _entities.Clear();
            _bioDefs.Clear();

            Parse();
            Compile();

            return(_entities.Count);
        }