Ejemplo n.º 1
0
            /// <summary>
            /// Gets a list of <see cref="ValidationFailureDescription"/>s describing all validation failures.
            /// </summary>
            /// <remarks>
            /// When an empty list is returned, it means there were no validation failures.
            /// </remarks>
            internal ReadOnlyCollection <ValidationFailureDescription> GetValidationFailures(SeriesData originalData, SeriesData anonymizedData)
            {
                _failures = new List <ValidationFailureDescription>();
                ReadOnlyCollection <ValidationFailureDescription> failures = _failures.AsReadOnly();

                //nothing to validate for now.

                _failures = null;
                return(failures);
            }