コード例 #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();
 }
コード例 #2
0
ファイル: SpssCase.cs プロジェクト: pgaske/SPSS.NET
        /// <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();
            }
        }
コード例 #3
0
ファイル: SpssCase.cs プロジェクト: WMichta/SPSS.NET
        /// <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();
            }
        }
コード例 #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();
 }