Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SpssCasesCollectionEnumerator"/> class.
 /// </summary>
 /// <param name="cases">The cases.</param>
 internal SpssCasesCollectionEnumerator(SpssCasesCollection cases)
 {
     if (cases == null)
     {
         throw new ArgumentNullException("cases");
     }
     this.Cases = cases;
     this.Reset();
 }
Esempio n. 2
0
        /// <summary>
        /// Creates an instance of the <see cref="SpssCase"/> class.
        /// </summary>
        protected internal SpssCase(SpssCasesCollection cases, int position)
        {
            this.Cases    = cases;
            this.Position = position;

            // Clear out all variables explicitly to prevent SPSS from assuming
            // garbage characters in those data areas.
            if (cases.IsAppendOnly)
            {
                this.ClearData();
            }
        }
Esempio n. 3
0
        /// <summary>
        /// Creates an instance of the <see cref="SpssCase"/> class.
        /// </summary>
        protected internal SpssCase(SpssCasesCollection cases, int position)
        {
            this.Cases = cases;
            this.Position = position;

            // Clear out all variables explicitly to prevent SPSS from assuming
            // garbage characters in those data areas.
            if (cases.IsAppendOnly)
            {
                this.ClearData();
            }
        }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SpssCasesCollectionEnumerator"/> class.
 /// </summary>
 /// <param name="cases">The cases.</param>
 internal SpssCasesCollectionEnumerator(SpssCasesCollection cases)
 {
     if (cases == null)
     {
         throw new ArgumentNullException("cases");
     }
     this.Cases = cases;
     this.Reset();
 }