// Methods
 internal LimitEventArgs(string fileName, LimitEventOperation operation, int maxRowCount, int worksheetCount, bool writeWarningWorksheet)
 {
     this.fileName              = fileName;
     this.operation             = operation;
     this.maxRowCount           = maxRowCount;
     this.worksheetCount        = worksheetCount;
     this.writeWarningWorksheet = writeWarningWorksheet;
 }
Beispiel #2
0
        internal LimitEventArgs OnLimitReached(string fileName, LimitEventOperation operation, int maxRowCount, int worksheetCount, bool writeWarningWorksheet)
        {
            LimitEventArgs args1 = new LimitEventArgs(fileName, operation, maxRowCount, worksheetCount, writeWarningWorksheet);

            if (this.LimitReached != null)
            {
                this.LimitReached(this, args1);
            }
            return(args1);
        }