This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static void Main(string[] args) | |
| { | |
| var path = ConfigurationManager.AppSettings["InputPath"]; | |
| var outPath = ConfigurationManager.AppSettings["OutputPath"]; | |
| var files = Directory.GetFiles(path); | |
| var allRows = new List<AlertModel>(); | |
| foreach (var file in files) | |
| { | |
| using (var book = new XLWorkbook(file, XLEventTracking.Disabled)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void Main(string[] args) | |
| { | |
| new AutoRun().Execute(new[]{"--noheader","--noresult"}); | |
| } | |
| [TestFixture] | |
| public class TestFixture | |
| { | |
| int GetPageNumber(int limit, int offset) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void Main() | |
| { | |
| var hoge = GetName(); | |
| hoge.Dump(); | |
| } | |
| IEnumerable<string> GetName() | |
| { | |
| yield return "hoge"; | |
| yield return "huga"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace ConsoleApplication | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var hogeFuga = new HogeFuga(); | |
| var hoge = (IHoge) hogeFuga; | |
| var fuga = (IFuga) hogeFuga; | |
| Console.WriteLine(hoge.Do()); |