コード例 #1
0
            public BatchChange(ObservableBatchCollection <T> source)
            {
                if (source.batch != null)
                {
                    throw new InvalidOperationException("Cannot start a batch before the current batch is finished.");
                }

                this.source  = source;
                source.batch = this;
            }
コード例 #2
0
 private ErrorCollection(ObservableBatchCollection <ValidationError> errors)
     : base(errors)
 {
     this.errors = errors;
 }