improved Cyclomatic complexity
improved Cyclomatic complexity

Broken down a method woth two helpers methods. The Cyclomatic complexity
was 25. Now below 15.

Safelly refactored with Resharper.

rajeshgande/NLog,ArsenShnurkov/NLog,bhaeussermann/NLog,vbfox/NLog,BrandonLegault/NLog,czema/NLog,michaeljbaird/NLog,MoaidHathot/NLog,fringebits/NLog,vladikk/NLog,fringebits/NLog,UgurAldanmaz/NLog,thomkinson/NLog,BrutalCode/NLog,ajayanandgit/NLog,nazim9214/NLog,MartinTherriault/NLog,fringebits/NLog,tohosnet/NLog,bhaeussermann/NLog,MoaidHathot/NLog,bjornbouetsmith/NLog,hubo0831/NLog,zbrad/NLog,vbfox/NLog,matteobruni/NLog,bjornbouetsmith/NLog,ArsenShnurkov/NLog,nazim9214/NLog,RichiCoder1/NLog,bryjamus/NLog,BrandonLegault/NLog,luigiberrettini/NLog,campbeb/NLog,littlesmilelove/NLog,AndreGleichner/NLog,Niklas-Peter/NLog,bryjamus/NLog,ie-zero/NLog,FeodorFitsner/NLog,babymechanic/NLog,vladikk/NLog,czema/NLog,czema/NLog,tmusico/NLog,MartinTherriault/NLog,vladikk/NLog,RRUZ/NLog,ilya-g/NLog,breyed/NLog,tetrodoxin/NLog,ilya-g/NLog,kevindaub/NLog,babymechanic/NLog,pwelter34/NLog,pwelter34/NLog,snakefoot/NLog,FeodorFitsner/NLog,fringebits/NLog,sean-gilliam/NLog,NLog/NLog,BrandonLegault/NLog,rajeshgande/NLog,BrandonLegault/NLog,breyed/NLog,ajayanandgit/NLog,kevindaub/NLog,luigiberrettini/NLog,ie-zero/NLog,Niklas-Peter/NLog,michaeljbaird/NLog,thomkinson/NLog,thomkinson/NLog,BrutalCode/NLog,hubo0831/NLog,littlesmilelove/NLog,campbeb/NLog,AndreGleichner/NLog,tohosnet/NLog,tmusico/NLog,vladikk/NLog,304NotModified/NLog,thomkinson/NLog,zbrad/NLog,tetrodoxin/NLog,RichiCoder1/NLog,matteobruni/NLog,czema/NLog,RRUZ/NLog,UgurAldanmaz/NLog