Пример #1
0
        public static ChoNACHAReader LoadText(string inputText, ChoNACHAConfiguration configuration = null)
        {
            var r = new ChoNACHAReader(inputText.ToStream(), configuration);

            r._closeStreamOnDispose = true;

            return(r);
        }
Пример #2
0
        public static ChoNACHAReader LoadText(string inputText, Encoding encoding = null, ChoNACHAConfiguration configuration = null, TraceSwitch traceSwitch = null)
        {
            var r = new ChoNACHAReader(inputText.ToStream(encoding), configuration)
            {
                TraceSwitch = traceSwitch == null ? ChoETLFramework.TraceSwitch : traceSwitch
            };

            r._closeStreamOnDispose = true;

            return(r);
        }