From 8d1097b3a394506b150cbc03112e671c90b9b932 Mon Sep 17 00:00:00 2001 From: Kristian Enge Date: Tue, 7 Jun 2016 16:58:05 +0200 Subject: [PATCH] restricted access modifier to ValidationRunner --- Difi.Felles.Utility/Validation/ValidationRunner.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Difi.Felles.Utility/Validation/ValidationRunner.cs b/Difi.Felles.Utility/Validation/ValidationRunner.cs index fe2d7ef..128e19c 100755 --- a/Difi.Felles.Utility/Validation/ValidationRunner.cs +++ b/Difi.Felles.Utility/Validation/ValidationRunner.cs @@ -6,7 +6,7 @@ namespace Difi.Felles.Utility.Validation { - public class ValidationRunner + internal class ValidationRunner { private const string ToleratedXsdIdErrorEnUs = "It is an error if there is a member of the attribute uses of a type definition with type xs:ID or derived from xs:ID and another attribute with type xs:ID matches an attribute wildcard."; private const string ToleratedXsdIdErrorNbNo = "Det er en feil hvis det finnes et medlem av attributtet som bruker en typedefinisjon med typen xs:ID eller avledet fra xs:ID og et annet attributt med typen xs:ID tilsvarer et attributtjokertegn."; @@ -17,14 +17,14 @@ public class ValidationRunner private readonly XmlSchemaSet _schemaSet; - public ValidationRunner(XmlSchemaSet schemaSet) + internal ValidationRunner(XmlSchemaSet schemaSet) { _schemaSet = schemaSet; } - public ValidationMessages ValidationMessages { get; } = new ValidationMessages(); + internal ValidationMessages ValidationMessages { get; } = new ValidationMessages(); - public bool Validate(string document) + internal bool Validate(string document) { var settings = new XmlReaderSettings(); settings.Schemas.Add(_schemaSet);