public ChoManifoldWriter(ChoManifoldRecordConfiguration configuration = null)
 {
     Configuration = configuration;
     Init();
 }
 public ChoManifoldRecordReader(ChoManifoldRecordConfiguration configuration) : base(typeof(object))
 {
     ChoGuard.ArgumentNotNull(configuration, "Configuration");
     Configuration = configuration;
     //Configuration.Validate();
 }
 public ChoManifoldWriter(StringBuilder sb, ChoManifoldRecordConfiguration configuration = null) : this(new StringWriter(sb), configuration)
 {
 }
Exemple #4
0
 public ChoManifoldReader(StringBuilder sb, ChoManifoldRecordConfiguration configuration = null) : this(new StringReader(sb.ToString()), configuration)
 {
 }
Exemple #5
0
        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);
        }
 public ChoManifoldRecordWriter(ChoManifoldRecordConfiguration configuration) : base(typeof(object))
 {
     ChoGuard.ArgumentNotNull(configuration, "Configuration");
     Configuration = configuration;
 }
        public static ChoManifoldReader LoadText(string inputText, Encoding encoding = null, ChoManifoldRecordConfiguration configuration = null)
        {
            var r = new ChoManifoldReader(inputText.ToStream(encoding), configuration);

            r._closeStreamOnDispose = true;

            return(r);
        }
Exemple #8
0
 public static ChoManifoldReader LoadText(string inputText, ChoManifoldRecordConfiguration config, TraceSwitch traceSwitch = null)
 {
     return(LoadText(inputText, null, config, traceSwitch));
 }