public static ChoManifoldReader LoadText(string inputText, ChoManifoldRecordConfiguration configuration = null) { var r = new ChoManifoldReader(inputText.ToStream(), configuration); r._closeStreamOnDispose = true; return(r); }
public static ChoManifoldReader LoadText(string inputText, Encoding encoding = null, ChoManifoldRecordConfiguration configuration = null, TraceSwitch traceSwitch = null) { var r = new ChoManifoldReader(inputText.ToStream(encoding), configuration) { TraceSwitch = traceSwitch == null ? ChoETLFramework.TraceSwitch : traceSwitch }; r._closeStreamOnDispose = true; return(r); }