示例#1
0
 private SpssWriter(SavFileWriter output, ICollection <Variable> variables, SpssOptions options = null)
 {
     _output    = output;
     _variables = variables.ToList();
     _options   = options ?? _options;
     WriteFileHeader();
 }
示例#2
0
 /// <summary>
 /// Creates a spss writer
 /// </summary>
 /// <param name="output">The binary stream to write to</param>
 /// <param name="variables">The variable collection to use</param>
 /// <param name="options"></param>
 public SpssWriter(Stream output, ICollection <Variable> variables, SpssOptions options = null)
     : this(new SavFileWriter(output), variables, options)
 {
 }