Beispiel #1
0
 private SpssWriter(SavFileWriter output, IList <Variable> variables, SpssOptions options = null)
 {
     _output   = output;
     Variables = variables.ToList();
     Options   = options ?? Options;
     WriteFileHeader();
 }
Beispiel #2
0
        //private readonly IList<Variable> _variables;

        /// <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, IList <Variable> variables, SpssOptions options = null)
            : this(new SavFileWriter(output), variables, options)
        {
        }