예제 #1
0
        public void Parse(OsFile file)
        {
            _file  = file;
            _lines = file.Lines;

            do
            {
                if (CacheContainsMapRecord())
                {
                    CreateMapEntityAndResetCache();
                }
                else if (CacheIsTooBig())
                {
                    ResetCache();
                }
                else
                {
                    ReadNextLine();
                }
            } while (!EndOfFile());
        }
예제 #2
0
 public DiscoveryStrategy(OsFile file) : base(file)
 {
 }
예제 #3
0
 public ExplorerActiveStrategy(OsFile file) : base(file)
 {
 }
예제 #4
0
 public ExplorerStrategy(OsFile file) : base(file)
 {
 }
예제 #5
0
 public LandrangerActiveStrategy(OsFile file) : base(file)
 {
 }
예제 #6
0
 protected Strategy(OsFile file)
 {
     File = file;
 }