public WktReader(TextReader reader, WktOptions options = null) { if (null == reader) { throw new ArgumentNullException("reader"); } Contract.EndContractBlock(); _reader = reader; Options = options ?? new WktOptions(); }
internal WktWriter(TextWriter writer, WktOptions options, int initialIndent) { if (null == writer) { throw new ArgumentNullException("writer"); } Contract.EndContractBlock(); _writer = writer; _indent = initialIndent; Options = options ?? new WktOptions(); }
public WktWriter(TextWriter writer, WktOptions options = null) : this(writer, options, 0) { Contract.Requires(writer != null); }
public WktSerializer(WktOptions options) { Options = options ?? new WktOptions(); }