diff --git a/Protocol.Features/Common/Attributes/MaxDataMinerVersionsAttribute.cs b/Protocol.Features/Common/Attributes/MaxDataMinerVersionsAttribute.cs index d87bd1ac..8f261630 100644 --- a/Protocol.Features/Common/Attributes/MaxDataMinerVersionsAttribute.cs +++ b/Protocol.Features/Common/Attributes/MaxDataMinerVersionsAttribute.cs @@ -13,7 +13,7 @@ /// /// [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)] - public sealed class MaxDataMinerVersionsAttribute : Attribute + internal sealed class MaxDataMinerVersionsAttribute : Attribute { public MaxDataMinerVersionsAttribute(string mainRelease, string featureRelease) { diff --git a/Protocol.Features/Common/Attributes/MinDataMinerVersionsAttribute.cs b/Protocol.Features/Common/Attributes/MinDataMinerVersionsAttribute.cs index ae5cbdb3..3725eec8 100644 --- a/Protocol.Features/Common/Attributes/MinDataMinerVersionsAttribute.cs +++ b/Protocol.Features/Common/Attributes/MinDataMinerVersionsAttribute.cs @@ -13,7 +13,7 @@ /// /// [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)] - public sealed class MinDataMinerVersionsAttribute : Attribute + internal sealed class MinDataMinerVersionsAttribute : Attribute { public MinDataMinerVersionsAttribute(string mainRelease, string featureRelease) { diff --git a/Protocol.Features/Common/Exceptions/DataMinerVersionCheckException.cs b/Protocol.Features/Common/Exceptions/DataMinerVersionCheckException.cs index f9b32857..acb956ed 100644 --- a/Protocol.Features/Common/Exceptions/DataMinerVersionCheckException.cs +++ b/Protocol.Features/Common/Exceptions/DataMinerVersionCheckException.cs @@ -3,15 +3,36 @@ using System; using System.Runtime.Serialization; + /// + /// Represents errors that occur during application execution. + /// + /// [Serializable] public class DataMinerVersionCheckException : Exception { + /// + /// Initializes a new instance of the class. + /// public DataMinerVersionCheckException() { } + /// + /// Initializes a new instance of the class. + /// + /// The message that describes the error. public DataMinerVersionCheckException(string message) : base(message) { } + /// + /// Initializes a new instance of the class. + /// + /// The message. + /// The inner. public DataMinerVersionCheckException(string message, Exception inner) : base(message, inner) { } + /// + /// Initializes a new instance of the class. + /// + /// The that holds the serialized object data about the exception being thrown. + /// The that contains contextual information about the source or destination. protected DataMinerVersionCheckException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } \ No newline at end of file diff --git a/Protocol.Features/Common/Feature.cs b/Protocol.Features/Common/Feature.cs index bd5962b7..48e31381 100644 --- a/Protocol.Features/Common/Feature.cs +++ b/Protocol.Features/Common/Feature.cs @@ -11,7 +11,7 @@ using Skyline.DataMiner.CICD.Common; // Inherits IFeature so it always will have the info if we add extra. - public class Feature : IFeature + internal class Feature : IFeature { private readonly IFeatureCheck featureCheck; private readonly MinDataMinerVersionsAttribute minDmaVersionAttribute; diff --git a/Protocol.Features/Common/FeatureCheckContext.cs b/Protocol.Features/Common/FeatureCheckContext.cs index 1b581dcb..ce793ada 100644 --- a/Protocol.Features/Common/FeatureCheckContext.cs +++ b/Protocol.Features/Common/FeatureCheckContext.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Interfaces; - public class FeatureCheckContext + internal class FeatureCheckContext { public FeatureCheckContext(IProtocolInputData input, IReadOnlyDictionary compiledQActions, bool isSolutionBased) { diff --git a/Protocol.Features/Common/FeatureCheckContextExtensions.cs b/Protocol.Features/Common/FeatureCheckContextExtensions.cs index 35267ebd..06e38ef8 100644 --- a/Protocol.Features/Common/FeatureCheckContextExtensions.cs +++ b/Protocol.Features/Common/FeatureCheckContextExtensions.cs @@ -6,7 +6,7 @@ using Skyline.DataMiner.CICD.Models.Protocol; using Skyline.DataMiner.CICD.Models.Protocol.Read; - public static class FeatureCheckContextExtensions + internal static class FeatureCheckContextExtensions { public static IEnumerable<(IQActionsQAction qaction, SyntaxTree syntaxTree, SemanticModel semanticModel)> EachQActionProjectsAndSyntaxTreesAndModels(this FeatureCheckContext context) { diff --git a/Protocol.Features/Common/Interfaces/IDmaCheckResults.cs b/Protocol.Features/Common/Interfaces/IDmaCheckResults.cs index 7a0d76e3..c7520c23 100644 --- a/Protocol.Features/Common/Interfaces/IDmaCheckResults.cs +++ b/Protocol.Features/Common/Interfaces/IDmaCheckResults.cs @@ -2,8 +2,14 @@ { using System.Collections.Generic; + /// + /// Holds the features that are used. + /// public interface IDmaVersionCheckResults { - IReadOnlyCollection Features { get; } + /// + /// Gets the features that are used. + /// + IReadOnlyCollection Features { get; } } } \ No newline at end of file diff --git a/Protocol.Features/Common/Interfaces/IDmaVersionCheckResult.cs b/Protocol.Features/Common/Interfaces/IDmaVersionCheckResult.cs deleted file mode 100644 index 885ec726..00000000 --- a/Protocol.Features/Common/Interfaces/IDmaVersionCheckResult.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace SLDisDmFeatureCheck.Common.Interfaces -{ - using Skyline.DataMiner.CICD.Common; - - public interface IDmaVersionCheckResult - { - DataMinerVersion MainRelease { get; } - - DataMinerVersion FeatureRelease { get; } - - IFeatureCheck Feature { get; } - } -} \ No newline at end of file diff --git a/Protocol.Features/Common/Interfaces/IFeature.cs b/Protocol.Features/Common/Interfaces/IFeature.cs index ef0b5663..f603279f 100644 --- a/Protocol.Features/Common/Interfaces/IFeature.cs +++ b/Protocol.Features/Common/Interfaces/IFeature.cs @@ -2,12 +2,24 @@ { using System.Collections.Generic; + /// + /// Represents a feature. + /// public interface IFeature { + /// + /// Gets the title. + /// string Title { get; } + /// + /// Gets the description. + /// string Description { get; } + /// + /// Gets the release notes. + /// IReadOnlyCollection ReleaseNotes { get; } } } \ No newline at end of file diff --git a/Protocol.Features/Common/Interfaces/IFeatureCheck.cs b/Protocol.Features/Common/Interfaces/IFeatureCheck.cs index 4642cb4d..a4b9f319 100644 --- a/Protocol.Features/Common/Interfaces/IFeatureCheck.cs +++ b/Protocol.Features/Common/Interfaces/IFeatureCheck.cs @@ -1,6 +1,6 @@ namespace SLDisDmFeatureCheck.Common.Interfaces { - public interface IFeatureCheck : IFeature + internal interface IFeatureCheck : IFeature { IFeatureCheckResult CheckIfUsed(FeatureCheckContext context); } diff --git a/Protocol.Features/Common/Interfaces/IFeatureCheckResult.cs b/Protocol.Features/Common/Interfaces/IFeatureCheckResult.cs index 96849a42..3be57da2 100644 --- a/Protocol.Features/Common/Interfaces/IFeatureCheckResult.cs +++ b/Protocol.Features/Common/Interfaces/IFeatureCheckResult.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using Results; - public interface IFeatureCheckResult + internal interface IFeatureCheckResult { bool IsUsed { get; } diff --git a/Protocol.Features/Common/Results/CSharpFeatureCheckResultItem.cs b/Protocol.Features/Common/Results/CSharpFeatureCheckResultItem.cs index 2088dd43..85c93012 100644 --- a/Protocol.Features/Common/Results/CSharpFeatureCheckResultItem.cs +++ b/Protocol.Features/Common/Results/CSharpFeatureCheckResultItem.cs @@ -7,7 +7,7 @@ using Skyline.DataMiner.CICD.CSharpAnalysis.Interfaces; using Skyline.DataMiner.CICD.Models.Protocol.Read; - public class CSharpFeatureCheckResultItem : FeatureCheckResultItem + internal class CSharpFeatureCheckResultItem : FeatureCheckResultItem { public ICSharpObject CSharp { get; } diff --git a/Protocol.Features/Common/Results/DmaVersionCheckResults.cs b/Protocol.Features/Common/Results/DmaVersionCheckResults.cs index 30bb4fe3..3766df2b 100644 --- a/Protocol.Features/Common/Results/DmaVersionCheckResults.cs +++ b/Protocol.Features/Common/Results/DmaVersionCheckResults.cs @@ -3,13 +3,13 @@ using System.Collections.Generic; using SLDisDmFeatureCheck.Common.Interfaces; - public class DmaVersionCheckResults : IDmaVersionCheckResults + internal class DmaVersionCheckResults : IDmaVersionCheckResults { internal DmaVersionCheckResults() { Features = new List(); } - public IReadOnlyCollection Features { get; internal set; } + public IReadOnlyCollection Features { get; internal set; } } } \ No newline at end of file diff --git a/Protocol.Features/Common/Results/FeatureCheckResult.cs b/Protocol.Features/Common/Results/FeatureCheckResult.cs index 9a7b2029..ed8d3baa 100644 --- a/Protocol.Features/Common/Results/FeatureCheckResult.cs +++ b/Protocol.Features/Common/Results/FeatureCheckResult.cs @@ -8,7 +8,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; - public class FeatureCheckResult : IFeatureCheckResult + internal class FeatureCheckResult : IFeatureCheckResult { internal FeatureCheckResult() { diff --git a/Protocol.Features/Common/Results/FeatureCheckResultItem.cs b/Protocol.Features/Common/Results/FeatureCheckResultItem.cs index 54275977..723fac93 100644 --- a/Protocol.Features/Common/Results/FeatureCheckResultItem.cs +++ b/Protocol.Features/Common/Results/FeatureCheckResultItem.cs @@ -4,7 +4,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; - public class FeatureCheckResultItem + internal class FeatureCheckResultItem { public IReadable Node { get; } diff --git a/Protocol.Features/Features/10.0/Dashboard.cs b/Protocol.Features/Features/10.0/Dashboard.cs index 645ab119..f54e7247 100644 --- a/Protocol.Features/Features/10.0/Dashboard.cs +++ b/Protocol.Features/Features/10.0/Dashboard.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; //[MinDataMinerVersions("10.0.0.0-9118", "9.6.11.0-8649")] - public class Dashboard : IFeatureCheck + internal class Dashboard : IFeatureCheck { public string Title => "Dashboard"; diff --git a/Protocol.Features/Features/10.0/DynamicParameterReplication.cs b/Protocol.Features/Features/10.0/DynamicParameterReplication.cs index a76fefa4..49480fe3 100644 --- a/Protocol.Features/Features/10.0/DynamicParameterReplication.cs +++ b/Protocol.Features/Features/10.0/DynamicParameterReplication.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; //[MinDataMinerVersions("10.0.0.0-9118", "9.6.1.0-7839")] - public class DynamicParameterReplication : IFeatureCheck + internal class DynamicParameterReplication : IFeatureCheck { public string Title => "Dynamic Parameter Replication"; diff --git a/Protocol.Features/Features/10.0/Exposer.cs b/Protocol.Features/Features/10.0/Exposer.cs index c07c5c1f..81ebb9b7 100644 --- a/Protocol.Features/Features/10.0/Exposer.cs +++ b/Protocol.Features/Features/10.0/Exposer.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; //[MinDataMinerVersions("10.0.0.0-9118", "9.6.5.0-8250")] - public class Exposer : IFeatureCheck + internal class Exposer : IFeatureCheck { public string Title => "Exposer"; diff --git a/Protocol.Features/Features/10.0/GetPkIdByTableId.cs b/Protocol.Features/Features/10.0/GetPkIdByTableId.cs index e22b4d8d..3bd108a9 100644 --- a/Protocol.Features/Features/10.0/GetPkIdByTableId.cs +++ b/Protocol.Features/Features/10.0/GetPkIdByTableId.cs @@ -15,7 +15,7 @@ using SLDisDmFeatureCheck.Common.Results; //[MinDataMinerVersions("10.0.0.0-9118", "9.6.13.0-8820")] - public class GetPkIdByTableId : IFeatureCheck + internal class GetPkIdByTableId : IFeatureCheck { public string Title => "Get PK ID by Table ID"; diff --git a/Protocol.Features/Features/10.0/GetTableIdByColumnId.cs b/Protocol.Features/Features/10.0/GetTableIdByColumnId.cs index b0500d17..a1dd22e0 100644 --- a/Protocol.Features/Features/10.0/GetTableIdByColumnId.cs +++ b/Protocol.Features/Features/10.0/GetTableIdByColumnId.cs @@ -15,7 +15,7 @@ using SLDisDmFeatureCheck.Common.Results; //[MinDataMinerVersions("10.0.0.0-9118", "9.6.13.0-8820")] - public class GetTableIdByColumnId : IFeatureCheck + internal class GetTableIdByColumnId : IFeatureCheck { public string Title => "Get Table ID by Column ID"; diff --git a/Protocol.Features/Features/10.0/HistorySets_FillArrayNoDelete_Bulk.cs b/Protocol.Features/Features/10.0/HistorySets_FillArrayNoDelete_Bulk.cs index 81d088af..5a1a8f6b 100644 --- a/Protocol.Features/Features/10.0/HistorySets_FillArrayNoDelete_Bulk.cs +++ b/Protocol.Features/Features/10.0/HistorySets_FillArrayNoDelete_Bulk.cs @@ -16,7 +16,7 @@ using SLDisDmFeatureCheck.Common.Results; //[MinDataMinerVersions("10.0.0.0-9118", "9.6.6.0-8270")] - public class HistorySets_FillArrayNoDelete_Bulk : IFeatureCheck + internal class HistorySets_FillArrayNoDelete_Bulk : IFeatureCheck { public string Title => "History Sets - FillArrayNoDelete - Bulk"; diff --git a/Protocol.Features/Features/10.0/HistorySets_FillArrayWithColumn_Bulk.cs b/Protocol.Features/Features/10.0/HistorySets_FillArrayWithColumn_Bulk.cs index 3e9b33d4..bfb3fe3d 100644 --- a/Protocol.Features/Features/10.0/HistorySets_FillArrayWithColumn_Bulk.cs +++ b/Protocol.Features/Features/10.0/HistorySets_FillArrayWithColumn_Bulk.cs @@ -17,7 +17,7 @@ using SLDisDmFeatureCheck.Common.Results; //[MinDataMinerVersions("10.0.0.0-9118", "9.6.6.0-8270")] - public class HistorySets_FillArrayWithColumn_Bulk : IFeatureCheck + internal class HistorySets_FillArrayWithColumn_Bulk : IFeatureCheck { public string Title => "History Sets - FillArrayWithColumn - Bulk"; diff --git a/Protocol.Features/Features/10.0/HistorySets_FillArray_Bulk.cs b/Protocol.Features/Features/10.0/HistorySets_FillArray_Bulk.cs index 699a9ef6..5eeabf8b 100644 --- a/Protocol.Features/Features/10.0/HistorySets_FillArray_Bulk.cs +++ b/Protocol.Features/Features/10.0/HistorySets_FillArray_Bulk.cs @@ -16,7 +16,7 @@ using SLDisDmFeatureCheck.Common.Results; //[MinDataMinerVersions("10.0.0.0-9118", "9.6.6.0-8270")] - public class HistorySets_FillArray_Bulk : IFeatureCheck + internal class HistorySets_FillArray_Bulk : IFeatureCheck { public string Title => "History Sets - FillArray - Bulk"; diff --git a/Protocol.Features/Features/10.0/HistorySets_FillArray_Single.cs b/Protocol.Features/Features/10.0/HistorySets_FillArray_Single.cs index c87d9184..00f5100a 100644 --- a/Protocol.Features/Features/10.0/HistorySets_FillArray_Single.cs +++ b/Protocol.Features/Features/10.0/HistorySets_FillArray_Single.cs @@ -16,7 +16,7 @@ using SLDisDmFeatureCheck.Common.Results; // [MinDataMinerVersions("10.0.0.0-9118", "9.6.13.0-8820")] - public class HistorySets_FillArray_Single/* : IFeatureCheck*/ + internal class HistorySets_FillArray_Single/* : IFeatureCheck*/ { public string Title => "History Sets - FillArray - Single"; diff --git a/Protocol.Features/Features/10.0/ProtocolTtlSyntax.cs b/Protocol.Features/Features/10.0/ProtocolTtlSyntax.cs index 6b3fe90b..d1fd460a 100644 --- a/Protocol.Features/Features/10.0/ProtocolTtlSyntax.cs +++ b/Protocol.Features/Features/10.0/ProtocolTtlSyntax.cs @@ -10,7 +10,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; //[MinDataMinerVersions("10.0.0.0-9118", "9.6.3.0-8092")] - public class ProtocolTtlSyntax : IFeatureCheck + internal class ProtocolTtlSyntax : IFeatureCheck { public string Title => "Protocol TTL Syntax"; diff --git a/Protocol.Features/Features/10.0/SkipInDiagram.cs b/Protocol.Features/Features/10.0/SkipInDiagram.cs index 36728e1c..3b17cecd 100644 --- a/Protocol.Features/Features/10.0/SkipInDiagram.cs +++ b/Protocol.Features/Features/10.0/SkipInDiagram.cs @@ -9,7 +9,7 @@ using SLDisDmFeatureCheck.Common.Attributes; //[MinDataMinerVersions("10.0.0.0-9118", "9.6.4.0-8151")] - public class SkipInDiagram : IFeatureCheck + internal class SkipInDiagram : IFeatureCheck { public string Title => "SkipInDiagram"; diff --git a/Protocol.Features/Features/10.0/Tooltip.cs b/Protocol.Features/Features/10.0/Tooltip.cs index 1d7a3ae8..cae5fcd2 100644 --- a/Protocol.Features/Features/10.0/Tooltip.cs +++ b/Protocol.Features/Features/10.0/Tooltip.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; //[MinDataMinerVersions("10.0.0.0-9118", "9.6.11.0-8649")] - public class Tooltip : IFeatureCheck + internal class Tooltip : IFeatureCheck { public string Title => "Tooltip"; diff --git a/Protocol.Features/Features/10.0/ValueMapping.cs b/Protocol.Features/Features/10.0/ValueMapping.cs index b0f2cc79..d397ccff 100644 --- a/Protocol.Features/Features/10.0/ValueMapping.cs +++ b/Protocol.Features/Features/10.0/ValueMapping.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; //[MinDataMinerVersions("10.0.0.0-9118", "10.0.2.0-8924")] - public class ValueMapping : IFeatureCheck + internal class ValueMapping : IFeatureCheck { public string Title => "ValueMapping"; diff --git a/Protocol.Features/Features/10.1/DeleteFolder_RecycleOption.cs b/Protocol.Features/Features/10.1/DeleteFolder_RecycleOption.cs index 53a9233a..d31d9509 100644 --- a/Protocol.Features/Features/10.1/DeleteFolder_RecycleOption.cs +++ b/Protocol.Features/Features/10.1/DeleteFolder_RecycleOption.cs @@ -15,7 +15,7 @@ using SLDisDmFeatureCheck.Common.Results; //[MinDataMinerVersions("10.1.0.0-9966", "10.0.3.0-8964")] - public class DeleteFolder_RecycleOption : IFeatureCheck + internal class DeleteFolder_RecycleOption : IFeatureCheck { public string Title => "Delete Folder - Recycle Option"; diff --git a/Protocol.Features/Features/10.1/DynamicUnits.cs b/Protocol.Features/Features/10.1/DynamicUnits.cs index 6dfa481b..de44a777 100644 --- a/Protocol.Features/Features/10.1/DynamicUnits.cs +++ b/Protocol.Features/Features/10.1/DynamicUnits.cs @@ -10,7 +10,7 @@ using SLDisDmFeatureCheck.Common.Results; //[MinDataMinerVersions("10.1.0.0-9966", "10.0.9.0-9385")] - public class DynamicUnits : IFeatureCheck + internal class DynamicUnits : IFeatureCheck { public string Title => "Dynamic Units"; diff --git a/Protocol.Features/Features/10.1/ExecuteScript.cs b/Protocol.Features/Features/10.1/ExecuteScript.cs index a2b62497..ce3c7b0e 100644 --- a/Protocol.Features/Features/10.1/ExecuteScript.cs +++ b/Protocol.Features/Features/10.1/ExecuteScript.cs @@ -15,7 +15,7 @@ using SLDisDmFeatureCheck.Common.Results; //[MinDataMinerVersions("10.1.0.0-9966", "10.0.5.0-9164")] - public class ExecuteScript : IFeatureCheck + internal class ExecuteScript : IFeatureCheck { public string Title => "ExecuteScript"; diff --git a/Protocol.Features/Features/10.1/InternalLicenses.cs b/Protocol.Features/Features/10.1/InternalLicenses.cs index 62095b35..c852dc5c 100644 --- a/Protocol.Features/Features/10.1/InternalLicenses.cs +++ b/Protocol.Features/Features/10.1/InternalLicenses.cs @@ -9,7 +9,7 @@ using SLDisDmFeatureCheck.Common.Results; //[MinDataMinerVersions("10.1.0.0-9966", "10.0.13.0-9784")] - public class InternalLicenses : IFeatureCheck + internal class InternalLicenses : IFeatureCheck { public string Title => "Internal Licenses"; diff --git a/Protocol.Features/Features/10.1/LoginMethod_Certificate.cs b/Protocol.Features/Features/10.1/LoginMethod_Certificate.cs index c11ac7e5..8b3703ae 100644 --- a/Protocol.Features/Features/10.1/LoginMethod_Certificate.cs +++ b/Protocol.Features/Features/10.1/LoginMethod_Certificate.cs @@ -11,7 +11,7 @@ using SLDisDmFeatureCheck.Common.Results; //[MinDataMinerVersions("10.1.0.0-9966", "10.0.5.0-9164")] - public class LoginMethod_Certificate : IFeatureCheck + internal class LoginMethod_Certificate : IFeatureCheck { public string Title => "Login Method - Certificate"; diff --git a/Protocol.Features/Features/10.1/MatrixLayout.cs b/Protocol.Features/Features/10.1/MatrixLayout.cs index e872a8d3..9ced1eb4 100644 --- a/Protocol.Features/Features/10.1/MatrixLayout.cs +++ b/Protocol.Features/Features/10.1/MatrixLayout.cs @@ -10,7 +10,7 @@ using SLDisDmFeatureCheck.Common.Results; //[MinDataMinerVersions("10.1.0.0-9966", "10.0.8.0-9300")] - public class MatrixLayout : IFeatureCheck + internal class MatrixLayout : IFeatureCheck { public string Title => "Matrix Layout"; diff --git a/Protocol.Features/Features/10.1/NuGet.cs b/Protocol.Features/Features/10.1/NuGet.cs index 39032d6a..28f9a9fe 100644 --- a/Protocol.Features/Features/10.1/NuGet.cs +++ b/Protocol.Features/Features/10.1/NuGet.cs @@ -12,7 +12,7 @@ using SLDisDmFeatureCheck.Common.Results; //[MinDataMinerVersions("10.1.0.0-9966", "10.0.10.0-9454")] - public class NuGetPackages : IFeatureCheck + internal class NuGetPackages : IFeatureCheck { public string Title => "NuGet packages"; diff --git a/Protocol.Features/Features/10.1/ProfileHelper.cs b/Protocol.Features/Features/10.1/ProfileHelper.cs index 52f88cc5..e5bdea5d 100644 --- a/Protocol.Features/Features/10.1/ProfileHelper.cs +++ b/Protocol.Features/Features/10.1/ProfileHelper.cs @@ -14,7 +14,7 @@ using SLDisDmFeatureCheck.Common.Results; //[MinDataMinerVersions("10.1.0.0-9966", "10.0.8.0-9300")] - public class ProfileHelper : IFeatureCheck + internal class ProfileHelper : IFeatureCheck { public string Title => "ProfileHelper"; diff --git a/Protocol.Features/Features/10.2/Chain_DefaultSelectionField.cs b/Protocol.Features/Features/10.2/Chain_DefaultSelectionField.cs index dd39084d..3d3330d6 100644 --- a/Protocol.Features/Features/10.2/Chain_DefaultSelectionField.cs +++ b/Protocol.Features/Features/10.2/Chain_DefaultSelectionField.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; [MinDataMinerVersions("10.2.0.0-11517", "10.1.3.0-9963")] - public class Chain_DefaultSelectionField : IFeatureCheck + internal class Chain_DefaultSelectionField : IFeatureCheck { public string Title => "Chain Default Selection Field"; diff --git a/Protocol.Features/Features/10.2/Chain_GroupingName.cs b/Protocol.Features/Features/10.2/Chain_GroupingName.cs index 2e0b90ec..a5a39954 100644 --- a/Protocol.Features/Features/10.2/Chain_GroupingName.cs +++ b/Protocol.Features/Features/10.2/Chain_GroupingName.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; [MinDataMinerVersions("10.2.0.0-11517", "10.1.3.0-9963")] - public class Chain_GroupingName : IFeatureCheck + internal class Chain_GroupingName : IFeatureCheck { public string Title => "Chain Grouping Name"; diff --git a/Protocol.Features/Features/10.2/FlushPerDatagram.cs b/Protocol.Features/Features/10.2/FlushPerDatagram.cs index 3ddf653e..87ac5175 100644 --- a/Protocol.Features/Features/10.2/FlushPerDatagram.cs +++ b/Protocol.Features/Features/10.2/FlushPerDatagram.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; [MinDataMinerVersions("10.2.0.0-11517", "10.1.4.0-10077")] - public class FlushPerDatagram : IFeatureCheck + internal class FlushPerDatagram : IFeatureCheck { public string Title => "Flush Per Datagram"; diff --git a/Protocol.Features/Features/10.3/QActionIDisposable.cs b/Protocol.Features/Features/10.3/QActionIDisposable.cs index 155a4304..bc9fd3eb 100644 --- a/Protocol.Features/Features/10.3/QActionIDisposable.cs +++ b/Protocol.Features/Features/10.3/QActionIDisposable.cs @@ -16,7 +16,7 @@ using SLDisDmFeatureCheck.Common.Results; [MinDataMinerVersions("10.3.0.0-12752", "10.2.9.0-12190")] - public class QActionIDisposable : IFeatureCheck + internal class QActionIDisposable : IFeatureCheck { public string Title => "IDisposable interface"; diff --git a/Protocol.Features/Features/10.4/ExportRule_whereAttribute.cs b/Protocol.Features/Features/10.4/ExportRule_whereAttribute.cs index 88bb711b..936b73e2 100644 --- a/Protocol.Features/Features/10.4/ExportRule_whereAttribute.cs +++ b/Protocol.Features/Features/10.4/ExportRule_whereAttribute.cs @@ -12,7 +12,7 @@ // TODO: Add build number when 10.4 is released [MinDataMinerVersions("10.4.0.0", "10.3.8.0-13183")] - public class ExportRule_whereAttribute : IFeatureCheck + internal class ExportRule_whereAttribute : IFeatureCheck { public string Title => "Export Rules - whereAttribute"; diff --git a/Protocol.Features/Features/8.0 (Main + Feature)/ParameterDateTime.cs b/Protocol.Features/Features/8.0 (Main + Feature)/ParameterDateTime.cs index fb6a42f3..8aba5803 100644 --- a/Protocol.Features/Features/8.0 (Main + Feature)/ParameterDateTime.cs +++ b/Protocol.Features/Features/8.0 (Main + Feature)/ParameterDateTime.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; //[MinDataMinerVersions("8.5-2859", "8.0.8.4-2556")] - public class ParameterDateTime : IFeatureCheck + internal class ParameterDateTime : IFeatureCheck { public string Title => "Parameter DateTime"; diff --git a/Protocol.Features/Features/8.5 (Main + Feature)/DefaultValue.cs b/Protocol.Features/Features/8.5 (Main + Feature)/DefaultValue.cs index 0fe0cacb..fdd79584 100644 --- a/Protocol.Features/Features/8.5 (Main + Feature)/DefaultValue.cs +++ b/Protocol.Features/Features/8.5 (Main + Feature)/DefaultValue.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; //[MinDataMinerVersions("9.0-7282", "8.5.3.7-3052")] - public class DefaultValue : IFeatureCheck + internal class DefaultValue : IFeatureCheck { public string Title => "Default Parameter Value"; diff --git a/Protocol.Features/Features/9.5/ConditionalShowHidePage.cs b/Protocol.Features/Features/9.5/ConditionalShowHidePage.cs index 41c7cd20..cf16fdc0 100644 --- a/Protocol.Features/Features/9.5/ConditionalShowHidePage.cs +++ b/Protocol.Features/Features/9.5/ConditionalShowHidePage.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; //[MinDataMinerVersions("9.5.0.0-8480", "9.0.3.5-4937")] - public class ConditionalShowHidePage : IFeatureCheck + internal class ConditionalShowHidePage : IFeatureCheck { public string Title => "Conditional Show/Hide Pages"; diff --git a/Protocol.Features/Features/9.5/InfiniteLoop.cs b/Protocol.Features/Features/9.5/InfiniteLoop.cs index 30eef336..2e9e6b5a 100644 --- a/Protocol.Features/Features/9.5/InfiniteLoop.cs +++ b/Protocol.Features/Features/9.5/InfiniteLoop.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; //[MinDataMinerVersions("9.5.0.0-8068", "9.6.3.0-8092")] - public class InfiniteLoop : IFeatureCheck + internal class InfiniteLoop : IFeatureCheck { public string Title => "Infinite loop detection"; diff --git a/Protocol.Features/Features/9.6/ParameterSaveInterval.cs b/Protocol.Features/Features/9.6/ParameterSaveInterval.cs index 9e5f8935..2763daf4 100644 --- a/Protocol.Features/Features/9.6/ParameterSaveInterval.cs +++ b/Protocol.Features/Features/9.6/ParameterSaveInterval.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; //[MinDataMinerVersions("9.6.0.0-8235", "9.5.7.0-6665")] - public class ParameterSaveInterval : IFeatureCheck + internal class ParameterSaveInterval : IFeatureCheck { public string Title => "Parameter save interval"; diff --git a/Protocol.Features/Features/Example.cs b/Protocol.Features/Features/Example.cs index 098b2d58..6a23ea78 100644 --- a/Protocol.Features/Features/Example.cs +++ b/Protocol.Features/Features/Example.cs @@ -10,7 +10,7 @@ // https://intranet.skyline.be/DataMiner/Lists/Released%20Versions/AllItems.aspx //[MinDataMinerVersions("9101.9102.9103.9104", "9001.9002.9003.9004")] - public class ItsOver9000 : IFeatureCheck + internal class ItsOver9000 : IFeatureCheck { public string Title => "It's over 9000!"; diff --git a/Protocol.Features/Features/Example_CSharp.cs b/Protocol.Features/Features/Example_CSharp.cs index d5474841..110da659 100644 --- a/Protocol.Features/Features/Example_CSharp.cs +++ b/Protocol.Features/Features/Example_CSharp.cs @@ -15,7 +15,7 @@ // https://intranet.skyline.be/DataMiner/Lists/Released%20Versions/AllItems.aspx //[MinDataMinerVersions("9101.9102.9103.9104", "9001.9002.9003.9004")] - public class ItsOver9000_CSharp : IFeatureCheck + internal class ItsOver9000_CSharp : IFeatureCheck { public string Title => "It's over 9000!"; diff --git a/Protocol.Features/Protocol.Features.csproj b/Protocol.Features/Protocol.Features.csproj index e203c9ac..b8a1e306 100644 --- a/Protocol.Features/Protocol.Features.csproj +++ b/Protocol.Features/Protocol.Features.csproj @@ -18,8 +18,6 @@ TODO git https://github.com/SkylineCommunications/Skyline.DataMiner.CICD.Validators - - true @@ -37,6 +35,7 @@ + diff --git a/Protocol.Features/VersionChecker.cs b/Protocol.Features/VersionChecker.cs index 0eac09bd..e1547242 100644 --- a/Protocol.Features/VersionChecker.cs +++ b/Protocol.Features/VersionChecker.cs @@ -7,32 +7,19 @@ using Microsoft.CodeAnalysis; - using Skyline.DataMiner.CICD.Common; using Skyline.DataMiner.CICD.Models.Protocol; using Skyline.DataMiner.CICD.Validators.Common.Interfaces; - + using SLDisDmFeatureCheck.Common; using SLDisDmFeatureCheck.Common.Attributes; using SLDisDmFeatureCheck.Common.Exceptions; using SLDisDmFeatureCheck.Common.Interfaces; using SLDisDmFeatureCheck.Common.Results; - public class VersionChecker + public static class VersionChecker { - private readonly DataMinerVersion minimumSupportedDataMinerVersion; - private static IEnumerable<(IFeatureCheck feature, MinDataMinerVersionsAttribute minVersion, MaxDataMinerVersionsAttribute maxVersion)> allFeatures; - - public VersionChecker(DataMinerVersion minimumSupportedDataMinerVersion) - { - this.minimumSupportedDataMinerVersion = minimumSupportedDataMinerVersion; - } - - public DataMinerVersion GetMinimumSupportedVersion() - { - return minimumSupportedDataMinerVersion; - } - + /// /// Gets the used features. /// @@ -47,7 +34,7 @@ public DataMinerVersion GetMinimumSupportedVersion() /// data /// /// Internal error, see internal exception for more details. - public IDmaVersionCheckResults GetUsedFeatures(IProtocolInputData input, IReadOnlyDictionary compiledQActions, bool isSolutionBased, CancellationToken cancellationToken) + public static IDmaVersionCheckResults GetUsedFeatures(IProtocolInputData input, IReadOnlyDictionary compiledQActions, bool isSolutionBased, CancellationToken cancellationToken) { if (input == null) { diff --git a/Protocol/Common/Attributes/TestAttribute.cs b/Protocol/Common/Attributes/TestAttribute.cs index 3746505e..fb5faab5 100644 --- a/Protocol/Common/Attributes/TestAttribute.cs +++ b/Protocol/Common/Attributes/TestAttribute.cs @@ -8,15 +8,34 @@ using SLDisValidator2.Common.Enums; using SLDisValidator2.Interfaces; + /// + /// Indicates that the class is a validator check. + /// + /// [AttributeUsage(AttributeTargets.Class)] public class TestAttribute : Attribute { + /// + /// Gets the check identifier. + /// public uint CheckId { get; } + /// + /// Gets the category. + /// public Category Category { get; } + /// + /// Gets the test order. + /// public TestOrder TestOrder { get; } + /// + /// Initializes a new instance of the class. + /// + /// The check identifier. + /// The category. + /// The test order. public TestAttribute(uint checkId, Category category, TestOrder testOrder = TestOrder.Mid) { Category = category; @@ -24,7 +43,13 @@ public TestAttribute(uint checkId, Category category, TestOrder testOrder = Test CheckId = checkId; } - public static TestAttribute GetAttribute(Type type) + /// + /// Gets the attribute. + /// + /// The type. + /// The attribute. + /// type + internal static TestAttribute GetAttribute(Type type) { if (type == null) { @@ -34,7 +59,13 @@ public static TestAttribute GetAttribute(Type type) return type.GetCustomAttribute(typeof(TestAttribute)) as TestAttribute; } - public static TestAttribute GetAttribute(IValidate test) + /// + /// Gets the attribute. + /// + /// The test. + /// The attribute. + /// test + internal static TestAttribute GetAttribute(IValidate test) { if (test == null) { diff --git a/Protocol/Common/CSharpValidationResult.cs b/Protocol/Common/CSharpValidationResult.cs index 66d2a061..d06e2d28 100644 --- a/Protocol/Common/CSharpValidationResult.cs +++ b/Protocol/Common/CSharpValidationResult.cs @@ -6,7 +6,7 @@ using Skyline.DataMiner.CICD.Validators.Common.Interfaces; - public class CSharpValidationResult : ValidationResult, ICSharpValidationResult + internal class CSharpValidationResult : ValidationResult, ICSharpValidationResult { [IgnoreDataMember] public Location CSharpLocation { get; set; } diff --git a/Protocol/Common/CodeFixContext.cs b/Protocol/Common/CodeFixContext.cs index 64c2dc07..07ac3b1e 100644 --- a/Protocol/Common/CodeFixContext.cs +++ b/Protocol/Common/CodeFixContext.cs @@ -4,7 +4,7 @@ using Skyline.DataMiner.CICD.Parsers.Common.XmlEdit; using Skyline.DataMiner.CICD.Validators.Common.Model; - public class CodeFixContext + internal class CodeFixContext { public XmlDocument Document { get; } public Protocol Protocol { get; } diff --git a/Protocol/Common/CrossData/CrossData.cs b/Protocol/Common/CrossData/CrossData.cs index 0c9eaa4d..4632cdd5 100644 --- a/Protocol/Common/CrossData/CrossData.cs +++ b/Protocol/Common/CrossData/CrossData.cs @@ -1,7 +1,13 @@ namespace SLDisValidator2.Common.CrossData { + /// + /// Data that is used across multiple checks. + /// public class CrossData { + /// + /// Gets the data for the check. + /// public RtDisplayData RtDisplay { get; } = new RtDisplayData(); } } \ No newline at end of file diff --git a/Protocol/Common/CrossData/RTDisplayData.cs b/Protocol/Common/CrossData/RTDisplayData.cs index bf20726c..94a96e08 100644 --- a/Protocol/Common/CrossData/RTDisplayData.cs +++ b/Protocol/Common/CrossData/RTDisplayData.cs @@ -6,6 +6,9 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read; using Skyline.DataMiner.CICD.Validators.Common.Interfaces; + /// + /// Holds the data needed for . + /// public class RtDisplayData { private readonly Dictionary results)> parameters = new Dictionary)>(); diff --git a/Protocol/Common/Enums/TestOrder.cs b/Protocol/Common/Enums/TestOrder.cs index 5815d7da..1ad550db 100644 --- a/Protocol/Common/Enums/TestOrder.cs +++ b/Protocol/Common/Enums/TestOrder.cs @@ -1,11 +1,23 @@ namespace SLDisValidator2.Common.Enums { + /// + /// Order of how the checks will be executed. + /// public enum TestOrder { + /// + /// Will run before the checks. + /// Pre1 = 100, + /// + /// Default value for running checks. + /// Mid = 200, - + + /// + /// Will run after checks. + /// Post1 = 300 } } \ No newline at end of file diff --git a/Protocol/Common/Extensions/MajorChangeCheckContextExtensions.cs b/Protocol/Common/Extensions/MajorChangeCheckContextExtensions.cs index 57462c71..0553d12c 100644 --- a/Protocol/Common/Extensions/MajorChangeCheckContextExtensions.cs +++ b/Protocol/Common/Extensions/MajorChangeCheckContextExtensions.cs @@ -4,7 +4,7 @@ using System.Linq; using Skyline.DataMiner.CICD.Models.Protocol.Read; - public static class MajorChangeCheckContextExtensions + internal static class MajorChangeCheckContextExtensions { /// /// Iterates all parameters from the old protocols and returns the old and matching new param, matching on the Id. diff --git a/Protocol/Common/Extensions/ValidationResultExtensions.cs b/Protocol/Common/Extensions/ValidationResultExtensions.cs index 349d2f0f..27252e25 100644 --- a/Protocol/Common/Extensions/ValidationResultExtensions.cs +++ b/Protocol/Common/Extensions/ValidationResultExtensions.cs @@ -11,7 +11,7 @@ using Skyline.DataMiner.CICD.Validators.Common.Interfaces; - public static class ValidationResultExtensions + internal static class ValidationResultExtensions { private static readonly MapperConfiguration _csharpValidationResultMapperConfig = new MapperConfiguration(cfg => diff --git a/Protocol/Common/Extensions/ValidationResultListExtensions.cs b/Protocol/Common/Extensions/ValidationResultListExtensions.cs index e64fc1b0..1000c2b2 100644 --- a/Protocol/Common/Extensions/ValidationResultListExtensions.cs +++ b/Protocol/Common/Extensions/ValidationResultListExtensions.cs @@ -5,7 +5,7 @@ using Skyline.DataMiner.CICD.Validators.Common.Interfaces; - public static class ValidationResultListExtensions + internal static class ValidationResultListExtensions { public static bool AddIfNotNull(this List results, IEnumerable newResults) { diff --git a/Protocol/Common/MajorChangeCheckContext.cs b/Protocol/Common/MajorChangeCheckContext.cs index 2e2c266c..3302e65f 100644 --- a/Protocol/Common/MajorChangeCheckContext.cs +++ b/Protocol/Common/MajorChangeCheckContext.cs @@ -5,7 +5,7 @@ using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public class MajorChangeCheckContext + internal class MajorChangeCheckContext { public IProtocolInputData NewInputData { get; } diff --git a/Protocol/Common/TestCollection.cs b/Protocol/Common/TestCollection.cs index cb09b6d1..7974d8b6 100644 --- a/Protocol/Common/TestCollection.cs +++ b/Protocol/Common/TestCollection.cs @@ -7,7 +7,7 @@ using SLDisValidator2.Common.Attributes; - public class TestCollection + internal class TestCollection { internal TestCollection(IReadOnlyList<(T, TestAttribute)> tests) { diff --git a/Protocol/Common/TestCollector.cs b/Protocol/Common/TestCollector.cs index da85fc98..5e2d3e12 100644 --- a/Protocol/Common/TestCollector.cs +++ b/Protocol/Common/TestCollector.cs @@ -7,7 +7,7 @@ using SLDisValidator2.Common.Attributes; using SLDisValidator2.Interfaces; - public static class TestCollector + internal static class TestCollector { private static readonly Lazy> _cacheValidateTestsCollection; private static readonly Lazy> _cacheCompareTestsCollection; diff --git a/Protocol/Common/ValidationResult.cs b/Protocol/Common/ValidationResult.cs index 16ca5216..25082003 100644 --- a/Protocol/Common/ValidationResult.cs +++ b/Protocol/Common/ValidationResult.cs @@ -13,7 +13,7 @@ [Serializable] [DataContract] - public class ValidationResult : IValidationResult, ISeverityBubbleUpResult + internal class ValidationResult : IValidationResult, ISeverityBubbleUpResult { public Dictionary ExtraData { get; set; } diff --git a/Protocol/Common/ValidatorContext.cs b/Protocol/Common/ValidatorContext.cs index 8ff9727c..e37d52fc 100644 --- a/Protocol/Common/ValidatorContext.cs +++ b/Protocol/Common/ValidatorContext.cs @@ -12,7 +12,7 @@ using Skyline.DataMiner.CICD.Validators.Common.Model; using Skyline.DataMiner.CICD.Validators.Protocol.Helpers; - public class ValidatorContext + internal class ValidatorContext { private readonly Lazy> compiledQActions; @@ -40,6 +40,6 @@ public ValidatorContext(IProtocolInputData input, ValidatorSettings validatorSet public CrossData.CrossData CrossData { get; } = new CrossData.CrossData(); - public HelperCollection Helpers { get; } + internal HelperCollection Helpers { get; } } } \ No newline at end of file diff --git a/Protocol/Error Messages/Protocol/Actions/Action/CheckActionTypes.cs b/Protocol/Error Messages/Protocol/Actions/Action/CheckActionTypes.cs index 99915550..ecbda348 100644 --- a/Protocol/Error Messages/Protocol/Actions/Action/CheckActionTypes.cs +++ b/Protocol/Error Messages/Protocol/Actions/Action/CheckActionTypes.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.CheckActionTypes using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult IncompatibleTypeVsOnTag(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string actionId) + internal static IValidationResult IncompatibleTypeVsOnTag(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string actionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult IncompatibleTypeVsOnTag(IValidate test, IReadabl }; } - public static IValidationResult MissingOnIdAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string actionId) + internal static IValidationResult MissingOnIdAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string actionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult MissingOnIdAttribute(IValidate test, IReadable r }; } - public static IValidationResult MissingTypeIdAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string actionId) + internal static IValidationResult MissingTypeIdAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string actionId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult MissingTypeIdAttribute(IValidate test, IReadable }; } - public static IValidationResult MissingOnNrAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string actionId) + internal static IValidationResult MissingOnNrAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string actionId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult MissingOnNrAttribute(IValidate test, IReadable r }; } - public static IValidationResult NonExistingParamRefInTypeIdAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string actionId) + internal static IValidationResult NonExistingParamRefInTypeIdAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string actionId) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult NonExistingParamRefInTypeIdAttribute(IValidate t }; } - public static IValidationResult MissingTypeIdOrTypeValueAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string actionId) + internal static IValidationResult MissingTypeIdOrTypeValueAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string actionId) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult MissingTypeIdOrTypeValueAttribute(IValidate test }; } - public static IValidationResult ExcessiveTypeIdOrTypeValueAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string actionId) + internal static IValidationResult ExcessiveTypeIdOrTypeValueAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string actionId) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult ExcessiveTypeIdOrTypeValueAttribute(IValidate te }; } - public static IValidationResult NonExistingRefToPairOnTimeoutSetNext(IValidate test, IReadable referenceNode, IReadable positionNode, string pairPosition, string groupId, string actionId, string triggerId) + internal static IValidationResult NonExistingRefToPairOnTimeoutSetNext(IValidate test, IReadable referenceNode, IReadable positionNode, string pairPosition, string groupId, string actionId, string triggerId) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult NonExistingRefToPairOnTimeoutSetNext(IValidate t }; } - public static IValidationResult NonExistingConnectionRefInTypeNrAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId, string actionId) + internal static IValidationResult NonExistingConnectionRefInTypeNrAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId, string actionId) { return new ValidationResult { @@ -236,7 +236,7 @@ public static IValidationResult NonExistingConnectionRefInTypeNrAttribute(IValid }; } - public static IValidationResult UnsupportedConnectionTypeDueTo(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string connectionId, string connectionType, string actionId, string optionalPrefix) + internal static IValidationResult UnsupportedConnectionTypeDueTo(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string connectionId, string connectionType, string actionId, string optionalPrefix) { return new ValidationResult { @@ -261,7 +261,7 @@ public static IValidationResult UnsupportedConnectionTypeDueTo(IValidate test, I }; } - public static IValidationResult UnsupportedGroupContentDueTo(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string groupId, string actionId) + internal static IValidationResult UnsupportedGroupContentDueTo(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string groupId, string actionId) { return new ValidationResult { @@ -286,7 +286,7 @@ public static IValidationResult UnsupportedGroupContentDueTo(IValidate test, IRe }; } - public static IValidationResult UnsupportedGroupParamType(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string groupId, string paramId, string paramType, string actionId) + internal static IValidationResult UnsupportedGroupParamType(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string groupId, string paramId, string paramType, string actionId) { return new ValidationResult { @@ -311,7 +311,7 @@ public static IValidationResult UnsupportedGroupParamType(IValidate test, IReada }; } - public static IValidationResult UnsupportedGroupParamWithoutSnmp(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string groupId, string paramId, string snmpEnabledValue, string actionId) + internal static IValidationResult UnsupportedGroupParamWithoutSnmp(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string groupId, string paramId, string snmpEnabledValue, string actionId) { return new ValidationResult { @@ -336,7 +336,7 @@ public static IValidationResult UnsupportedGroupParamWithoutSnmp(IValidate test, }; } - public static IValidationResult UnsupportedAttributeOnNr(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string actionId) + internal static IValidationResult UnsupportedAttributeOnNr(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionOn, string actionId) { return new ValidationResult { @@ -362,7 +362,7 @@ public static IValidationResult UnsupportedAttributeOnNr(IValidate test, IReadab } } - public static class ErrorIds + internal static class ErrorIds { public const uint IncompatibleTypeVsOnTag = 1; public const uint MissingOnIdAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Actions/Action/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/Actions/Action/CheckIdAttribute.cs index a704d03a..9448e1c3 100644 --- a/Protocol/Error Messages/Protocol/Actions/Action/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/Actions/Action/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.CheckIdAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId, string actionName) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId, string actionName) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId, string actionNames) + internal static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId, string actionNames) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult DuplicatedId(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Actions/Action/Condition/CheckConditionTag.cs b/Protocol/Error Messages/Protocol/Actions/Action/Condition/CheckConditionTag.cs index 28be7674..3aff5412 100644 --- a/Protocol/Error Messages/Protocol/Actions/Action/Condition/CheckConditionTag.cs +++ b/Protocol/Error Messages/Protocol/Actions/Action/Condition/CheckConditionTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.Condition.CheckCondition using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult InvalidCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string invalidityReason, string actionId) + internal static IValidationResult InvalidCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string invalidityReason, string actionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult InvalidCondition(IValidate test, IReadable refer }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string actionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string actionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ConditionCanBeSimplified(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string actionId) + internal static IValidationResult ConditionCanBeSimplified(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string actionId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult ConditionCanBeSimplified(IValidate test, IReadab } } - public static class ErrorIds + internal static class ErrorIds { public const uint InvalidCondition = 1; public const uint NonExistingId = 2; diff --git a/Protocol/Error Messages/Protocol/Actions/Action/Name/CheckNameTag.cs b/Protocol/Error Messages/Protocol/Actions/Action/Name/CheckNameTag.cs index a30f0a1d..493d1fda 100644 --- a/Protocol/Error Messages/Protocol/Actions/Action/Name/CheckNameTag.cs +++ b/Protocol/Error Messages/Protocol/Actions/Action/Name/CheckNameTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.Name.CheckNameTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string actionIds) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string actionIds) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint DuplicatedValue = 1; } diff --git a/Protocol/Error Messages/Protocol/Actions/Action/On/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/Actions/Action/On/CheckIdAttribute.cs index 035bfe58..e67add5e 100644 --- a/Protocol/Error Messages/Protocol/Actions/Action/On/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/Actions/Action/On/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.On.CheckIdAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionId) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttibute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) + internal static IValidationResult EmptyAttibute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttibute(IValidate test, IReadable referenc }; } - public static IValidationResult UntrimmedValueInAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue, string actionId) + internal static IValidationResult UntrimmedValueInAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue, string actionId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedValueInAttribute(IValidate test, IReada }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string actionId) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string actionId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referenceKind, string referenceId, string actionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referenceKind, string referenceId, string actionId) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttibute = 2; diff --git a/Protocol/Error Messages/Protocol/Actions/Action/On/CheckNrAttribute.cs b/Protocol/Error Messages/Protocol/Actions/Action/On/CheckNrAttribute.cs index d2510151..a3281018 100644 --- a/Protocol/Error Messages/Protocol/Actions/Action/On/CheckNrAttribute.cs +++ b/Protocol/Error Messages/Protocol/Actions/Action/On/CheckNrAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.On.CheckNrAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttibute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) + internal static IValidationResult EmptyAttibute(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttibute(IValidate test, IReadable referenc }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue, string actionId) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue, string actionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string actionId) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string actionId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttibute = 2; public const uint UntrimmedAttribute = 3; diff --git a/Protocol/Error Messages/Protocol/Actions/Action/On/CheckOnTag.cs b/Protocol/Error Messages/Protocol/Actions/Action/On/CheckOnTag.cs index f4a59a03..5009e7d0 100644 --- a/Protocol/Error Messages/Protocol/Actions/Action/On/CheckOnTag.cs +++ b/Protocol/Error Messages/Protocol/Actions/Action/On/CheckOnTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.On.CheckOnTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string actionOn, string actionId) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string actionOn, string actionId) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Actions/Action/Type/CheckTypeTag.cs b/Protocol/Error Messages/Protocol/Actions/Action/Type/CheckTypeTag.cs index 1aab61c5..8b81e993 100644 --- a/Protocol/Error Messages/Protocol/Actions/Action/Type/CheckTypeTag.cs +++ b/Protocol/Error Messages/Protocol/Actions/Action/Type/CheckTypeTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.Type.CheckTypeTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionId) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string actionType, string actionId) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Chains/CheckChildNameAttributes.cs b/Protocol/Error Messages/Protocol/Chains/CheckChildNameAttributes.cs index 2fb2c227..4fe4d69b 100644 --- a/Protocol/Error Messages/Protocol/Chains/CheckChildNameAttributes.cs +++ b/Protocol/Error Messages/Protocol/Chains/CheckChildNameAttributes.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Chains.CheckChildNameAttributes using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string chainName) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string chainName) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint DuplicatedValue = 1; } diff --git a/Protocol/Error Messages/Protocol/CheckConnectionPingGroups.cs b/Protocol/Error Messages/Protocol/CheckConnectionPingGroups.cs index 9ed80ccb..2df66ffe 100644 --- a/Protocol/Error Messages/Protocol/CheckConnectionPingGroups.cs +++ b/Protocol/Error Messages/Protocol/CheckConnectionPingGroups.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.CheckConnectionPingGroups using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult InvalidPingGroupType(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionType, string groupId) + internal static IValidationResult InvalidPingGroupType(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionType, string groupId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult InvalidPingGroupType(IValidate test, IReadable r }; } - public static IValidationResult PingSerialPairHasNoResponse(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionType, string pairId) + internal static IValidationResult PingSerialPairHasNoResponse(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionType, string pairId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult PingSerialPairHasNoResponse(IValidate test, IRea }; } - public static IValidationResult MultiplePingPairsForConnection(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionName, string connectionType, string connectionId) + internal static IValidationResult MultiplePingPairsForConnection(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionName, string connectionType, string connectionId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult MultiplePingPairsForConnection(IValidate test, I }; } - public static IValidationResult MultiplePingPairsForConnection_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId, string pairId) + internal static IValidationResult MultiplePingPairsForConnection_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId, string pairId) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult MultiplePingPairsForConnection_Sub(IValidate tes } } - public static class ErrorIds + internal static class ErrorIds { public const uint InvalidPingGroupType = 1; public const uint PingSerialPairHasNoResponse = 2; diff --git a/Protocol/Error Messages/Protocol/CheckConnections.cs b/Protocol/Error Messages/Protocol/CheckConnections.cs index 6b0563a8..14dc30eb 100644 --- a/Protocol/Error Messages/Protocol/CheckConnections.cs +++ b/Protocol/Error Messages/Protocol/CheckConnections.cs @@ -10,9 +10,9 @@ namespace SLDisValidator2.Tests.Protocol.CheckConnections using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MismatchingNames(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId, string names, bool hasCodeFix) + internal static IValidationResult MismatchingNames(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId, string names, bool hasCodeFix) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult MismatchingNames(IValidate test, IReadable refer }; } - public static IValidationResult InvalidConnectionName(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionName, string connectionType, string connectionId) + internal static IValidationResult InvalidConnectionName(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionName, string connectionType, string connectionId) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult InvalidConnectionName(IValidate test, IReadable }; } - public static IValidationResult DuplicateConnectionName(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName) + internal static IValidationResult DuplicateConnectionName(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult DuplicateConnectionName(IValidate test, IReadabl }; } - public static IValidationResult DuplicateConnectionName_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string connectionIds) + internal static IValidationResult DuplicateConnectionName_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string connectionIds) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult DuplicateConnectionName_Sub(IValidate test, IRea }; } - public static IValidationResult InvalidConnectionCount(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionCount, string portSettingCount) + internal static IValidationResult InvalidConnectionCount(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionCount, string portSettingCount) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult InvalidConnectionCount(IValidate test, IReadable }; } - public static IValidationResult InvalidCombinationOfSyntax1And2(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult InvalidCombinationOfSyntax1And2(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -162,7 +162,7 @@ public static IValidationResult InvalidCombinationOfSyntax1And2(IValidate test, }; } - public static IValidationResult UnrecommendedSyntax2(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult UnrecommendedSyntax2(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -188,9 +188,9 @@ public static IValidationResult UnrecommendedSyntax2(IValidate test, IReadable r } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult ConnectionsOrderChanged(IReadable referenceNode, IReadable positionNode, string oldOrder, string newOrder) + internal static IValidationResult ConnectionsOrderChanged(IReadable referenceNode, IReadable positionNode, string oldOrder, string newOrder) { return new ValidationResult { @@ -215,7 +215,7 @@ public static IValidationResult ConnectionsOrderChanged(IReadable referenceNode, }; } - public static IValidationResult ConnectionTypeChanged(IReadable referenceNode, IReadable positionNode, string connectionType, string connectionId, string connectionName, string newConnectionType) + internal static IValidationResult ConnectionTypeChanged(IReadable referenceNode, IReadable positionNode, string connectionType, string connectionId, string connectionName, string newConnectionType) { return new ValidationResult { @@ -240,7 +240,7 @@ public static IValidationResult ConnectionTypeChanged(IReadable referenceNode, I }; } - public static IValidationResult ConnectionAdded(IReadable referenceNode, IReadable positionNode, string connectionType, string connectionId, string connectionName) + internal static IValidationResult ConnectionAdded(IReadable referenceNode, IReadable positionNode, string connectionType, string connectionId, string connectionName) { return new ValidationResult { @@ -266,7 +266,7 @@ public static IValidationResult ConnectionAdded(IReadable referenceNode, IReadab } } - public static class ErrorIds + internal static class ErrorIds { public const uint MismatchingNames = 1; public const uint InvalidConnectionName = 2; diff --git a/Protocol/Error Messages/Protocol/CheckEndlessLoop.cs b/Protocol/Error Messages/Protocol/CheckEndlessLoop.cs index 536720eb..005941e1 100644 --- a/Protocol/Error Messages/Protocol/CheckEndlessLoop.cs +++ b/Protocol/Error Messages/Protocol/CheckEndlessLoop.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.CheckEndlessLoop using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EndlessLoop(IValidate test, IReadable referenceNode, IReadable positionNode, string involvedItems) + internal static IValidationResult EndlessLoop(IValidate test, IReadable referenceNode, IReadable positionNode, string involvedItems) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EndlessLoop(IValidate test, IReadable referenceN }; } - public static IValidationResult PotentialEndlessLoop(IValidate test, IReadable referenceNode, IReadable positionNode, string involvedItems) + internal static IValidationResult PotentialEndlessLoop(IValidate test, IReadable referenceNode, IReadable positionNode, string involvedItems) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult PotentialEndlessLoop(IValidate test, IReadable r } } - public static class ErrorIds + internal static class ErrorIds { public const uint EndlessLoop = 1; public const uint PotentialEndlessLoop = 2; diff --git a/Protocol/Error Messages/Protocol/CheckProtocolTag.cs b/Protocol/Error Messages/Protocol/CheckProtocolTag.cs index 3d073180..5b6d9e7b 100644 --- a/Protocol/Error Messages/Protocol/CheckProtocolTag.cs +++ b/Protocol/Error Messages/Protocol/CheckProtocolTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.CheckProtocolTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; } diff --git a/Protocol/Error Messages/Protocol/CheckXMLDeclaration.cs b/Protocol/Error Messages/Protocol/CheckXMLDeclaration.cs index 27b87d57..5a9ddbed 100644 --- a/Protocol/Error Messages/Protocol/CheckXMLDeclaration.cs +++ b/Protocol/Error Messages/Protocol/CheckXMLDeclaration.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.CheckXMLDeclaration using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult InvalidDeclaration(IValidate test, IReadable referenceNode, IReadable positionNode, string currentEncoding, string possibleValues) + internal static IValidationResult InvalidDeclaration(IValidate test, IReadable referenceNode, IReadable positionNode, string currentEncoding, string possibleValues) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult InvalidDeclaration(IValidate test, IReadable ref } } - public static class ErrorIds + internal static class ErrorIds { public const uint InvalidDeclaration = 1; } diff --git a/Protocol/Error Messages/Protocol/Commands/Command/CheckAsciiAttribute.cs b/Protocol/Error Messages/Protocol/Commands/Command/CheckAsciiAttribute.cs index 224862cc..1cb6b987 100644 --- a/Protocol/Error Messages/Protocol/Commands/Command/CheckAsciiAttribute.cs +++ b/Protocol/Error Messages/Protocol/Commands/Command/CheckAsciiAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Commands.Command.CheckAsciiAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string commandId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string commandId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string asciiValue, string commandId) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string asciiValue, string commandId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string commandId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string commandId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint InvalidAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Commands/Command/CheckCommandLogic.cs b/Protocol/Error Messages/Protocol/Commands/Command/CheckCommandLogic.cs index 99a64148..dcda3d25 100644 --- a/Protocol/Error Messages/Protocol/Commands/Command/CheckCommandLogic.cs +++ b/Protocol/Error Messages/Protocol/Commands/Command/CheckCommandLogic.cs @@ -10,9 +10,9 @@ namespace SLDisValidator2.Tests.Protocol.Commands.Command.CheckCommandLogic using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingCrcCommandAction(IValidate test, IReadable referenceNode, IReadable positionNode, string commandId, string pid) + internal static IValidationResult MissingCrcCommandAction(IValidate test, IReadable referenceNode, IReadable positionNode, string commandId, string pid) { return new ValidationResult { @@ -38,7 +38,7 @@ public static IValidationResult MissingCrcCommandAction(IValidate test, IReadabl } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingCrcCommandAction = 1; } diff --git a/Protocol/Error Messages/Protocol/Commands/Command/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/Commands/Command/CheckIdAttribute.cs index bc8bd25b..7829b74c 100644 --- a/Protocol/Error Messages/Protocol/Commands/Command/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/Commands/Command/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Commands.Command.CheckIdAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string commandId, string commandName) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string commandId, string commandName) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string commandId, string commandNames) + internal static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string commandId, string commandNames) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult DuplicatedId(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Commands/Command/Content/Param/CheckParamTag.cs b/Protocol/Error Messages/Protocol/Commands/Command/Content/Param/CheckParamTag.cs index 2f5a163a..aac0d460 100644 --- a/Protocol/Error Messages/Protocol/Commands/Command/Content/Param/CheckParamTag.cs +++ b/Protocol/Error Messages/Protocol/Commands/Command/Content/Param/CheckParamTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Commands.Command.Content.Param.CheckPar using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string commandId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string commandId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult EmptyParamTag(IValidate test, IReadable referenceNode, IReadable positionNode, string commandId) + internal static IValidationResult EmptyParamTag(IValidate test, IReadable referenceNode, IReadable positionNode, string commandId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyParamTag(IValidate test, IReadable referenc }; } - public static IValidationResult InvalidParamTag(IValidate test, IReadable referenceNode, IReadable positionNode, string value, string commandId) + internal static IValidationResult InvalidParamTag(IValidate test, IReadable referenceNode, IReadable positionNode, string value, string commandId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidParamTag(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint EmptyParamTag = 2; diff --git a/Protocol/Error Messages/Protocol/Commands/Command/Name/CheckNameTag.cs b/Protocol/Error Messages/Protocol/Commands/Command/Name/CheckNameTag.cs index 136228d6..6db1a83f 100644 --- a/Protocol/Error Messages/Protocol/Commands/Command/Name/CheckNameTag.cs +++ b/Protocol/Error Messages/Protocol/Commands/Command/Name/CheckNameTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Commands.Command.Name.CheckNameTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string commandIds) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string commandIds) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint DuplicatedValue = 1; } diff --git a/Protocol/Error Messages/Protocol/Compliancies/MinimumRequiredVersion/CheckMinimumRequiredVersionTag.cs b/Protocol/Error Messages/Protocol/Compliancies/MinimumRequiredVersion/CheckMinimumRequiredVersionTag.cs index b1e2575a..0b5c8704 100644 --- a/Protocol/Error Messages/Protocol/Compliancies/MinimumRequiredVersion/CheckMinimumRequiredVersionTag.cs +++ b/Protocol/Error Messages/Protocol/Compliancies/MinimumRequiredVersion/CheckMinimumRequiredVersionTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Compliancies.MinimumRequiredVersion.Che using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MinVersionTooLow(IValidate test, IReadable referenceNode, IReadable positionNode, string currentMinDmVersion, string expectedMinDmVersion) + internal static IValidationResult MinVersionTooLow(IValidate test, IReadable referenceNode, IReadable positionNode, string currentMinDmVersion, string expectedMinDmVersion) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MinVersionTooLow(IValidate test, IReadable refer }; } - public static IValidationResult MinVersionTooLow_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string requiredDmVersion, string usedFeature) + internal static IValidationResult MinVersionTooLow_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string requiredDmVersion, string usedFeature) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult MinVersionTooLow_Sub(IValidate test, IReadable r }; } - public static IValidationResult MinVersionFeatureUsedInItemWithId_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string itemKind, string identifierType, string itemId) + internal static IValidationResult MinVersionFeatureUsedInItemWithId_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string itemKind, string identifierType, string itemId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult MinVersionFeatureUsedInItemWithId_Sub(IValidate }; } - public static IValidationResult MinVersionFeatureUsedInItem_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string itemKind) + internal static IValidationResult MinVersionFeatureUsedInItem_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string itemKind) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult MinVersionFeatureUsedInItem_Sub(IValidate test, }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue) { return new ValidationResult { @@ -137,9 +137,9 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult MinVersionIncreased(IReadable referenceNode, IReadable positionNode, string oldMinDmVersion, string newMinDmVersion) + internal static IValidationResult MinVersionIncreased(IReadable referenceNode, IReadable positionNode, string oldMinDmVersion, string newMinDmVersion) { return new ValidationResult { @@ -165,7 +165,7 @@ public static IValidationResult MinVersionIncreased(IReadable referenceNode, IRe } } - public static class ErrorIds + internal static class ErrorIds { public const uint MinVersionTooLow = 1; public const uint MinVersionTooLow_Sub = 2; diff --git a/Protocol/Error Messages/Protocol/DVEs/DVEProtocols/DVEProtocol/CheckNameAttribute.cs b/Protocol/Error Messages/Protocol/DVEs/DVEProtocols/DVEProtocol/CheckNameAttribute.cs index 857b53c8..882faeef 100644 --- a/Protocol/Error Messages/Protocol/DVEs/DVEProtocols/DVEProtocol/CheckNameAttribute.cs +++ b/Protocol/Error Messages/Protocol/DVEs/DVEProtocols/DVEProtocol/CheckNameAttribute.cs @@ -8,9 +8,9 @@ namespace SLDisValidator2.Tests.Protocol.DVEs.DVEProtocols.DVEProtocol.CheckName using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult UpdatedValue(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId, string newDveProtocolName) + internal static IValidationResult UpdatedValue(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId, string newDveProtocolName) { return new ValidationResult { @@ -35,7 +35,7 @@ public static IValidationResult UpdatedValue(IReadable referenceNode, IReadable }; } - public static IValidationResult RemovedItem(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId) + internal static IValidationResult RemovedItem(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult RemovedItem(IReadable referenceNode, IReadable p } } - public static class ErrorIds + internal static class ErrorIds { public const uint UpdatedValue = 1; public const uint RemovedItem = 2; diff --git a/Protocol/Error Messages/Protocol/DVEs/DVEProtocols/DVEProtocol/ElementPrefix/CheckElementPrefixTag.cs b/Protocol/Error Messages/Protocol/DVEs/DVEProtocols/DVEProtocol/ElementPrefix/CheckElementPrefixTag.cs index 2f9b136b..89b3d8a5 100644 --- a/Protocol/Error Messages/Protocol/DVEs/DVEProtocols/DVEProtocol/ElementPrefix/CheckElementPrefixTag.cs +++ b/Protocol/Error Messages/Protocol/DVEs/DVEProtocols/DVEProtocol/ElementPrefix/CheckElementPrefixTag.cs @@ -8,9 +8,9 @@ namespace SLDisValidator2.Tests.Protocol.DVEs.DVEProtocols.DVEProtocol.ElementPr using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult AddedElementPrefix(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId) + internal static IValidationResult AddedElementPrefix(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId) { return new ValidationResult { @@ -35,7 +35,7 @@ public static IValidationResult AddedElementPrefix(IReadable referenceNode, IRea }; } - public static IValidationResult RemovedElementPrefix(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId) + internal static IValidationResult RemovedElementPrefix(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult RemovedElementPrefix(IReadable referenceNode, IR } } - public static class ErrorIds + internal static class ErrorIds { public const uint AddedElementPrefix = 1; public const uint RemovedElementPrefix = 2; diff --git a/Protocol/Error Messages/Protocol/Display/CheckDefaultPageAttribute.cs b/Protocol/Error Messages/Protocol/Display/CheckDefaultPageAttribute.cs index af37ab34..a4ba7601 100644 --- a/Protocol/Error Messages/Protocol/Display/CheckDefaultPageAttribute.cs +++ b/Protocol/Error Messages/Protocol/Display/CheckDefaultPageAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Display.CheckDefaultPageAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UnexistingPage(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) + internal static IValidationResult UnexistingPage(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UnexistingPage(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidDefaultPage(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult InvalidDefaultPage(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult InvalidDefaultPage(IValidate test, IReadable ref }; } - public static IValidationResult UnsupportedPage(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) + internal static IValidationResult UnsupportedPage(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) { return new ValidationResult { @@ -162,7 +162,7 @@ public static IValidationResult UnsupportedPage(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Display/CheckDisplayTag.cs b/Protocol/Error Messages/Protocol/Display/CheckDisplayTag.cs index 648dbace..89a90c64 100644 --- a/Protocol/Error Messages/Protocol/Display/CheckDisplayTag.cs +++ b/Protocol/Error Messages/Protocol/Display/CheckDisplayTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Display.CheckDisplayTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; } diff --git a/Protocol/Error Messages/Protocol/Display/CheckPageOrderAttribute.cs b/Protocol/Error Messages/Protocol/Display/CheckPageOrderAttribute.cs index 8c694464..b970c4ee 100644 --- a/Protocol/Error Messages/Protocol/Display/CheckPageOrderAttribute.cs +++ b/Protocol/Error Messages/Protocol/Display/CheckPageOrderAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Display.CheckPageOrderAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult UnsupportedPage(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) + internal static IValidationResult UnsupportedPage(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult UnsupportedPage(IValidate test, IReadable refere }; } - public static IValidationResult MissingPage(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) + internal static IValidationResult MissingPage(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult MissingPage(IValidate test, IReadable referenceN }; } - public static IValidationResult MissingWebPage(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingWebPage(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult MissingWebPage(IValidate test, IReadable referen }; } - public static IValidationResult WrongWebPagePosition(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) + internal static IValidationResult WrongWebPagePosition(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult WrongWebPagePosition(IValidate test, IReadable r }; } - public static IValidationResult UnexistingPage(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) + internal static IValidationResult UnexistingPage(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult UnexistingPage(IValidate test, IReadable referen }; } - public static IValidationResult DuplicateEntries(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) + internal static IValidationResult DuplicateEntries(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) { return new ValidationResult { @@ -236,7 +236,7 @@ public static IValidationResult DuplicateEntries(IValidate test, IReadable refer }; } - public static IValidationResult MissingPage_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string pageName) + internal static IValidationResult MissingPage_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string pageName) { return new ValidationResult { @@ -261,7 +261,7 @@ public static IValidationResult MissingPage_Sub(IValidate test, IReadable refere }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -286,7 +286,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid) + internal static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid) { return new ValidationResult { @@ -312,7 +312,7 @@ public static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Display/CheckWideColumnPagesAttribute.cs b/Protocol/Error Messages/Protocol/Display/CheckWideColumnPagesAttribute.cs index a1f42345..6c261102 100644 --- a/Protocol/Error Messages/Protocol/Display/CheckWideColumnPagesAttribute.cs +++ b/Protocol/Error Messages/Protocol/Display/CheckWideColumnPagesAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Display.CheckWideColumnPagesAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult UnexistingPage(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) + internal static IValidationResult UnexistingPage(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult UnexistingPage(IValidate test, IReadable referen } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint UntrimmedAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Display/Pages/Page/Visibility/CheckOverridePidAttribute.cs b/Protocol/Error Messages/Protocol/Display/Pages/Page/Visibility/CheckOverridePidAttribute.cs index b72c776c..5eebf114 100644 --- a/Protocol/Error Messages/Protocol/Display/Pages/Page/Visibility/CheckOverridePidAttribute.cs +++ b/Protocol/Error Messages/Protocol/Display/Pages/Page/Visibility/CheckOverridePidAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Display.Pages.Page.Visibility.CheckOver using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string pageName) + internal static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string pageName) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult NonExistingParam(IValidate test, IReadable refer }; } - public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string pageName) + internal static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string pageName) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/ElementType/CheckElementTypeTag.cs b/Protocol/Error Messages/Protocol/ElementType/CheckElementTypeTag.cs index 7487b5b1..8e29a541 100644 --- a/Protocol/Error Messages/Protocol/ElementType/CheckElementTypeTag.cs +++ b/Protocol/Error Messages/Protocol/ElementType/CheckElementTypeTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.ElementType.CheckElementTypeTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckTableAttribute.cs b/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckTableAttribute.cs index 9c7c7353..7c092a76 100644 --- a/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckTableAttribute.cs +++ b/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckTableAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.ExportRules.ExportRule.CheckTableAttrib using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tableValue) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tableValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint MissingAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckWhereAttributeAttribute.cs b/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckWhereAttributeAttribute.cs index 81858b85..aebc1ec1 100644 --- a/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckWhereAttributeAttribute.cs +++ b/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckWhereAttributeAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.ExportRules.ExportRule.CheckWhereAttrib using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint UntrimmedAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckWhereTagAttribute.cs b/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckWhereTagAttribute.cs index df7ef3d2..b1e6a098 100644 --- a/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckWhereTagAttribute.cs +++ b/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckWhereTagAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.ExportRules.ExportRule.CheckWhereTagAtt using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckWhereValueAttribute.cs b/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckWhereValueAttribute.cs index 4d89181b..3e5ab89a 100644 --- a/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckWhereValueAttribute.cs +++ b/Protocol/Error Messages/Protocol/ExportRules/ExportRule/CheckWhereValueAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.ExportRules.ExportRule.CheckWhereValueA using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; } diff --git a/Protocol/Error Messages/Protocol/Groups/Group/CheckConnectionPidAttribute.cs b/Protocol/Error Messages/Protocol/Groups/Group/CheckConnectionPidAttribute.cs index 9bf8c843..c6d808a5 100644 --- a/Protocol/Error Messages/Protocol/Groups/Group/CheckConnectionPidAttribute.cs +++ b/Protocol/Error Messages/Protocol/Groups/Group/CheckConnectionPidAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.CheckConnectionPidAttribut using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionPid, string groupId) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionPid, string groupId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string groupId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string groupId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint InvalidAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Groups/Group/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/Groups/Group/CheckIdAttribute.cs index 43fe391a..297b9e43 100644 --- a/Protocol/Error Messages/Protocol/Groups/Group/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/Groups/Group/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.CheckIdAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId, string groupName) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId, string groupName) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId, string groupNames) + internal static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId, string groupNames) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult DuplicatedId(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Groups/Group/Condition/CheckConditionTag.cs b/Protocol/Error Messages/Protocol/Groups/Group/Condition/CheckConditionTag.cs index 5262f9d6..54c9d261 100644 --- a/Protocol/Error Messages/Protocol/Groups/Group/Condition/CheckConditionTag.cs +++ b/Protocol/Error Messages/Protocol/Groups/Group/Condition/CheckConditionTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Condition.CheckConditionTa using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult InvalidCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string invalidityReason, string groupId) + internal static IValidationResult InvalidCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string invalidityReason, string groupId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult InvalidCondition(IValidate test, IReadable refer }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string groupId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string groupId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ConditionCanBeSimplified(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string groupId) + internal static IValidationResult ConditionCanBeSimplified(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string groupId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult ConditionCanBeSimplified(IValidate test, IReadab } } - public static class ErrorIds + internal static class ErrorIds { public const uint InvalidCondition = 1; public const uint NonExistingId = 2; diff --git a/Protocol/Error Messages/Protocol/Groups/Group/Content/Action/CheckActionTag.cs b/Protocol/Error Messages/Protocol/Groups/Group/Content/Action/CheckActionTag.cs index 2eb0a420..90e4786c 100644 --- a/Protocol/Error Messages/Protocol/Groups/Group/Content/Action/CheckActionTag.cs +++ b/Protocol/Error Messages/Protocol/Groups/Group/Content/Action/CheckActionTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Content.Action.CheckAction using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId, string groupId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId, string groupId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult EmptyActionTag(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) + internal static IValidationResult EmptyActionTag(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyActionTag(IValidate test, IReadable referen }; } - public static IValidationResult InvalidActionTag(IValidate test, IReadable referenceNode, IReadable positionNode, string value, string groupId) + internal static IValidationResult InvalidActionTag(IValidate test, IReadable referenceNode, IReadable positionNode, string value, string groupId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidActionTag(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint EmptyActionTag = 2; diff --git a/Protocol/Error Messages/Protocol/Groups/Group/Content/CheckContentTag.cs b/Protocol/Error Messages/Protocol/Groups/Group/Content/CheckContentTag.cs index 4aa16f18..4002f881 100644 --- a/Protocol/Error Messages/Protocol/Groups/Group/Content/CheckContentTag.cs +++ b/Protocol/Error Messages/Protocol/Groups/Group/Content/CheckContentTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Content.CheckContentTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult IncompatibleContentWithGroupType(IValidate test, IReadable referenceNode, IReadable positionNode, string groupType, string contentChildTagName, string groupId) + internal static IValidationResult IncompatibleContentWithGroupType(IValidate test, IReadable referenceNode, IReadable positionNode, string groupType, string contentChildTagName, string groupId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult IncompatibleContentWithGroupType(IValidate test, }; } - public static IValidationResult MixedTypes(IValidate test, IReadable referenceNode, IReadable positionNode, string contentTypes, string groupId) + internal static IValidationResult MixedTypes(IValidate test, IReadable referenceNode, IReadable positionNode, string contentTypes, string groupId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult MixedTypes(IValidate test, IReadable referenceNo }; } - public static IValidationResult MaxItemsMultipleGet(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) + internal static IValidationResult MaxItemsMultipleGet(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult MaxItemsMultipleGet(IValidate test, IReadable re }; } - public static IValidationResult MaxItems(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) + internal static IValidationResult MaxItems(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult MaxItems(IValidate test, IReadable referenceNode }; } - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo } } - public static class ErrorIds + internal static class ErrorIds { public const uint IncompatibleContentWithGroupType = 1; public const uint MixedTypes = 2; diff --git a/Protocol/Error Messages/Protocol/Groups/Group/Content/Pair/CheckPairTag.cs b/Protocol/Error Messages/Protocol/Groups/Group/Content/Pair/CheckPairTag.cs index b2fabe64..3e964d09 100644 --- a/Protocol/Error Messages/Protocol/Groups/Group/Content/Pair/CheckPairTag.cs +++ b/Protocol/Error Messages/Protocol/Groups/Group/Content/Pair/CheckPairTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Content.Pair.CheckPairTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId, string groupId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId, string groupId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult EmptyPairTag(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) + internal static IValidationResult EmptyPairTag(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyPairTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidPairTag(IValidate test, IReadable referenceNode, IReadable positionNode, string value, string groupId) + internal static IValidationResult InvalidPairTag(IValidate test, IReadable referenceNode, IReadable positionNode, string value, string groupId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidPairTag(IValidate test, IReadable referen } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint EmptyPairTag = 2; diff --git a/Protocol/Error Messages/Protocol/Groups/Group/Content/Param/CheckParamTag.cs b/Protocol/Error Messages/Protocol/Groups/Group/Content/Param/CheckParamTag.cs index f465a202..9b16e66f 100644 --- a/Protocol/Error Messages/Protocol/Groups/Group/Content/Param/CheckParamTag.cs +++ b/Protocol/Error Messages/Protocol/Groups/Group/Content/Param/CheckParamTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Content.Param.CheckParamTa using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string groupId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string groupId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult EmptyParamTag(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) + internal static IValidationResult EmptyParamTag(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyParamTag(IValidate test, IReadable referenc }; } - public static IValidationResult InvalidParamTag(IValidate test, IReadable referenceNode, IReadable positionNode, string value, string groupId) + internal static IValidationResult InvalidParamTag(IValidate test, IReadable referenceNode, IReadable positionNode, string value, string groupId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidParamTag(IValidate test, IReadable refere }; } - public static IValidationResult InvalidParamSuffix(IValidate test, IReadable referenceNode, IReadable positionNode, string suffix, string groupId) + internal static IValidationResult InvalidParamSuffix(IValidate test, IReadable referenceNode, IReadable positionNode, string suffix, string groupId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidParamSuffix(IValidate test, IReadable ref }; } - public static IValidationResult ObsoleteSuffixTable(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) + internal static IValidationResult ObsoleteSuffixTable(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult ObsoleteSuffixTable(IValidate test, IReadable re }; } - public static IValidationResult SuffixRequiresMultiThreadedTimer(IValidate test, IReadable referenceNode, IReadable positionNode, string suffix, string groupId) + internal static IValidationResult SuffixRequiresMultiThreadedTimer(IValidate test, IReadable referenceNode, IReadable positionNode, string suffix, string groupId) { return new ValidationResult { @@ -162,7 +162,7 @@ public static IValidationResult SuffixRequiresMultiThreadedTimer(IValidate test, } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint EmptyParamTag = 2; diff --git a/Protocol/Error Messages/Protocol/Groups/Group/Content/Session/CheckSessionTag.cs b/Protocol/Error Messages/Protocol/Groups/Group/Content/Session/CheckSessionTag.cs index a1b21c64..406802f2 100644 --- a/Protocol/Error Messages/Protocol/Groups/Group/Content/Session/CheckSessionTag.cs +++ b/Protocol/Error Messages/Protocol/Groups/Group/Content/Session/CheckSessionTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Content.Session.CheckSessi using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string groupId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string groupId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult EmptySessionTag(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) + internal static IValidationResult EmptySessionTag(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptySessionTag(IValidate test, IReadable refere }; } - public static IValidationResult InvalidSessionTag(IValidate test, IReadable referenceNode, IReadable positionNode, string value, string groupId) + internal static IValidationResult InvalidSessionTag(IValidate test, IReadable referenceNode, IReadable positionNode, string value, string groupId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidSessionTag(IValidate test, IReadable refe } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint EmptySessionTag = 2; diff --git a/Protocol/Error Messages/Protocol/Groups/Group/Content/Trigger/CheckTriggerTag.cs b/Protocol/Error Messages/Protocol/Groups/Group/Content/Trigger/CheckTriggerTag.cs index 2f12aa44..97e1449c 100644 --- a/Protocol/Error Messages/Protocol/Groups/Group/Content/Trigger/CheckTriggerTag.cs +++ b/Protocol/Error Messages/Protocol/Groups/Group/Content/Trigger/CheckTriggerTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Content.Trigger.CheckTrigg using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId, string groupId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId, string groupId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult EmptyTriggerTag(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) + internal static IValidationResult EmptyTriggerTag(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTriggerTag(IValidate test, IReadable refere }; } - public static IValidationResult InvalidTriggerTag(IValidate test, IReadable referenceNode, IReadable positionNode, string value, string groupId) + internal static IValidationResult InvalidTriggerTag(IValidate test, IReadable referenceNode, IReadable positionNode, string value, string groupId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidTriggerTag(IValidate test, IReadable refe } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint EmptyTriggerTag = 2; diff --git a/Protocol/Error Messages/Protocol/Groups/Group/Name/CheckNameTag.cs b/Protocol/Error Messages/Protocol/Groups/Group/Name/CheckNameTag.cs index 63893028..35a7d854 100644 --- a/Protocol/Error Messages/Protocol/Groups/Group/Name/CheckNameTag.cs +++ b/Protocol/Error Messages/Protocol/Groups/Group/Name/CheckNameTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Name.CheckNameTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string groupIds) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string groupIds) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint DuplicatedValue = 1; } diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/CheckIdAttribute.cs index 4deedc32..2cc7aa8d 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.CheckIdAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string sessionName) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string sessionName) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string sessionNames) + internal static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string sessionNames) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult DuplicatedId(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/CheckPasswordAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/CheckPasswordAttribute.cs index 8fcb4460..cfcd69b7 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/CheckPasswordAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/CheckPasswordAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.CheckPasswordAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; } diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/CheckProxyPasswordAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/CheckProxyPasswordAttribute.cs index 601bfd47..6c779fe3 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/CheckProxyPasswordAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/CheckProxyPasswordAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.CheckProxyPasswordAttribut using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; } diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/CheckProxyServerAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/CheckProxyServerAttribute.cs index 52ec7b7f..fe4b7368 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/CheckProxyServerAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/CheckProxyServerAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.CheckProxyServerAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; } diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/CheckProxyUserAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/CheckProxyUserAttribute.cs index e06aac39..b2648ccf 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/CheckProxyUserAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/CheckProxyUserAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.CheckProxyUserAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; } diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/CheckUsernameAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/CheckUsernameAttribute.cs index baffb5d0..18b5b214 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/CheckUsernameAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/CheckUsernameAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.CheckUsernameAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; } diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/CheckIdAttribute.cs index bea2c5d2..737f9bd1 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.CheckIdAttribut using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId, string sessionId) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId, string sessionId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId, string connectionNames, string sessionId) + internal static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId, string connectionNames, string sessionId) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult DuplicatedId(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/CheckPidAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/CheckPidAttribute.cs index 3b8c0058..808b79af 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/CheckPidAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/CheckPidAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Request.CheckPi using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId, string connectionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId, string connectionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pidValue, string httpSessionId, string connectionId) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pidValue, string httpSessionId, string connectionId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Data/CheckPidAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Data/CheckPidAttribute.cs index 803dc0ad..638eacaa 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Data/CheckPidAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Data/CheckPidAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Request.Data.Ch using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId, string connectionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId, string connectionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pidValue, string httpSessionId, string connectionId) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pidValue, string httpSessionId, string connectionId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/CheckHeaders.cs b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/CheckHeaders.cs index c398923e..8096e607 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/CheckHeaders.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/CheckHeaders.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Request.Headers using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingHeaderForVerb(IValidate test, IReadable referenceNode, IReadable positionNode, string headerKey, string verb, string sessionId, string connectionId) + internal static IValidationResult MissingHeaderForVerb(IValidate test, IReadable referenceNode, IReadable positionNode, string headerKey, string verb, string sessionId, string connectionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingHeaderForVerb(IValidate test, IReadable r }; } - public static IValidationResult DuplicateHeaderKeys(IValidate test, IReadable referenceNode, IReadable positionNode, string headerKey, string sessionId, string connectionId, bool hasCodeFix) + internal static IValidationResult DuplicateHeaderKeys(IValidate test, IReadable referenceNode, IReadable positionNode, string headerKey, string sessionId, string connectionId, bool hasCodeFix) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult DuplicateHeaderKeys(IValidate test, IReadable re } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingHeaderForVerb = 1; public const uint DuplicateHeaderKeys = 2; diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckHeaderTag.cs b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckHeaderTag.cs index 6a001619..8c1a49b5 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckHeaderTag.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckHeaderTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Request.Headers using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint UntrimmedTag = 1; } diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckKeyAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckKeyAttribute.cs index 7f809b92..ed2dcd34 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckKeyAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckKeyAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Request.Headers using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult UnknownHeaderKey(IValidate test, IReadable referenceNode, IReadable positionNode, string headerKey, string sessionId, string connectionId) + internal static IValidationResult UnknownHeaderKey(IValidate test, IReadable referenceNode, IReadable positionNode, string headerKey, string sessionId, string connectionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult UnknownHeaderKey(IValidate test, IReadable refer }; } - public static IValidationResult UntrimmedHeaderKey(IValidate test, IReadable referenceNode, IReadable positionNode, string headerKey, string sessionId, string connectionId) + internal static IValidationResult UntrimmedHeaderKey(IValidate test, IReadable referenceNode, IReadable positionNode, string headerKey, string sessionId, string connectionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedHeaderKey(IValidate test, IReadable ref }; } - public static IValidationResult MissingKeyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) + internal static IValidationResult MissingKeyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult MissingKeyAttribute(IValidate test, IReadable re }; } - public static IValidationResult EmptyKeyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) + internal static IValidationResult EmptyKeyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult EmptyKeyAttribute(IValidate test, IReadable refe }; } - public static IValidationResult InvalidHeaderKeyForVerb(IValidate test, IReadable referenceNode, IReadable positionNode, string headerKey, string verb, string sessionId, string connectionId) + internal static IValidationResult InvalidHeaderKeyForVerb(IValidate test, IReadable referenceNode, IReadable positionNode, string headerKey, string verb, string sessionId, string connectionId) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult InvalidHeaderKeyForVerb(IValidate test, IReadabl }; } - public static IValidationResult RedundantHeaderKey(IValidate test, IReadable referenceNode, IReadable positionNode, string headerKey, string sessionId, string connectionId) + internal static IValidationResult RedundantHeaderKey(IValidate test, IReadable referenceNode, IReadable positionNode, string headerKey, string sessionId, string connectionId) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult RedundantHeaderKey(IValidate test, IReadable ref }; } - public static IValidationResult UnsupportedHeaderKey(IValidate test, IReadable referenceNode, IReadable positionNode, Certainty certainty, string headerKey, string sessionId, string connectionId) + internal static IValidationResult UnsupportedHeaderKey(IValidate test, IReadable referenceNode, IReadable positionNode, Certainty certainty, string headerKey, string sessionId, string connectionId) { return new ValidationResult { @@ -187,7 +187,7 @@ public static IValidationResult UnsupportedHeaderKey(IValidate test, IReadable r } } - public static class ErrorIds + internal static class ErrorIds { public const uint UnknownHeaderKey = 1; public const uint UntrimmedHeaderKey = 2; diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckPidAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckPidAttribute.cs index 2657ad63..109bbe82 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckPidAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckPidAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Request.Headers using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId, string connectionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId, string connectionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pidValue, string httpSessionId, string connectionId) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pidValue, string httpSessionId, string connectionId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Parameters/Parameter/CheckPidAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Parameters/Parameter/CheckPidAttribute.cs index 2d803464..14869231 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Parameters/Parameter/CheckPidAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Request/Parameters/Parameter/CheckPidAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Request.Paramet using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId, string connectionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId, string connectionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pidValue, string httpSessionId, string connectionId) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pidValue, string httpSessionId, string connectionId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Response/CheckStatusCodeAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Response/CheckStatusCodeAttribute.cs index d761c63f..61f09e51 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Response/CheckStatusCodeAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Response/CheckStatusCodeAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Response.CheckS using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId, string connectionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId, string connectionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string statusCode, string httpSessionId, string connectionId) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string statusCode, string httpSessionId, string connectionId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Response/Content/CheckPidAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Response/Content/CheckPidAttribute.cs index b7bb00c0..4e89ea59 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Response/Content/CheckPidAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Response/Content/CheckPidAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Response.Conten using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId, string connectionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId, string connectionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pidValue, string httpSessionId, string connectionId) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pidValue, string httpSessionId, string connectionId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Response/Headers/Header/CheckPidAttribute.cs b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Response/Headers/Header/CheckPidAttribute.cs index 2dd31f1f..84127a80 100644 --- a/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Response/Headers/Header/CheckPidAttribute.cs +++ b/Protocol/Error Messages/Protocol/HTTP/Session/Connection/Response/Headers/Header/CheckPidAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Response.Header using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId, string connectionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string sessionId, string connectionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string sessionId, string connectionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pidValue, string httpSessionId, string connectionId) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pidValue, string httpSessionId, string connectionId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Name/CheckNameTag.cs b/Protocol/Error Messages/Protocol/Name/CheckNameTag.cs index 47feb6c4..2e41dc8a 100644 --- a/Protocol/Error Messages/Protocol/Name/CheckNameTag.cs +++ b/Protocol/Error Messages/Protocol/Name/CheckNameTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Name.CheckNameTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidChars(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string invalidCharacters) + internal static IValidationResult InvalidChars(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string invalidCharacters) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidChars(IValidate test, IReadable reference }; } - public static IValidationResult InvalidPrefix(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string invalidPrefix) + internal static IValidationResult InvalidPrefix(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string invalidPrefix) { return new ValidationResult { @@ -137,9 +137,9 @@ public static IValidationResult InvalidPrefix(IValidate test, IReadable referenc } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult UpdatedValue(IReadable referenceNode, IReadable positionNode, string oldProtocolName, string newProtocolName) + internal static IValidationResult UpdatedValue(IReadable referenceNode, IReadable positionNode, string oldProtocolName, string newProtocolName) { return new ValidationResult { @@ -165,7 +165,7 @@ public static IValidationResult UpdatedValue(IReadable referenceNode, IReadable } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Pairs/Pair/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/Pairs/Pair/CheckIdAttribute.cs index 55d7f3b6..13cca339 100644 --- a/Protocol/Error Messages/Protocol/Pairs/Pair/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/Pairs/Pair/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Pairs.Pair.CheckIdAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId, string pairName) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId, string pairName) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId, string pairNames) + internal static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId, string pairNames) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult DuplicatedId(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Pairs/Pair/Condition/CheckConditionTag.cs b/Protocol/Error Messages/Protocol/Pairs/Pair/Condition/CheckConditionTag.cs index e3d1816e..17555a86 100644 --- a/Protocol/Error Messages/Protocol/Pairs/Pair/Condition/CheckConditionTag.cs +++ b/Protocol/Error Messages/Protocol/Pairs/Pair/Condition/CheckConditionTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Pairs.Pair.Condition.CheckConditionTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult InvalidCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string invalidityReason, string pairId) + internal static IValidationResult InvalidCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string invalidityReason, string pairId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult InvalidCondition(IValidate test, IReadable refer }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string pairId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string pairId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ConditionCanBeSimplified(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string pairId) + internal static IValidationResult ConditionCanBeSimplified(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string pairId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult ConditionCanBeSimplified(IValidate test, IReadab } } - public static class ErrorIds + internal static class ErrorIds { public const uint InvalidCondition = 1; public const uint NonExistingId = 2; diff --git a/Protocol/Error Messages/Protocol/Pairs/Pair/Content/CheckContentTag.cs b/Protocol/Error Messages/Protocol/Pairs/Pair/Content/CheckContentTag.cs index 2455176b..3663e283 100644 --- a/Protocol/Error Messages/Protocol/Pairs/Pair/Content/CheckContentTag.cs +++ b/Protocol/Error Messages/Protocol/Pairs/Pair/Content/CheckContentTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Pairs.Pair.Content.CheckContentTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingClearResponseRoutine(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId) + internal static IValidationResult MissingClearResponseRoutine(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingClearResponseRoutine(IValidate test, IRea }; } - public static IValidationResult MissingClearResponseRoutine_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string responseIdToClear, string responseIdOnWhichToTrigger) + internal static IValidationResult MissingClearResponseRoutine_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string responseIdToClear, string responseIdOnWhichToTrigger) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult MissingClearResponseRoutine_Sub(IValidate test, } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingClearResponseRoutine = 1; public const uint MissingClearResponseRoutine_Sub = 2; diff --git a/Protocol/Error Messages/Protocol/Pairs/Pair/Content/Command/CheckCommandTag.cs b/Protocol/Error Messages/Protocol/Pairs/Pair/Content/Command/CheckCommandTag.cs index 3ef6c1f0..5fd1f71e 100644 --- a/Protocol/Error Messages/Protocol/Pairs/Pair/Content/Command/CheckCommandTag.cs +++ b/Protocol/Error Messages/Protocol/Pairs/Pair/Content/Command/CheckCommandTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Pairs.Pair.Content.Command.CheckCommand using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pairId) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pairId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string commandId, string pairId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string commandId, string pairId) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Pairs/Pair/Content/Response/CheckResponseTag.cs b/Protocol/Error Messages/Protocol/Pairs/Pair/Content/Response/CheckResponseTag.cs index 51694ba5..6c86c2da 100644 --- a/Protocol/Error Messages/Protocol/Pairs/Pair/Content/Response/CheckResponseTag.cs +++ b/Protocol/Error Messages/Protocol/Pairs/Pair/Content/Response/CheckResponseTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Pairs.Pair.Content.Response.CheckRespon using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pairId) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pairId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string responseId, string pairId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string responseId, string pairId) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyTag = 2; public const uint UntrimmedTag = 3; diff --git a/Protocol/Error Messages/Protocol/Pairs/Pair/Content/ResponseOnBadCommand/CheckResponseOnBadCommandTag.cs b/Protocol/Error Messages/Protocol/Pairs/Pair/Content/ResponseOnBadCommand/CheckResponseOnBadCommandTag.cs index 224cf5fa..1f12cdca 100644 --- a/Protocol/Error Messages/Protocol/Pairs/Pair/Content/ResponseOnBadCommand/CheckResponseOnBadCommandTag.cs +++ b/Protocol/Error Messages/Protocol/Pairs/Pair/Content/ResponseOnBadCommand/CheckResponseOnBadCommandTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Pairs.Pair.Content.ResponseOnBadCommand using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pairId, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pairId) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pairId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string responseId, string pairId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string responseId, string pairId) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyTag = 2; public const uint UntrimmedTag = 3; diff --git a/Protocol/Error Messages/Protocol/Pairs/Pair/Name/CheckNameTag.cs b/Protocol/Error Messages/Protocol/Pairs/Pair/Name/CheckNameTag.cs index bdefbcd9..6d9f73fa 100644 --- a/Protocol/Error Messages/Protocol/Pairs/Pair/Name/CheckNameTag.cs +++ b/Protocol/Error Messages/Protocol/Pairs/Pair/Name/CheckNameTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Pairs.Pair.Name.CheckNameTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string pairIds) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string pairIds) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint DuplicatedValue = 1; } diff --git a/Protocol/Error Messages/Protocol/ParameterGroups/CheckParameterGroupsTag.cs b/Protocol/Error Messages/Protocol/ParameterGroups/CheckParameterGroupsTag.cs index 7bcb0c1e..b5c940cb 100644 --- a/Protocol/Error Messages/Protocol/ParameterGroups/CheckParameterGroupsTag.cs +++ b/Protocol/Error Messages/Protocol/ParameterGroups/CheckParameterGroupsTag.cs @@ -6,9 +6,9 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.CheckParameterGroupsTag using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult DcfAdded(IReadable referenceNode, IReadable positionNode) + internal static IValidationResult DcfAdded(IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -34,7 +34,7 @@ public static IValidationResult DcfAdded(IReadable referenceNode, IReadable posi } } - public static class ErrorIds + internal static class ErrorIds { public const uint DcfAdded = 1; } diff --git a/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckDynamicIdAttribute.cs b/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckDynamicIdAttribute.cs index 7c5da2ac..22cbdba7 100644 --- a/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckDynamicIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckDynamicIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.Group.CheckDynamicIdAtt using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string parameterGroupId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string parameterGroupId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string parameterGroupId) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string parameterGroupId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint InvalidAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckDynamicIndexAttribute.cs b/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckDynamicIndexAttribute.cs index cfdb4f86..5ea7d202 100644 --- a/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckDynamicIndexAttribute.cs +++ b/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckDynamicIndexAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.Group.CheckDynamicIndex using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingDynamicIdAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupId) + internal static IValidationResult MissingDynamicIdAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult MissingDynamicIdAttribute(IValidate test, IReada } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingDynamicIdAttribute = 1; } diff --git a/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckGroupTag.cs b/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckGroupTag.cs index 6403574f..613104a5 100644 --- a/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckGroupTag.cs +++ b/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckGroupTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.Group.CheckGroupTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult IncompatibleParamReferences(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupId) + internal static IValidationResult IncompatibleParamReferences(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupId) { return new ValidationResult { @@ -37,9 +37,9 @@ public static IValidationResult IncompatibleParamReferences(IValidate test, IRea } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult DcfParameterGroupRemoved(IReadable referenceNode, IReadable positionNode, string groupId) + internal static IValidationResult DcfParameterGroupRemoved(IReadable referenceNode, IReadable positionNode, string groupId) { return new ValidationResult { @@ -65,7 +65,7 @@ public static IValidationResult DcfParameterGroupRemoved(IReadable referenceNode } } - public static class ErrorIds + internal static class ErrorIds { public const uint DcfParameterGroupRemoved = 1; public const uint IncompatibleParamReferences = 3; diff --git a/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckIdAttribute.cs index 36a785ea..aaf23d64 100644 --- a/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.Group.CheckIdAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupId, string parameterGroupName) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupId, string parameterGroupName) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult OutOfRangeId(IValidate test, IReadable referenceNode, IReadable positionNode, Certainty certainty, string id) + internal static IValidationResult OutOfRangeId(IValidate test, IReadable referenceNode, IReadable positionNode, Certainty certainty, string id) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult OutOfRangeId(IValidate test, IReadable reference }; } - public static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupId, string parameterGroupNames) + internal static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupId, string parameterGroupNames) { return new ValidationResult { @@ -162,7 +162,7 @@ public static IValidationResult DuplicatedId(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckNameAttribute.cs b/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckNameAttribute.cs index 204f7ca7..85916985 100644 --- a/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckNameAttribute.cs +++ b/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckNameAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.Group.CheckNameAttribut using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupId) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string parameterGroupIds) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string parameterGroupIds) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere }; } - public static IValidationResult InvalidChars(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string invalidCharacters) + internal static IValidationResult InvalidChars(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string invalidCharacters) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidChars(IValidate test, IReadable reference }; } - public static IValidationResult LengthyValue(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupName) + internal static IValidationResult LengthyValue(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupName) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult LengthyValue(IValidate test, IReadable reference }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupId, string untrimmedName) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string parameterGroupId, string untrimmedName) { return new ValidationResult { @@ -162,9 +162,9 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult DcfParameterGroupNameChanged(IReadable referenceNode, IReadable positionNode, string groupId, string oldName, string newName) + internal static IValidationResult DcfParameterGroupNameChanged(IReadable referenceNode, IReadable positionNode, string groupId, string oldName, string newName) { return new ValidationResult { @@ -190,7 +190,7 @@ public static IValidationResult DcfParameterGroupNameChanged(IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint DcfParameterGroupNameChanged = 3; public const uint MissingAttribute = 4; diff --git a/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckTypeAttribute.cs b/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckTypeAttribute.cs index a19a6f17..0cb2f4b5 100644 --- a/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckTypeAttribute.cs +++ b/Protocol/Error Messages/Protocol/ParameterGroups/Group/CheckTypeAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.Group.CheckTypeAttribut using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult DcfParameterGroupTypeChanged(IReadable referenceNode, IReadable positionNode, string groupId, string oldType, string newType) + internal static IValidationResult DcfParameterGroupTypeChanged(IReadable referenceNode, IReadable positionNode, string groupId, string oldType, string newType) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DcfParameterGroupTypeChanged(IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint DcfParameterGroupTypeChanged = 1; } diff --git a/Protocol/Error Messages/Protocol/ParameterGroups/Group/Params/Param/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/ParameterGroups/Group/Params/Param/CheckIdAttribute.cs index 7d1366cf..ba09c633 100644 --- a/Protocol/Error Messages/Protocol/ParameterGroups/Group/Params/Param/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/ParameterGroups/Group/Params/Param/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.Group.Params.Param.Chec using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string parameterGroupId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string parameterGroupId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult DuplicateParamInParameterGroup(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string parameterGroupId) + internal static IValidationResult DuplicateParamInParameterGroup(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string parameterGroupId) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult DuplicateParamInParameterGroup(IValidate test, I } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint DuplicateParamInParameterGroup = 2; diff --git a/Protocol/Error Messages/Protocol/Params/CheckLoadSequenceAttribute.cs b/Protocol/Error Messages/Protocol/Params/CheckLoadSequenceAttribute.cs index c4c02c1f..0d6d350a 100644 --- a/Protocol/Error Messages/Protocol/Params/CheckLoadSequenceAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/CheckLoadSequenceAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.CheckLoadSequenceAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ReferencedParamSaveExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid) + internal static IValidationResult ReferencedParamSaveExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult ReferencedParamSaveExpected(IValidate test, IRea }; } - public static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid) + internal static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint UntrimmedAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Alarm/CheckAlarmTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Alarm/CheckAlarmTag.cs index e44d28ad..84ef625d 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Alarm/CheckAlarmTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Alarm/CheckAlarmTag.cs @@ -7,9 +7,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Alarm.CheckAlarmTag using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class Error + internal static class Error { - public static IValidationResult MissingDefaultThreshold(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingDefaultThreshold(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -35,7 +35,7 @@ public static IValidationResult MissingDefaultThreshold(IValidate test, IReadabl } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingDefaultThreshold = 1; } diff --git a/Protocol/Error Messages/Protocol/Params/Param/Alarm/CheckOptionsAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/Alarm/CheckOptionsAttribute.cs index 7eab9d94..7d0972fc 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Alarm/CheckOptionsAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Alarm/CheckOptionsAttribute.cs @@ -7,9 +7,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Alarm.CheckOptionsAttribut using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -34,7 +34,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -59,7 +59,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string pid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string pid) { return new ValidationResult { @@ -84,7 +84,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string referencingPid) + internal static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string referencingPid) { return new ValidationResult { @@ -110,9 +110,9 @@ public static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult UpdatedThresholdAlarmType(IReadable referenceNode, IReadable positionNode, string oldValue, string paramPid, string newValue) + internal static IValidationResult UpdatedThresholdAlarmType(IReadable referenceNode, IReadable positionNode, string oldValue, string paramPid, string newValue) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult UpdatedThresholdAlarmType(IReadable referenceNod }; } - public static IValidationResult AddedThresholdAlarmType(IReadable referenceNode, IReadable positionNode, string newValue, string paramPid) + internal static IValidationResult AddedThresholdAlarmType(IReadable referenceNode, IReadable positionNode, string newValue, string paramPid) { return new ValidationResult { @@ -162,7 +162,7 @@ public static IValidationResult AddedThresholdAlarmType(IReadable referenceNode, }; } - public static IValidationResult RemovedThresholdAlarmType(IReadable referenceNode, IReadable positionNode, string oldValue, string paramPid) + internal static IValidationResult RemovedThresholdAlarmType(IReadable referenceNode, IReadable positionNode, string oldValue, string paramPid) { return new ValidationResult { @@ -188,7 +188,7 @@ public static IValidationResult RemovedThresholdAlarmType(IReadable referenceNod } } - public static class ErrorIds + internal static class ErrorIds { public const uint UpdatedThresholdAlarmType = 1; public const uint AddedThresholdAlarmType = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Alarm/CheckTypeAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/Alarm/CheckTypeAttribute.cs index 1971035c..b74f14eb 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Alarm/CheckTypeAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Alarm/CheckTypeAttribute.cs @@ -8,9 +8,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Alarm.CheckTypeAttribute using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult RemovedNormalizationAlarmType(IReadable referenceNode, IReadable positionNode, string alarmType, string paramId) + internal static IValidationResult RemovedNormalizationAlarmType(IReadable referenceNode, IReadable positionNode, string alarmType, string paramId) { return new ValidationResult { @@ -35,7 +35,7 @@ public static IValidationResult RemovedNormalizationAlarmType(IReadable referenc }; } - public static IValidationResult UpdatedNormalizationAlarmType(IReadable referenceNode, IReadable positionNode, string alarmType, string paramId, string newAlarmType) + internal static IValidationResult UpdatedNormalizationAlarmType(IReadable referenceNode, IReadable positionNode, string alarmType, string paramId, string newAlarmType) { return new ValidationResult { @@ -60,7 +60,7 @@ public static IValidationResult UpdatedNormalizationAlarmType(IReadable referenc }; } - public static IValidationResult AddedNormalizationAlarmType(IReadable referenceNode, IReadable positionNode, string normalizationType, string pid) + internal static IValidationResult AddedNormalizationAlarmType(IReadable referenceNode, IReadable positionNode, string normalizationType, string pid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult AddedNormalizationAlarmType(IReadable referenceN } } - public static class ErrorIds + internal static class ErrorIds { public const uint RemovedNormalizationAlarmType = 1; public const uint UpdatedNormalizationAlarmType = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Alarm/Monitored/CheckDisabledIfAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/Alarm/Monitored/CheckDisabledIfAttribute.cs index a267800d..d557985b 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Alarm/Monitored/CheckDisabledIfAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Alarm/Monitored/CheckDisabledIfAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Alarm.Monitored.CheckDisab using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string pid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string pid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string pid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string pid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ReferencedParamWrongType(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedParamType, string referencedPid) + internal static IValidationResult ReferencedParamWrongType(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedParamType, string referencedPid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult ReferencedParamWrongType(IValidate test, IReadab }; } - public static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string referencingPid) + internal static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string referencingPid) { return new ValidationResult { @@ -162,7 +162,7 @@ public static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint UntrimmedAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Alarm/Monitored/CheckMonitoredTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Alarm/Monitored/CheckMonitoredTag.cs index dd4fa411..5d3509de 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Alarm/Monitored/CheckMonitoredTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Alarm/Monitored/CheckMonitoredTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Alarm.Monitored.CheckMonit using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult InvalidTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pid) + internal static IValidationResult InvalidTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult RTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult RTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -137,9 +137,9 @@ public static IValidationResult RTDisplayExpected(IValidate test, IReadable refe } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult RemovedAlarming(IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult RemovedAlarming(IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -165,7 +165,7 @@ public static IValidationResult RemovedAlarming(IReadable referenceNode, IReadab } } - public static class ErrorIds + internal static class ErrorIds { public const uint RemovedAlarming = 1; public const uint MissingTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckArrayOptionsTag.cs b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckArrayOptionsTag.cs index 417fbdd6..b9eca1d0 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckArrayOptionsTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckArrayOptionsTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.CheckArrayOpt using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult DisplayColumnChangedToNaming(IReadable referenceNode, IReadable positionNode, string columnIdx, string tableId, string namingValue) + internal static IValidationResult DisplayColumnChangedToNaming(IReadable referenceNode, IReadable positionNode, string columnIdx, string tableId, string namingValue) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult DisplayColumnChangedToNaming(IReadable reference }; } - public static IValidationResult DisplayColumnChangeToNamingFormat(IReadable referenceNode, IReadable positionNode, string columnIdx, string tableId, string namingFormatValue) + internal static IValidationResult DisplayColumnChangeToNamingFormat(IReadable referenceNode, IReadable positionNode, string columnIdx, string tableId, string namingFormatValue) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult DisplayColumnChangeToNamingFormat(IReadable refe } } - public static class ErrorIds + internal static class ErrorIds { public const uint DisplayColumnChangedToNaming = 1; public const uint DisplayColumnChangeToNamingFormat = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckDisplayColumnAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckDisplayColumnAttribute.cs index 1767ba3b..1dbf5dda 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckDisplayColumnAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckDisplayColumnAttribute.cs @@ -8,9 +8,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.CheckDisplayC using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult DisplayColumnRemoved(IReadable referenceNode, IReadable positionNode, string columnIdx, string tableId) + internal static IValidationResult DisplayColumnRemoved(IReadable referenceNode, IReadable positionNode, string columnIdx, string tableId) { return new ValidationResult { @@ -35,7 +35,7 @@ public static IValidationResult DisplayColumnRemoved(IReadable referenceNode, IR }; } - public static IValidationResult DisplayColumnAdded(IReadable referenceNode, IReadable positionNode, string columnIdx, string tableId) + internal static IValidationResult DisplayColumnAdded(IReadable referenceNode, IReadable positionNode, string columnIdx, string tableId) { return new ValidationResult { @@ -60,7 +60,7 @@ public static IValidationResult DisplayColumnAdded(IReadable referenceNode, IRea }; } - public static IValidationResult DisplayColumnContentChanged(IReadable referenceNode, IReadable positionNode, string previousColumnIdx, string tableId, string newColumnIdx) + internal static IValidationResult DisplayColumnContentChanged(IReadable referenceNode, IReadable positionNode, string previousColumnIdx, string tableId, string newColumnIdx) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult DisplayColumnContentChanged(IReadable referenceN } } - public static class ErrorIds + internal static class ErrorIds { public const uint DisplayColumnRemoved = 1; public const uint DisplayColumnAdded = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckDisplayKey.cs b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckDisplayKey.cs index 47b6dc50..ebbfb00d 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckDisplayKey.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckDisplayKey.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.CheckDisplayK using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DuplicateDisplayKeyDefinition(IValidate test, IReadable referenceNode, IReadable positionNode, string tableId) + internal static IValidationResult DuplicateDisplayKeyDefinition(IValidate test, IReadable referenceNode, IReadable positionNode, string tableId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult DuplicateDisplayKeyDefinition(IValidate test, IR }; } - public static IValidationResult DisplayColumnSameAsPK(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult DisplayColumnSameAsPK(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult DisplayColumnSameAsPK(IValidate test, IReadable }; } - public static IValidationResult DisplayColumnUnrecommended(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, bool hasCodeFix) + internal static IValidationResult DisplayColumnUnrecommended(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, bool hasCodeFix) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult DisplayColumnUnrecommended(IValidate test, IRead }; } - public static IValidationResult DisplayKeyColumnInvalidInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnIntrepeteType, string dkColumnPid) + internal static IValidationResult DisplayKeyColumnInvalidInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnIntrepeteType, string dkColumnPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult DisplayKeyColumnInvalidInterpreteType(IValidate }; } - public static IValidationResult DisplayKeyColumnInvalidMeasurementType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnMeasurementType, string dkColumnPid) + internal static IValidationResult DisplayKeyColumnInvalidMeasurementType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnMeasurementType, string dkColumnPid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult DisplayKeyColumnInvalidMeasurementType(IValidate }; } - public static IValidationResult DisplayKeyColumnInvalidType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnType, string dkColumnPid) + internal static IValidationResult DisplayKeyColumnInvalidType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnType, string dkColumnPid) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult DisplayKeyColumnInvalidType(IValidate test, IRea }; } - public static IValidationResult DisplayKeyColumnMissing(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult DisplayKeyColumnMissing(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult DisplayKeyColumnMissing(IValidate test, IReadabl }; } - public static IValidationResult UnexpectedIdxSuffix(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) + internal static IValidationResult UnexpectedIdxSuffix(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult UnexpectedIdxSuffix(IValidate test, IReadable re }; } - public static IValidationResult DuplicateDisplayKeyColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult DuplicateDisplayKeyColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -237,9 +237,9 @@ public static IValidationResult DuplicateDisplayKeyColumn(IValidate test, IReada } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult FormatChanged(IReadable referenceNode, IReadable positionNode, string oldSyntax, string oldFormat, string newSyntax, string newFormat, string tablePid) + internal static IValidationResult FormatChanged(IReadable referenceNode, IReadable positionNode, string oldSyntax, string oldFormat, string newSyntax, string newFormat, string tablePid) { return new ValidationResult { @@ -264,7 +264,7 @@ public static IValidationResult FormatChanged(IReadable referenceNode, IReadable }; } - public static IValidationResult FormatRemoved(IReadable referenceNode, IReadable positionNode, string oldSyntax, string tablePid) + internal static IValidationResult FormatRemoved(IReadable referenceNode, IReadable positionNode, string oldSyntax, string tablePid) { return new ValidationResult { @@ -290,7 +290,7 @@ public static IValidationResult FormatRemoved(IReadable referenceNode, IReadable } } - public static class ErrorIds + internal static class ErrorIds { public const uint DuplicateDisplayKeyDefinition = 1; public const uint DisplayColumnSameAsPK = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckIndexAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckIndexAttribute.cs index e13b2451..23d3bfd2 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckIndexAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckIndexAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.CheckIndexAtt using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult InvalidAttributeValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string currentValue) + internal static IValidationResult InvalidAttributeValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string currentValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidAttributeValue(IValidate test, IReadable }; } - public static IValidationResult NonExistingColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string indexValue, string tablePid) + internal static IValidationResult NonExistingColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string indexValue, string tablePid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult NonExistingColumn(IValidate test, IReadable refe }; } - public static IValidationResult UnrecommendedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string indexValue, string tablePid, string recommendedIndex) + internal static IValidationResult UnrecommendedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string indexValue, string tablePid, string recommendedIndex) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult UnrecommendedValue(IValidate test, IReadable ref }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string untrimmedIndex) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string untrimmedIndex) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidColumnInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnIntrepeteType, string pkColumnPid) + internal static IValidationResult InvalidColumnInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnIntrepeteType, string pkColumnPid) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult InvalidColumnInterpreteType(IValidate test, IRea }; } - public static IValidationResult InvalidColumnMeasurementType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnMeasurementType, string pkColumnPid) + internal static IValidationResult InvalidColumnMeasurementType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnMeasurementType, string pkColumnPid) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult InvalidColumnMeasurementType(IValidate test, IRe }; } - public static IValidationResult InvalidColumnType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnType, string pkColumnPid) + internal static IValidationResult InvalidColumnType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnType, string pkColumnPid) { return new ValidationResult { @@ -237,7 +237,7 @@ public static IValidationResult InvalidColumnType(IValidate test, IReadable refe } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckLoggerTable.cs b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckLoggerTable.cs index 1acd6d14..371a8975 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckLoggerTable.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckLoggerTable.cs @@ -8,9 +8,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.CheckLoggerTa using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult RemovedLoggerColumn(IReadable referenceNode, IReadable positionNode, string columnPid, string tablePid) + internal static IValidationResult RemovedLoggerColumn(IReadable referenceNode, IReadable positionNode, string columnPid, string tablePid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult RemovedLoggerColumn(IReadable referenceNode, IRe } } - public static class ErrorIds + internal static class ErrorIds { public const uint RemovedLoggerColumn = 1; } diff --git a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckOptionsAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckOptionsAttribute.cs index b7f04a80..3f7d8143 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckOptionsAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckOptionsAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.CheckOptionsA using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult NamingEmpty(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult NamingEmpty(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult NamingEmpty(IValidate test, IReadable referenceN }; } - public static IValidationResult NamingRefersToNonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string tablePid) + internal static IValidationResult NamingRefersToNonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string tablePid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult NamingRefersToNonExistingParam(IValidate test, I }; } - public static IValidationResult PreserveStateShouldBeAvoided(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult PreserveStateShouldBeAvoided(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult PreserveStateShouldBeAvoided(IValidate test, IRe }; } - public static IValidationResult ViewTableInvalidReference(IValidate test, IReadable referenceNode, IReadable positionNode, Severity severity, string viewOption, string viewTablePid) + internal static IValidationResult ViewTableInvalidReference(IValidate test, IReadable referenceNode, IReadable positionNode, Severity severity, string viewOption, string viewTablePid) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult ViewTableInvalidReference(IValidate test, IReada }; } - public static IValidationResult ViewTableFilterChangeInvalidColumns(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string viewTablePid) + internal static IValidationResult ViewTableFilterChangeInvalidColumns(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string viewTablePid) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult ViewTableFilterChangeInvalidColumns(IValidate te }; } - public static IValidationResult ViewTableDirectViewInvalidColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string viewTablePid) + internal static IValidationResult ViewTableDirectViewInvalidColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string viewTablePid) { return new ValidationResult { @@ -212,9 +212,9 @@ public static IValidationResult ViewTableDirectViewInvalidColumn(IValidate test, } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult RemovedLoggerTableDatabaseLink(IReadable referenceNode, IReadable positionNode, string paramPid) + internal static IValidationResult RemovedLoggerTableDatabaseLink(IReadable referenceNode, IReadable positionNode, string paramPid) { return new ValidationResult { @@ -240,7 +240,7 @@ public static IValidationResult RemovedLoggerTableDatabaseLink(IReadable referen } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint UntrimmedAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckPartialAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckPartialAttribute.cs index 1809a63b..afcc0301 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckPartialAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/CheckPartialAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.CheckPartialA using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult EnabledPartial(IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult EnabledPartial(IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult EnabledPartial(IReadable referenceNode, IReadabl } } - public static class ErrorIds + internal static class ErrorIds { public const uint EnabledPartial = 1; } diff --git a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckColumnOptionTag.cs b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckColumnOptionTag.cs index 43ccb173..51357965 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckColumnOptionTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckColumnOptionTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.ColumnOption. using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult RemovedColumnOptionTag(IReadable referenceNode, IReadable positionNode, string columnPid, string tablePid) + internal static IValidationResult RemovedColumnOptionTag(IReadable referenceNode, IReadable positionNode, string columnPid, string tablePid) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult RemovedColumnOptionTag(IReadable referenceNode, } } - public static class ErrorIds + internal static class ErrorIds { public const uint RemovedColumnOptionTag = 1; } diff --git a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckIdxAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckIdxAttribute.cs index 476f8beb..57de8293 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckIdxAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckIdxAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.ColumnOption. using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult UpdatedIdxValue(IReadable referenceNode, IReadable positionNode, string columnPid, string oldSLProtocolPosition, string newSLProtocolPosition, string tablePid) + internal static IValidationResult UpdatedIdxValue(IReadable referenceNode, IReadable positionNode, string columnPid, string oldSLProtocolPosition, string newSLProtocolPosition, string tablePid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult UpdatedIdxValue(IReadable referenceNode, IReadab }; } - public static IValidationResult UpdatedIdxValue_Parent(IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult UpdatedIdxValue_Parent(IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult UpdatedIdxValue_Parent(IReadable referenceNode, } } - public static class ErrorIds + internal static class ErrorIds { public const uint UpdatedIdxValue = 1; public const uint UpdatedIdxValue_Parent = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckOptionsAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckOptionsAttribute.cs index ba12845a..cdf25e02 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckOptionsAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckOptionsAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.ColumnOption. using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult ViewInvalidSyntax(IValidate test, IReadable referenceNode, IReadable positionNode, string columnIdx, string viewTablePid) + internal static IValidationResult ViewInvalidSyntax(IValidate test, IReadable referenceNode, IReadable positionNode, string columnIdx, string viewTablePid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult ViewInvalidSyntax(IValidate test, IReadable refe }; } - public static IValidationResult ViewInvalidColumnReference(IValidate test, IReadable referenceNode, IReadable positionNode, Severity severity, string viewOption, string viewTablePid) + internal static IValidationResult ViewInvalidColumnReference(IValidate test, IReadable referenceNode, IReadable positionNode, Severity severity, string viewOption, string viewTablePid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult ViewInvalidColumnReference(IValidate test, IRead }; } - public static IValidationResult ViewInvalidCombinationFilterChange(IValidate test, IReadable referenceNode, IReadable positionNode, string viewTablePid) + internal static IValidationResult ViewInvalidCombinationFilterChange(IValidate test, IReadable referenceNode, IReadable positionNode, string viewTablePid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult ViewInvalidCombinationFilterChange(IValidate tes }; } - public static IValidationResult ForeignKeyMissingRelation(IValidate test, IReadable referenceNode, IReadable positionNode, string fkToTablePid, string fkFromTablePid, string fkColumnPid) + internal static IValidationResult ForeignKeyMissingRelation(IValidate test, IReadable referenceNode, IReadable positionNode, string fkToTablePid, string fkFromTablePid, string fkColumnPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult ForeignKeyMissingRelation(IValidate test, IReada }; } - public static IValidationResult ColumnOptionExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string option, string tablePid) + internal static IValidationResult ColumnOptionExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string option, string tablePid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult ColumnOptionExpectingRTDisplay(IValidate test, I }; } - public static IValidationResult ForeignKeyTargetExpectingRTDisplayOnPK(IValidate test, IReadable referenceNode, IReadable positionNode, string pkColumnPid, string foreignKeyOption, string tablePid) + internal static IValidationResult ForeignKeyTargetExpectingRTDisplayOnPK(IValidate test, IReadable referenceNode, IReadable positionNode, string pkColumnPid, string foreignKeyOption, string tablePid) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult ForeignKeyTargetExpectingRTDisplayOnPK(IValidate }; } - public static IValidationResult ForeignKeyColumnInvalidInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnIntrepeteType, string fkColumnPid) + internal static IValidationResult ForeignKeyColumnInvalidInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnIntrepeteType, string fkColumnPid) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult ForeignKeyColumnInvalidInterpreteType(IValidate }; } - public static IValidationResult ForeignKeyColumnInvalidMeasurementType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnMeasurementType, string fkColumnPid) + internal static IValidationResult ForeignKeyColumnInvalidMeasurementType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnMeasurementType, string fkColumnPid) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult ForeignKeyColumnInvalidMeasurementType(IValidate }; } - public static IValidationResult ForeignKeyColumnInvalidType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnType, string fkColumnPid) + internal static IValidationResult ForeignKeyColumnInvalidType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnType, string fkColumnPid) { return new ValidationResult { @@ -237,7 +237,7 @@ public static IValidationResult ForeignKeyColumnInvalidType(IValidate test, IRea } } - public static class ErrorIds + internal static class ErrorIds { public const uint ViewInvalidSyntax = 1; public const uint ViewInvalidColumnReference = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckPidAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckPidAttribute.cs index 5adce13d..bcacd610 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckPidAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckPidAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.ColumnOption. using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string tablePid) + internal static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string tablePid) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult NonExistingParam(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/NamingFormat/CheckNamingFormatTag.cs b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/NamingFormat/CheckNamingFormatTag.cs index 9562a9b1..df3c91ac 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/NamingFormat/CheckNamingFormatTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/ArrayOptions/NamingFormat/CheckNamingFormatTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.NamingFormat. using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string tablePid) + internal static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string tablePid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult NonExistingParam(IValidate test, IReadable refer }; } - public static IValidationResult MissingDynamicPart(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult MissingDynamicPart(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult MissingDynamicPart(IValidate test, IReadable ref } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyTag = 1; public const uint UntrimmedTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/CheckColumns.cs b/Protocol/Error Messages/Protocol/Params/Param/CheckColumns.cs index a96910b5..6ffe96da 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/CheckColumns.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/CheckColumns.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.CheckColumns using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult ColumnInvalidType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnType, string columnPid) + internal static IValidationResult ColumnInvalidType(IValidate test, IReadable referenceNode, IReadable positionNode, string columnType, string columnPid) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult ColumnInvalidType(IValidate test, IReadable refe } } - public static class ErrorIds + internal static class ErrorIds { public const uint ColumnInvalidType = 1; } diff --git a/Protocol/Error Messages/Protocol/Params/Param/CheckHistorySetAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/CheckHistorySetAttribute.cs index 0edebc06..e0cf3141 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/CheckHistorySetAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/CheckHistorySetAttribute.cs @@ -8,9 +8,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.CheckHistorySetAttribute using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult EnabledHistorySet(IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult EnabledHistorySet(IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EnabledHistorySet(IReadable referenceNode, IRead } } - public static class ErrorIds + internal static class ErrorIds { public const uint EnabledHistorySet = 1; } diff --git a/Protocol/Error Messages/Protocol/Params/Param/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/CheckIdAttribute.cs index c473649b..00d8826d 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.CheckIdAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string paramName) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string paramName) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult OutOfRangeId(IValidate test, IReadable referenceNode, IReadable positionNode, string id) + internal static IValidationResult OutOfRangeId(IValidate test, IReadable referenceNode, IReadable positionNode, string id) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult OutOfRangeId(IValidate test, IReadable reference }; } - public static IValidationResult InvalidUseOfSpectrumIdRange(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult InvalidUseOfSpectrumIdRange(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult InvalidUseOfSpectrumIdRange(IValidate test, IRea }; } - public static IValidationResult InvalidUseOfMediationIdRange(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult InvalidUseOfMediationIdRange(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult InvalidUseOfMediationIdRange(IValidate test, IRe }; } - public static IValidationResult InvalidUseOfDataMinerModulesIdRange(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult InvalidUseOfDataMinerModulesIdRange(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult InvalidUseOfDataMinerModulesIdRange(IValidate te }; } - public static IValidationResult InvalidUseOfEnhancedServiceIdRange(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult InvalidUseOfEnhancedServiceIdRange(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult InvalidUseOfEnhancedServiceIdRange(IValidate tes }; } - public static IValidationResult InvalidUseOfSlaIdRange(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult InvalidUseOfSlaIdRange(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -236,7 +236,7 @@ public static IValidationResult InvalidUseOfSlaIdRange(IValidate test, IReadable }; } - public static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string paramNames) + internal static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string paramNames) { return new ValidationResult { @@ -261,7 +261,7 @@ public static IValidationResult DuplicatedId(IValidate test, IReadable reference }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -286,7 +286,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult RTDisplayExpectedOnSpectrumParam(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult RTDisplayExpectedOnSpectrumParam(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -312,9 +312,9 @@ public static IValidationResult RTDisplayExpectedOnSpectrumParam(IValidate test, } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult MissingParam(IReadable referenceNode, IReadable positionNode, string paramName, string paramType, string paramId) + internal static IValidationResult MissingParam(IReadable referenceNode, IReadable positionNode, string paramName, string paramType, string paramId) { return new ValidationResult { @@ -340,7 +340,7 @@ public static IValidationResult MissingParam(IReadable referenceNode, IReadable } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/CheckTrendingAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/CheckTrendingAttribute.cs index a4570e34..6a119f8e 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/CheckTrendingAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/CheckTrendingAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.CheckTrendingAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult RTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult RTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -87,9 +87,9 @@ public static IValidationResult RTDisplayExpected(IValidate test, IReadable refe } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult DisabledTrending(IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult DisabledTrending(IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -115,7 +115,7 @@ public static IValidationResult DisabledTrending(IReadable referenceNode, IReada } } - public static class ErrorIds + internal static class ErrorIds { public const uint DisabledTrending = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Database/ColumnDefinition/CheckColumnDefinitionTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Database/ColumnDefinition/CheckColumnDefinitionTag.cs index 063b161c..8b126c24 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Database/ColumnDefinition/CheckColumnDefinitionTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Database/ColumnDefinition/CheckColumnDefinitionTag.cs @@ -8,9 +8,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Database.ColumnDefinition. using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult ChangedLoggerDataType(IReadable referenceNode, IReadable positionNode, string oldType, string tablePid, string newType) + internal static IValidationResult ChangedLoggerDataType(IReadable referenceNode, IReadable positionNode, string oldType, string tablePid, string newType) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult ChangedLoggerDataType(IReadable referenceNode, I } } - public static class ErrorIds + internal static class ErrorIds { public const uint ChangedLoggerDataType = 1; } diff --git a/Protocol/Error Messages/Protocol/Params/Param/Dependencies/Id/CheckIdTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Dependencies/Id/CheckIdTag.cs index 18c9c5c1..bed92dda 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Dependencies/Id/CheckIdTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Dependencies/Id/CheckIdTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Dependencies.Id.CheckIdTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string pid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string pid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult RTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult RTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult RTDisplayExpected(IValidate test, IReadable refe }; } - public static IValidationResult RTDisplayExpectedOnReferencedParam(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string referencingPid) + internal static IValidationResult RTDisplayExpectedOnReferencedParam(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string referencingPid) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult RTDisplayExpectedOnReferencedParam(IValidate tes } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyTag = 1; public const uint UntrimmedTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Description/CheckDescriptionTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Description/CheckDescriptionTag.cs index e20b8f1b..ba9f6e82 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Description/CheckDescriptionTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Description/CheckDescriptionTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Description.CheckDescripti using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateDescription, string paramId) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateDescription, string paramId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere }; } - public static IValidationResult WrongCasing_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string currentValue, string expectedValue, string pid) + internal static IValidationResult WrongCasing_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string currentValue, string expectedValue, string pid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult WrongCasing_Sub(IValidate test, IReadable refere }; } - public static IValidationResult WrongCasing(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult WrongCasing(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -162,9 +162,9 @@ public static IValidationResult WrongCasing(IValidate test, IReadable referenceN } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult UpdatedValue(IReadable referenceNode, IReadable positionNode, string paramId, string previousDescription, string newDescription) + internal static IValidationResult UpdatedValue(IReadable referenceNode, IReadable positionNode, string paramId, string previousDescription, string newDescription) { return new ValidationResult { @@ -189,7 +189,7 @@ public static IValidationResult UpdatedValue(IReadable referenceNode, IReadable }; } - public static IValidationResult RemovedItem(IReadable referenceNode, IReadable positionNode, string descriptionValue, string paramId) + internal static IValidationResult RemovedItem(IReadable referenceNode, IReadable positionNode, string descriptionValue, string paramId) { return new ValidationResult { @@ -215,7 +215,7 @@ public static IValidationResult RemovedItem(IReadable referenceNode, IReadable p } } - public static class ErrorIds + internal static class ErrorIds { public const uint UpdatedValue = 1; public const uint RemovedItem = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Display/CheckDisplayTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Display/CheckDisplayTag.cs index 0bc5f830..f40bfb63 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Display/CheckDisplayTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Display/CheckDisplayTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.CheckDisplayTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyTag = 1; } diff --git a/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/CheckPositionsTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/CheckPositionsTag.cs index fc162afd..eab5a3d9 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/CheckPositionsTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/CheckPositionsTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Positions.CheckPos using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult RTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult RTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult RTDisplayExpected(IValidate test, IReadable refe } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyTag = 1; public const uint RTDisplayExpected = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/Position/Column/CheckColumnTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/Position/Column/CheckColumnTag.cs index b05a6256..27066d83 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/Position/Column/CheckColumnTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/Position/Column/CheckColumnTag.cs @@ -8,9 +8,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Positions.Position using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -35,7 +35,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -60,7 +60,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult InvalidTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pid) + internal static IValidationResult InvalidTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pid) { return new ValidationResult { @@ -85,7 +85,7 @@ public static IValidationResult InvalidTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -110,7 +110,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult UnrecommendedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName, string paramIDs) + internal static IValidationResult UnrecommendedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName, string paramIDs) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult UnrecommendedValue(IValidate test, IReadable ref } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/Position/Page/CheckPageTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/Position/Page/CheckPageTag.cs index 61d1907c..7d5f71ae 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/Position/Page/CheckPageTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/Position/Page/CheckPageTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Positions.Position using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateValue, string paramId) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateValue, string paramId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere }; } - public static IValidationResult WrongCasing_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string currentValue, string expectedValue, string pid) + internal static IValidationResult WrongCasing_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string currentValue, string expectedValue, string pid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult WrongCasing_Sub(IValidate test, IReadable refere }; } - public static IValidationResult WrongCasing(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult WrongCasing(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -162,9 +162,9 @@ public static IValidationResult WrongCasing(IValidate test, IReadable referenceN } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult RemovedFromPage(IReadable referenceNode, IReadable positionNode, string paramPid, string pageName) + internal static IValidationResult RemovedFromPage(IReadable referenceNode, IReadable positionNode, string paramPid, string pageName) { return new ValidationResult { @@ -190,7 +190,7 @@ public static IValidationResult RemovedFromPage(IReadable referenceNode, IReadab } } - public static class ErrorIds + internal static class ErrorIds { public const uint RemovedFromPage = 1; public const uint MissingTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/Position/Row/CheckRowTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/Position/Row/CheckRowTag.cs index c15b2b66..d5673107 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/Position/Row/CheckRowTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Display/Positions/Position/Row/CheckRowTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Positions.Position using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult InvalidTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pid) + internal static IValidationResult InvalidTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Display/RTDisplay/CheckRTDisplayTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Display/RTDisplay/CheckRTDisplayTag.cs index 2cbc37f7..8f0a3ea2 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Display/RTDisplay/CheckRTDisplayTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Display/RTDisplay/CheckRTDisplayTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.RTDisplay.CheckRTD using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult RTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult RTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult RTDisplayExpected(IValidate test, IReadable refe }; } - public static IValidationResult RTDisplayUnexpected(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult RTDisplayUnexpected(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult RTDisplayUnexpected(IValidate test, IReadable re } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyTag = 1; public const uint UntrimmedTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Display/Range/CheckRangeTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Display/Range/CheckRangeTag.cs index f4f689d3..d7360abf 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Display/Range/CheckRangeTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Display/Range/CheckRangeTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Range.CheckRangeTa using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramDisplayType, string paramPid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramDisplayType, string paramPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult UnsupportedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramDisplayType, string paramPid) + internal static IValidationResult UnsupportedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramDisplayType, string paramPid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UnsupportedTag(IValidate test, IReadable referen }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult LowShouldBeSmallerThanHigh(IValidate test, IReadable referenceNode, IReadable positionNode, string rangeLow, string rangeHigh, string paramId) + internal static IValidationResult LowShouldBeSmallerThanHigh(IValidate test, IReadable referenceNode, IReadable positionNode, string rangeLow, string rangeHigh, string paramId) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult LowShouldBeSmallerThanHigh(IValidate test, IRead } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint UnsupportedTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Display/Range/High/CheckHighTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Display/Range/High/CheckHighTag.cs index 0220f1c3..ea6dc486 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Display/Range/High/CheckHighTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Display/Range/High/CheckHighTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Range.High.CheckHi using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string paramId) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string paramId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult UntrimmedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string untrimmedValue) + internal static IValidationResult UntrimmedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedValue(IValidate test, IReadable referen }; } - public static IValidationResult LogarithmicLowerOrEqualToZero(IValidate test, IReadable referenceNode, IReadable positionNode, string rangeHigh, string paramId) + internal static IValidationResult LogarithmicLowerOrEqualToZero(IValidate test, IReadable referenceNode, IReadable positionNode, string rangeHigh, string paramId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult LogarithmicLowerOrEqualToZero(IValidate test, IR }; } - public static IValidationResult WriteDifferentThanRead(IValidate test, IReadable referenceNode, IReadable positionNode, string rangeHighOnWrite, string rangeHighOnRead, string writePid) + internal static IValidationResult WriteDifferentThanRead(IValidate test, IReadable referenceNode, IReadable positionNode, string rangeHighOnWrite, string rangeHighOnRead, string writePid) { return new ValidationResult { @@ -137,9 +137,9 @@ public static IValidationResult WriteDifferentThanRead(IValidate test, IReadable } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult UpdatedHighRange(IReadable referenceNode, IReadable positionNode, string previousValue, string paramPid, string newValue) + internal static IValidationResult UpdatedHighRange(IReadable referenceNode, IReadable positionNode, string previousValue, string paramPid, string newValue) { return new ValidationResult { @@ -164,7 +164,7 @@ public static IValidationResult UpdatedHighRange(IReadable referenceNode, IReada }; } - public static IValidationResult AddedHighRange(IReadable referenceNode, IReadable positionNode, string newValue, string paramPid) + internal static IValidationResult AddedHighRange(IReadable referenceNode, IReadable positionNode, string newValue, string paramPid) { return new ValidationResult { @@ -190,7 +190,7 @@ public static IValidationResult AddedHighRange(IReadable referenceNode, IReadabl } } - public static class ErrorIds + internal static class ErrorIds { public const uint UpdatedHighRange = 1; public const uint AddedHighRange = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Display/Range/Low/CheckLowTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Display/Range/Low/CheckLowTag.cs index e7df2b3f..71e032c7 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Display/Range/Low/CheckLowTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Display/Range/Low/CheckLowTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Range.Low.CheckLow using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string paramId) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string paramId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult UntrimmedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string untrimmedValue) + internal static IValidationResult UntrimmedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedValue(IValidate test, IReadable referen }; } - public static IValidationResult LogarithmicLowerOrEqualToZero(IValidate test, IReadable referenceNode, IReadable positionNode, string rangeLow, string paramId) + internal static IValidationResult LogarithmicLowerOrEqualToZero(IValidate test, IReadable referenceNode, IReadable positionNode, string rangeLow, string paramId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult LogarithmicLowerOrEqualToZero(IValidate test, IR }; } - public static IValidationResult WriteDifferentThanRead(IValidate test, IReadable referenceNode, IReadable positionNode, string rangeLowOnWrite, string rangeLowOnRead, string writePid) + internal static IValidationResult WriteDifferentThanRead(IValidate test, IReadable referenceNode, IReadable positionNode, string rangeLowOnWrite, string rangeLowOnRead, string writePid) { return new ValidationResult { @@ -137,9 +137,9 @@ public static IValidationResult WriteDifferentThanRead(IValidate test, IReadable } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult UpdatedLowRange(IReadable referenceNode, IReadable positionNode, string previousValue, string paramPid, string newValue) + internal static IValidationResult UpdatedLowRange(IReadable referenceNode, IReadable positionNode, string previousValue, string paramPid, string newValue) { return new ValidationResult { @@ -164,7 +164,7 @@ public static IValidationResult UpdatedLowRange(IReadable referenceNode, IReadab }; } - public static IValidationResult AddedLowRange(IReadable referenceNode, IReadable positionNode, string newValue, string paramPid) + internal static IValidationResult AddedLowRange(IReadable referenceNode, IReadable positionNode, string newValue, string paramPid) { return new ValidationResult { @@ -190,7 +190,7 @@ public static IValidationResult AddedLowRange(IReadable referenceNode, IReadable } } - public static class ErrorIds + internal static class ErrorIds { public const uint UpdatedLowRange = 1; public const uint AddedLowRange = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Display/Trending/Type/CheckTypeTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Display/Trending/Type/CheckTypeTag.cs index 6517878a..ad5af29a 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Display/Trending/Type/CheckTypeTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Display/Trending/Type/CheckTypeTag.cs @@ -8,9 +8,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Trending.Type.Chec using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult UpdatedTrendType(IReadable referenceNode, IReadable positionNode, string oldTrendType, string paramId, string newTrendType) + internal static IValidationResult UpdatedTrendType(IReadable referenceNode, IReadable positionNode, string oldTrendType, string paramId, string newTrendType) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult UpdatedTrendType(IReadable referenceNode, IReada } } - public static class ErrorIds + internal static class ErrorIds { public const uint UpdatedTrendType = 1; } diff --git a/Protocol/Error Messages/Protocol/Params/Param/Display/Units/CheckUnitsTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Display/Units/CheckUnitsTag.cs index 52fcc726..135462c1 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Display/Units/CheckUnitsTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Display/Units/CheckUnitsTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Units.CheckUnitsTa using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult OutdatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string obsoleteUnit, string newUnit, string paramPid) + internal static IValidationResult OutdatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string obsoleteUnit, string newUnit, string paramPid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult OutdatedValue(IValidate test, IReadable referenc }; } - public static IValidationResult InvalidTag(IValidate test, IReadable referenceNode, IReadable positionNode, string unitValue, string paramPid) + internal static IValidationResult InvalidTag(IValidate test, IReadable referenceNode, IReadable positionNode, string unitValue, string paramPid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult UnsupportedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramDisplayType, string paramPid) + internal static IValidationResult UnsupportedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramDisplayType, string paramPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult UnsupportedTag(IValidate test, IReadable referen }; } - public static IValidationResult ExcessiveTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagName, string reason, string paramPid) + internal static IValidationResult ExcessiveTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagName, string reason, string paramPid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult ExcessiveTag(IValidate test, IReadable reference }; } - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramDisplayType, string paramPid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramDisplayType, string paramPid) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -187,7 +187,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyTag = 2; public const uint OutdatedValue = 3; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Information/Includes/CheckIncludesTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Information/Includes/CheckIncludesTag.cs index 49234aea..0a56668f 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Information/Includes/CheckIncludesTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Information/Includes/CheckIncludesTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Information.Includes.Check using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult ObsoleteTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult ObsoleteTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult ObsoleteTag(IValidate test, IReadable referenceN } } - public static class ErrorIds + internal static class ErrorIds { public const uint ObsoleteTag = 1; } diff --git a/Protocol/Error Messages/Protocol/Params/Param/Information/Subtext/CheckSubtextTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Information/Subtext/CheckSubtextTag.cs index ffafb4bf..597e43a2 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Information/Subtext/CheckSubtextTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Information/Subtext/CheckSubtextTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Information.Subtext.CheckS using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Interprete/DefaultValue/CheckDefaultValueTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Interprete/DefaultValue/CheckDefaultValueTag.cs index 1d619c9c..8b51fc41 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Interprete/DefaultValue/CheckDefaultValueTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Interprete/DefaultValue/CheckDefaultValueTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.DefaultValue.Ch using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult UnsupportedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult UnsupportedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult UnsupportedTag(IValidate test, IReadable referen }; } - public static IValidationResult NotYetSupportedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) + internal static IValidationResult NotYetSupportedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult NotYetSupportedTag(IValidate test, IReadable ref }; } - public static IValidationResult ValueIncompatibleWithInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string defaultValue, string interpreteType, string pid) + internal static IValidationResult ValueIncompatibleWithInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string defaultValue, string interpreteType, string pid) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult ValueIncompatibleWithInterpreteType(IValidate te } } - public static class ErrorIds + internal static class ErrorIds { public const uint UnsupportedTag = 1; public const uint NotYetSupportedTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/CheckExceptionsTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/CheckExceptionsTag.cs index 19c10ae2..f81268f9 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/CheckExceptionsTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/CheckExceptionsTag.cs @@ -8,9 +8,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.Exceptions.Chec using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult UpdatedExceptionValueTag(IReadable referenceNode, IReadable positionNode, string exceptionId, string paramPid, string previousExceptionValue, string newExceptionValue) + internal static IValidationResult UpdatedExceptionValueTag(IReadable referenceNode, IReadable positionNode, string exceptionId, string paramPid, string previousExceptionValue, string newExceptionValue) { return new ValidationResult { @@ -35,7 +35,7 @@ public static IValidationResult UpdatedExceptionValueTag(IReadable referenceNode }; } - public static IValidationResult RemovedException(IReadable referenceNode, IReadable positionNode, string exceptionId, string paramPid) + internal static IValidationResult RemovedException(IReadable referenceNode, IReadable positionNode, string exceptionId, string paramPid) { return new ValidationResult { @@ -60,7 +60,7 @@ public static IValidationResult RemovedException(IReadable referenceNode, IReada }; } - public static IValidationResult AddedException(IReadable referenceNode, IReadable positionNode, string exceptionId, string paramPid) + internal static IValidationResult AddedException(IReadable referenceNode, IReadable positionNode, string exceptionId, string paramPid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult AddedException(IReadable referenceNode, IReadabl } } - public static class ErrorIds + internal static class ErrorIds { public const uint UpdatedExceptionValueTag = 1; public const uint RemovedException = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/Exception/CheckValueAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/Exception/CheckValueAttribute.cs index 550eb476..8f0abb54 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/Exception/CheckValueAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/Exception/CheckValueAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.Exceptions.Exce using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult ValueIncompatibleWithInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string exceptionValue, string interpreteType, string pid) + internal static IValidationResult ValueIncompatibleWithInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string exceptionValue, string interpreteType, string pid) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult ValueIncompatibleWithInterpreteType(IValidate te } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint ValueIncompatibleWithInterpreteType = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/Exception/Display/CheckDisplayTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/Exception/Display/CheckDisplayTag.cs index e35e7a50..c604199b 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/Exception/Display/CheckDisplayTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/Exception/Display/CheckDisplayTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.Exceptions.Exce using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult UnrecommendedNADisplayValue(IValidate test, IReadable referenceNode, IReadable positionNode, string currentDisplay, string paramPid, string possibleValues) + internal static IValidationResult UnrecommendedNADisplayValue(IValidate test, IReadable referenceNode, IReadable positionNode, string currentDisplay, string paramPid, string possibleValues) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult UnrecommendedNADisplayValue(IValidate test, IRea }; } - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateValue, string paramId) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateValue, string paramId) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere }; } - public static IValidationResult WrongCasing_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string currentValue, string expectedValue, string pid) + internal static IValidationResult WrongCasing_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string currentValue, string expectedValue, string pid) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult WrongCasing_Sub(IValidate test, IReadable refere }; } - public static IValidationResult WrongCasing(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult WrongCasing(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -187,7 +187,7 @@ public static IValidationResult WrongCasing(IValidate test, IReadable referenceN } } - public static class ErrorIds + internal static class ErrorIds { public const uint UnrecommendedNADisplayValue = 1; public const uint MissingTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/Exception/Value/CheckValueTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/Exception/Value/CheckValueTag.cs index bd98260a..08ec2219 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/Exception/Value/CheckValueTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Interprete/Exceptions/Exception/Value/CheckValueTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.Exceptions.Exce using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult ValueIncompatibleWithInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string exceptionValue, string interpreteType, string pid) + internal static IValidationResult ValueIncompatibleWithInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string exceptionValue, string interpreteType, string pid) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult ValueIncompatibleWithInterpreteType(IValidate te } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint UntrimmedTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Interprete/Length/CheckLengthTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Interprete/Length/CheckLengthTag.cs index e3f33284..18c7176b 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Interprete/Length/CheckLengthTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Interprete/Length/CheckLengthTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.Length.CheckLen using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, Severity severity, string tagValue, string paramId) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, Severity severity, string tagValue, string paramId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Interprete/LengthType/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/Interprete/LengthType/CheckIdAttribute.cs index 35977b84..f6997590 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Interprete/LengthType/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Interprete/LengthType/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.LengthType.Chec using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string nonExistingParamId, string paramId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string nonExistingParamId, string paramId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ReferencedParamWrongInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string interpreteType, string paramId) + internal static IValidationResult ReferencedParamWrongInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string interpreteType, string paramId) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult ReferencedParamWrongInterpreteType(IValidate tes } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Interprete/LengthType/CheckLengthTypeTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Interprete/LengthType/CheckLengthTypeTag.cs index dd4d2b01..18cd3fc6 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Interprete/LengthType/CheckLengthTypeTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Interprete/LengthType/CheckLengthTypeTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.LengthType.Chec using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string paramId) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string paramId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Interprete/Others/CheckOthersTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Interprete/Others/CheckOthersTag.cs index 9fea1711..ece4672c 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Interprete/Others/CheckOthersTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Interprete/Others/CheckOthersTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.Others.CheckOth using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult UpdateOtherId(IReadable referenceNode, IReadable positionNode, string oldId, string newId, string valueTag, string paramPid) + internal static IValidationResult UpdateOtherId(IReadable referenceNode, IReadable positionNode, string oldId, string newId, string valueTag, string paramPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult UpdateOtherId(IReadable referenceNode, IReadable }; } - public static IValidationResult UpdateOtherDisplay(IReadable referenceNode, IReadable positionNode, string oldDisplayTag, string newDisplayTag, string valueTag, string paramPid) + internal static IValidationResult UpdateOtherDisplay(IReadable referenceNode, IReadable positionNode, string oldDisplayTag, string newDisplayTag, string valueTag, string paramPid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UpdateOtherDisplay(IReadable referenceNode, IRea }; } - public static IValidationResult DeletedValue(IReadable referenceNode, IReadable positionNode, string oldValue, string paramPid) + internal static IValidationResult DeletedValue(IReadable referenceNode, IReadable positionNode, string oldValue, string paramPid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult DeletedValue(IReadable referenceNode, IReadable }; } - public static IValidationResult AddedOthers(IReadable referenceNode, IReadable positionNode, string newValue, string paramPid) + internal static IValidationResult AddedOthers(IReadable referenceNode, IReadable positionNode, string newValue, string paramPid) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult AddedOthers(IReadable referenceNode, IReadable p } } - public static class ErrorIds + internal static class ErrorIds { public const uint UpdateOtherId = 1; public const uint UpdateOtherDisplay = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Interprete/Type/CheckTypeTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Interprete/Type/CheckTypeTag.cs index 0591f283..f320f98b 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Interprete/Type/CheckTypeTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Interprete/Type/CheckTypeTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.Type.CheckTypeT using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult UpdatedValue(IReadable referenceNode, IReadable positionNode, string paramId, string oldTypeValue, string newTypeValue) + internal static IValidationResult UpdatedValue(IReadable referenceNode, IReadable positionNode, string paramId, string oldTypeValue, string newTypeValue) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult UpdatedValue(IReadable referenceNode, IReadable }; } - public static IValidationResult RemovedTag(IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult RemovedTag(IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult RemovedTag(IReadable referenceNode, IReadable po }; } - public static IValidationResult AddedTag(IReadable referenceNode, IReadable positionNode, string typeValue, string paramId) + internal static IValidationResult AddedTag(IReadable referenceNode, IReadable positionNode, string typeValue, string paramId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult AddedTag(IReadable referenceNode, IReadable posi } } - public static class ErrorIds + internal static class ErrorIds { public const uint UpdatedValue = 1; public const uint RemovedTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/CheckDependencyId.cs b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/CheckDependencyId.cs index 4a274ce0..c48449c0 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/CheckDependencyId.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/CheckDependencyId.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Chec using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string pid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string pid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string pid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string pid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ReferencedParamWrongType(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedParamType, string referencedPid) + internal static IValidationResult ReferencedParamWrongType(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedParamType, string referencedPid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult ReferencedParamWrongType(IValidate test, IReadab }; } - public static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string referencingPid) + internal static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string referencingPid) { return new ValidationResult { @@ -162,7 +162,7 @@ public static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint UntrimmedAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/CheckDiscreetsTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/CheckDiscreetsTag.cs index 6fff2fb3..02218876 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/CheckDiscreetsTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/CheckDiscreetsTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Chec using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramDisplayType, string pid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramDisplayType, string pid) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; } diff --git a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/CheckMatrixDiscreets.cs b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/CheckMatrixDiscreets.cs index 89400ff7..e340a49b 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/CheckMatrixDiscreets.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/CheckMatrixDiscreets.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Chec using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult InvalidDiscreetCount(IValidate test, IReadable referenceNode, IReadable positionNode, string discreetCount, string expectedDiscreetCount, string matrixPid) + internal static IValidationResult InvalidDiscreetCount(IValidate test, IReadable referenceNode, IReadable positionNode, string discreetCount, string expectedDiscreetCount, string matrixPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult InvalidDiscreetCount(IValidate test, IReadable r }; } - public static IValidationResult MissingDiscreetValue(IValidate test, IReadable referenceNode, IReadable positionNode, string missingValues, string matrixPid) + internal static IValidationResult MissingDiscreetValue(IValidate test, IReadable referenceNode, IReadable positionNode, string missingValues, string matrixPid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult MissingDiscreetValue(IValidate test, IReadable r }; } - public static IValidationResult DiscreetsNotOneBased(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) + internal static IValidationResult DiscreetsNotOneBased(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult DiscreetsNotOneBased(IValidate test, IReadable r } } - public static class ErrorIds + internal static class ErrorIds { public const uint InvalidDiscreetCount = 1; public const uint MissingDiscreetValue = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDependencyValuesAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDependencyValuesAttribute.cs index ecac5048..0fe113aa 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDependencyValuesAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDependencyValuesAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Disc using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referencePid, string pid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referencePid, string pid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string referencePid, string pid) + internal static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string referencePid, string pid) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint UntrimmedAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDiscreetTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDiscreetTag.cs index 5a52344f..b5d4d96c 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDiscreetTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDiscreetTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Disc using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; } diff --git a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckOptionsAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckOptionsAttribute.cs index c2e0e41e..d799655b 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckOptionsAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckOptionsAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Disc using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MisconfiguredConfirmOptions(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MisconfiguredConfirmOptions(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MisconfiguredConfirmOptions(IValidate test, IRea }; } - public static IValidationResult MissingConfirmOption(IValidate test, IReadable referenceNode, IReadable positionNode, string contextMenuItem, string pid) + internal static IValidationResult MissingConfirmOption(IValidate test, IReadable referenceNode, IReadable positionNode, string contextMenuItem, string pid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult MissingConfirmOption(IValidate test, IReadable r }; } - public static IValidationResult EmptyConfirmOption(IValidate test, IReadable referenceNode, IReadable positionNode, string contextMenuItem, string pid) + internal static IValidationResult EmptyConfirmOption(IValidate test, IReadable referenceNode, IReadable positionNode, string contextMenuItem, string pid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult EmptyConfirmOption(IValidate test, IReadable ref }; } - public static IValidationResult UntrimmedConfirmOption(IValidate test, IReadable referenceNode, IReadable positionNode, string contextMenuItem, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedConfirmOption(IValidate test, IReadable referenceNode, IReadable positionNode, string contextMenuItem, string pid, string untrimmedValue) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult UntrimmedConfirmOption(IValidate test, IReadable } } - public static class ErrorIds + internal static class ErrorIds { public const uint MisconfiguredConfirmOptions = 1; public const uint MissingConfirmOption = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/Display/CheckDisplayTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/Display/CheckDisplayTag.cs index eb9d2585..209684ce 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/Display/CheckDisplayTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/Display/CheckDisplayTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Disc using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult InvalidPagebuttonCaption(IValidate test, IReadable referenceNode, IReadable positionNode, string displayValue, string suggestedValue, string paramId) + internal static IValidationResult InvalidPagebuttonCaption(IValidate test, IReadable referenceNode, IReadable positionNode, string displayValue, string suggestedValue, string paramId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult InvalidPagebuttonCaption(IValidate test, IReadab }; } - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string untrimmedValue) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateValue, string paramId) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateValue, string paramId) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere }; } - public static IValidationResult WrongCasing_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string currentValue, string expectedValue, string pid) + internal static IValidationResult WrongCasing_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string currentValue, string expectedValue, string pid) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult WrongCasing_Sub(IValidate test, IReadable refere }; } - public static IValidationResult WrongCasing(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult WrongCasing(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -187,9 +187,9 @@ public static IValidationResult WrongCasing(IValidate test, IReadable referenceN } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult UpdatedValue(IReadable referenceNode, IReadable positionNode, string oldValue, string paramId, string previousDispay, string newDisplay) + internal static IValidationResult UpdatedValue(IReadable referenceNode, IReadable positionNode, string oldValue, string paramId, string previousDispay, string newDisplay) { return new ValidationResult { @@ -215,7 +215,7 @@ public static IValidationResult UpdatedValue(IReadable referenceNode, IReadable } } - public static class ErrorIds + internal static class ErrorIds { public const uint UpdatedValue = 1; public const uint InvalidPagebuttonCaption = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/Value/CheckValueTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/Value/CheckValueTag.cs index ab83089b..6780973d 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/Value/CheckValueTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Discreets/Discreet/Value/CheckValueTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Disc using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult UpdatedValue(IReadable referenceNode, IReadable positionNode, string displayValue, string paramId, string previousValue, string newValue) + internal static IValidationResult UpdatedValue(IReadable referenceNode, IReadable positionNode, string displayValue, string paramId, string previousValue, string newValue) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult UpdatedValue(IReadable referenceNode, IReadable }; } - public static IValidationResult RemovedItem(IReadable referenceNode, IReadable positionNode, string discreetValue, string paramId) + internal static IValidationResult RemovedItem(IReadable referenceNode, IReadable positionNode, string discreetValue, string paramId) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult RemovedItem(IReadable referenceNode, IReadable p } } - public static class ErrorIds + internal static class ErrorIds { public const uint UpdatedValue = 1; public const uint RemovedItem = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckLinkAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckLinkAttribute.cs index 3a6fa05b..058a7c5d 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckLinkAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckLinkAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Type.CheckLink using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer }; } - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint InvalidAttribute = 1; public const uint MissingAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckOptionsAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckOptionsAttribute.cs index 1dfcf5d9..d0ac961f 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckOptionsAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckOptionsAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Type.CheckOpti using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingPriorityForSortedColumns(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult MissingPriorityForSortedColumns(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingPriorityForSortedColumns(IValidate test, }; } - public static IValidationResult InvalidConnectedMatrixPoints(IValidate test, IReadable referenceNode, IReadable positionNode, string badValue, string minOrMax, string inputOrOutput, string matrixPid) + internal static IValidationResult InvalidConnectedMatrixPoints(IValidate test, IReadable referenceNode, IReadable positionNode, string badValue, string minOrMax, string inputOrOutput, string matrixPid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult InvalidConnectedMatrixPoints(IValidate test, IRe }; } - public static IValidationResult InvalidColumnDimensionsToOutputCount(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid, string measurementOutputCount, string dimensionColumnCount) + internal static IValidationResult InvalidColumnDimensionsToOutputCount(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid, string measurementOutputCount, string dimensionColumnCount) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidColumnDimensionsToOutputCount(IValidate t }; } - public static IValidationResult InvalidMatrixDimensionsToInputCount(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid, string measurementInputCount, string dimensionRowCount) + internal static IValidationResult InvalidMatrixDimensionsToInputCount(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid, string measurementInputCount, string dimensionRowCount) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidMatrixDimensionsToInputCount(IValidate te }; } - public static IValidationResult InvalidMatrixOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string matrixPid) + internal static IValidationResult InvalidMatrixOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string matrixPid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult InvalidMatrixOption(IValidate test, IReadable re }; } - public static IValidationResult MissingMatrixOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string matrixPid) + internal static IValidationResult MissingMatrixOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string matrixPid) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult MissingMatrixOption(IValidate test, IReadable re }; } - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult MissingSortingOnDateTimeColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string columnPids) + internal static IValidationResult MissingSortingOnDateTimeColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string columnPids) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult MissingSortingOnDateTimeColumn(IValidate test, I }; } - public static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string tablePid) + internal static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string tablePid) { return new ValidationResult { @@ -237,9 +237,9 @@ public static IValidationResult ReferencedParamRTDisplayExpected(IValidate test, } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult ColumnOrderChanged(IReadable referenceNode, IReadable positionNode, string oldColumnOrder, string tablePid, string newColumnOrder) + internal static IValidationResult ColumnOrderChanged(IReadable referenceNode, IReadable positionNode, string oldColumnOrder, string tablePid, string newColumnOrder) { return new ValidationResult { @@ -265,7 +265,7 @@ public static IValidationResult ColumnOrderChanged(IReadable referenceNode, IRea } } - public static class ErrorIds + internal static class ErrorIds { public const uint ColumnOrderChanged = 1; public const uint MissingPriorityForSortedColumns = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckTypeTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckTypeTag.cs index f3b3a398..c0ef3722 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckTypeTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckTypeTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Type.CheckType using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult TogglebuttonRecommended(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult TogglebuttonRecommended(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult TogglebuttonRecommended(IValidate test, IReadabl }; } - public static IValidationResult MatrixInvalidInterpreteRawType(IValidate test, IReadable referenceNode, IReadable positionNode, string rawType, string matrixPid, bool hasCodeFix) + internal static IValidationResult MatrixInvalidInterpreteRawType(IValidate test, IReadable referenceNode, IReadable positionNode, string rawType, string matrixPid, bool hasCodeFix) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult MatrixInvalidInterpreteRawType(IValidate test, I }; } - public static IValidationResult MatrixInvalidInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string interpreteType, string matrixPid, string expectedInterpreteType, bool hasCodeFix) + internal static IValidationResult MatrixInvalidInterpreteType(IValidate test, IReadable referenceNode, IReadable positionNode, string interpreteType, string matrixPid, string expectedInterpreteType, bool hasCodeFix) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult MatrixInvalidInterpreteType(IValidate test, IRea }; } - public static IValidationResult MatrixInvalidInterpreteLengthType(IValidate test, IReadable referenceNode, IReadable positionNode, string lengthType, string matrixPid, bool hasCodeFix) + internal static IValidationResult MatrixInvalidInterpreteLengthType(IValidate test, IReadable referenceNode, IReadable positionNode, string lengthType, string matrixPid, bool hasCodeFix) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult MatrixInvalidInterpreteLengthType(IValidate test }; } - public static IValidationResult MatrixAlarmingDisabled(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) + internal static IValidationResult MatrixAlarmingDisabled(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult MatrixAlarmingDisabled(IValidate test, IReadable }; } - public static IValidationResult MatrixTrendingEnabled(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) + internal static IValidationResult MatrixTrendingEnabled(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult MatrixTrendingEnabled(IValidate test, IReadable }; } - public static IValidationResult MatrixSetterOnWrite(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) + internal static IValidationResult MatrixSetterOnWrite(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult MatrixSetterOnWrite(IValidate test, IReadable re }; } - public static IValidationResult MatrixInvalidInterprete(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) + internal static IValidationResult MatrixInvalidInterprete(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult MatrixInvalidInterprete(IValidate test, IReadabl }; } - public static IValidationResult InvalidParamType(IValidate test, IReadable referenceNode, IReadable positionNode, string paramType, string measurementType, string paramId) + internal static IValidationResult InvalidParamType(IValidate test, IReadable referenceNode, IReadable positionNode, string paramType, string measurementType, string paramId) { return new ValidationResult { @@ -236,7 +236,7 @@ public static IValidationResult InvalidParamType(IValidate test, IReadable refer }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -261,7 +261,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string measurementType, string paramId) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string measurementType, string paramId) { return new ValidationResult { @@ -286,7 +286,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string untrimmedValue) { return new ValidationResult { @@ -312,7 +312,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint TogglebuttonRecommended = 1; public const uint MatrixInvalidInterpreteRawType = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckWidthAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckWidthAttribute.cs index cbcf2106..b0cdeb55 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckWidthAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Measurement/Type/CheckWidthAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Type.CheckWidt using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyWidth(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyWidth(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyWidth(IValidate test, IReadable referenceNo }; } - public static IValidationResult UntrimmedWidth(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedWidth, string pid) + internal static IValidationResult UntrimmedWidth(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedWidth, string pid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedWidth(IValidate test, IReadable referen }; } - public static IValidationResult InvalidWidth(IValidate test, IReadable referenceNode, IReadable positionNode, string invalidWidth, string pid) + internal static IValidationResult InvalidWidth(IValidate test, IReadable referenceNode, IReadable positionNode, string invalidWidth, string pid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidWidth(IValidate test, IReadable reference }; } - public static IValidationResult InconsistentWidth(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName, string paramIDs, string widthValues, bool hasCodeFix) + internal static IValidationResult InconsistentWidth(IValidate test, IReadable referenceNode, IReadable positionNode, string pageName, string paramIDs, string widthValues, bool hasCodeFix) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult InconsistentWidth(IValidate test, IReadable refe }; } - public static IValidationResult UnsupportedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string measurementType, string pid) + internal static IValidationResult UnsupportedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string measurementType, string pid) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult UnsupportedAttribute(IValidate test, IReadable r }; } - public static IValidationResult UnrecommendedWidth(IValidate test, IReadable referenceNode, IReadable positionNode, string widthValue, string pid) + internal static IValidationResult UnrecommendedWidth(IValidate test, IReadable referenceNode, IReadable positionNode, string widthValue, string pid) { return new ValidationResult { @@ -187,7 +187,7 @@ public static IValidationResult UnrecommendedWidth(IValidate test, IReadable ref } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyWidth = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Message/CheckMessageTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Message/CheckMessageTag.cs index fc117fe6..3907cf27 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Message/CheckMessageTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Message/CheckMessageTag.cs @@ -7,9 +7,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Message.CheckMessageTag using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -34,7 +34,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult MissingTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string discreetDisplayValue) + internal static IValidationResult MissingTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string discreetDisplayValue) { return new ValidationResult { @@ -60,7 +60,7 @@ public static IValidationResult MissingTag_Sub(IValidate test, IReadable referen } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint MissingTag_Sub = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Name/CheckColumnNames.cs b/Protocol/Error Messages/Protocol/Params/Param/Name/CheckColumnNames.cs index 2a6d63b9..7bc71320 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Name/CheckColumnNames.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Name/CheckColumnNames.cs @@ -7,9 +7,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Name.CheckColumnNames using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class Error + internal static class Error { - public static IValidationResult MissingTableNameAsPrefixes(IValidate test, IReadable referenceNode, IReadable positionNode, string tableName, string tablePid) + internal static IValidationResult MissingTableNameAsPrefixes(IValidate test, IReadable referenceNode, IReadable positionNode, string tableName, string tablePid) { return new ValidationResult { @@ -34,7 +34,7 @@ public static IValidationResult MissingTableNameAsPrefixes(IValidate test, IRead }; } - public static IValidationResult MissingTableNameAsPrefix(IValidate test, IReadable referenceNode, IReadable positionNode, string tableName, string columnName, string columnPid) + internal static IValidationResult MissingTableNameAsPrefix(IValidate test, IReadable referenceNode, IReadable positionNode, string tableName, string columnName, string columnPid) { return new ValidationResult { @@ -60,7 +60,7 @@ public static IValidationResult MissingTableNameAsPrefix(IValidate test, IReadab } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTableNameAsPrefixes = 1; public const uint MissingTableNameAsPrefix = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Name/CheckNameTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Name/CheckNameTag.cs index e1be150a..ae02c990 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Name/CheckNameTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Name/CheckNameTag.cs @@ -8,9 +8,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Name.CheckNameTag using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -35,7 +35,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -60,7 +60,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -85,7 +85,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidChars(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string invalidCharacters) + internal static IValidationResult InvalidChars(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string invalidCharacters) { return new ValidationResult { @@ -110,7 +110,7 @@ public static IValidationResult InvalidChars(IValidate test, IReadable reference }; } - public static IValidationResult RestrictedName(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string paramName) + internal static IValidationResult RestrictedName(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string paramName) { return new ValidationResult { @@ -135,7 +135,7 @@ public static IValidationResult RestrictedName(IValidate test, IReadable referen }; } - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string paramIds) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string paramIds) { return new ValidationResult { @@ -160,7 +160,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere }; } - public static IValidationResult UnrecommendedChars(IValidate test, IReadable referenceNode, IReadable positionNode, string tagName, string tagValue, string invalidCharacters) + internal static IValidationResult UnrecommendedChars(IValidate test, IReadable referenceNode, IReadable positionNode, string tagName, string tagValue, string invalidCharacters) { return new ValidationResult { @@ -191,7 +191,7 @@ public static IValidationResult UnrecommendedChars(IValidate test, IReadable ref }; } - public static IValidationResult UnrecommendedStartChars(IValidate test, IReadable referenceNode, IReadable positionNode, string tagName, string tagValue, string unrecommendedStartCharacters) + internal static IValidationResult UnrecommendedStartChars(IValidate test, IReadable referenceNode, IReadable positionNode, string tagName, string tagValue, string unrecommendedStartCharacters) { return new ValidationResult { @@ -216,7 +216,7 @@ public static IValidationResult UnrecommendedStartChars(IValidate test, IReadabl }; } - public static IValidationResult RTDisplayExpectedOnContextMenu(IValidate test, IReadable referenceNode, IReadable positionNode, string contextMenuPid) + internal static IValidationResult RTDisplayExpectedOnContextMenu(IValidate test, IReadable referenceNode, IReadable positionNode, string contextMenuPid) { return new ValidationResult { @@ -241,7 +241,7 @@ public static IValidationResult RTDisplayExpectedOnContextMenu(IValidate test, I }; } - public static IValidationResult RTDisplayExpectedOnQActionFeedback(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionFeedbackPid) + internal static IValidationResult RTDisplayExpectedOnQActionFeedback(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionFeedbackPid) { return new ValidationResult { @@ -267,9 +267,9 @@ public static IValidationResult RTDisplayExpectedOnQActionFeedback(IValidate tes } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult LoggerTableColumnNameChanged(IReadable referenceNode, IReadable positionNode, string oldColumnName, string columnPid, string tablePid, string newColumnName) + internal static IValidationResult LoggerTableColumnNameChanged(IReadable referenceNode, IReadable positionNode, string oldColumnName, string columnPid, string tablePid, string newColumnName) { return new ValidationResult { @@ -295,7 +295,7 @@ public static IValidationResult LoggerTableColumnNameChanged(IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/SNMP/OID/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/SNMP/OID/CheckIdAttribute.cs index 361439d4..4be6d515 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/SNMP/OID/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/SNMP/OID/CheckIdAttribute.cs @@ -7,9 +7,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.SNMP.OID.CheckIdAttribute using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -34,7 +34,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult InvalidAttributeValue(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string currentValue) + internal static IValidationResult InvalidAttributeValue(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string currentValue) { return new ValidationResult { @@ -59,7 +59,7 @@ public static IValidationResult InvalidAttributeValue(IValidate test, IReadable }; } - public static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string pid) + internal static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string pid) { return new ValidationResult { @@ -84,7 +84,7 @@ public static IValidationResult NonExistingParam(IValidate test, IReadable refer }; } - public static IValidationResult UnsupportedParam(IValidate test, IReadable referenceNode, IReadable positionNode, string idAttributeValue, string pid) + internal static IValidationResult UnsupportedParam(IValidate test, IReadable referenceNode, IReadable positionNode, string idAttributeValue, string pid) { return new ValidationResult { @@ -109,7 +109,7 @@ public static IValidationResult UnsupportedParam(IValidate test, IReadable refer }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -135,7 +135,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint InvalidAttributeValue = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/SNMP/OID/CheckOidTagIdAttrCombo.cs b/Protocol/Error Messages/Protocol/Params/Param/SNMP/OID/CheckOidTagIdAttrCombo.cs index 17042fd2..13f11d6b 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/SNMP/OID/CheckOidTagIdAttrCombo.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/SNMP/OID/CheckOidTagIdAttrCombo.cs @@ -7,9 +7,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.SNMP.OID.CheckOidTagIdAttr using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class Error + internal static class Error { - public static IValidationResult ExcessiveAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult ExcessiveAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -34,7 +34,7 @@ public static IValidationResult ExcessiveAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidCombo(IValidate test, IReadable referenceNode, IReadable positionNode, string oidValue, string idValue, string pid) + internal static IValidationResult InvalidCombo(IValidate test, IReadable referenceNode, IReadable positionNode, string oidValue, string idValue, string pid) { return new ValidationResult { @@ -60,7 +60,7 @@ public static IValidationResult InvalidCombo(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint ExcessiveAttribute = 1; public const uint InvalidCombo = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/SNMP/TrapOID/CheckMapAlarmAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/SNMP/TrapOID/CheckMapAlarmAttribute.cs index bbda2133..b4f50dbd 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/SNMP/TrapOID/CheckMapAlarmAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/SNMP/TrapOID/CheckMapAlarmAttribute.cs @@ -7,9 +7,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.SNMP.TrapOID.CheckMapAlarm using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -34,7 +34,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -59,7 +59,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult RTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult RTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -85,7 +85,7 @@ public static IValidationResult RTDisplayExpected(IValidate test, IReadable refe } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint UntrimmedAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Type/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/Type/CheckIdAttribute.cs index ad9682e0..f7ba7478 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Type/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Type/CheckIdAttribute.cs @@ -7,9 +7,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Type.CheckIdAttribute using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -34,7 +34,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -59,7 +59,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string pid) + internal static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string pid) { return new ValidationResult { @@ -84,7 +84,7 @@ public static IValidationResult NonExistingParam(IValidate test, IReadable refer }; } - public static IValidationResult NonExistingResponse(IValidate test, IReadable referenceNode, IReadable positionNode, string responseId, string pid) + internal static IValidationResult NonExistingResponse(IValidate test, IReadable referenceNode, IReadable positionNode, string responseId, string pid) { return new ValidationResult { @@ -109,7 +109,7 @@ public static IValidationResult NonExistingResponse(IValidate test, IReadable re }; } - public static IValidationResult NonExistingColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string pid) + internal static IValidationResult NonExistingColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string pid) { return new ValidationResult { @@ -134,7 +134,7 @@ public static IValidationResult NonExistingColumn(IValidate test, IReadable refe }; } - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string paramType, string pid) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string paramType, string pid) { return new ValidationResult { @@ -160,7 +160,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint UntrimmedAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Type/CheckOptionsAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/Type/CheckOptionsAttribute.cs index d76fde6a..55e39fdb 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Type/CheckOptionsAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Type/CheckOptionsAttribute.cs @@ -7,9 +7,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Type.CheckOptionsAttribute using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class Error + internal static class Error { - public static IValidationResult MissingHeaderTrailerLinkOptions(IValidate test, IReadable referenceNode, IReadable positionNode, string headerOrTrailer, string paramId) + internal static IValidationResult MissingHeaderTrailerLinkOptions(IValidate test, IReadable referenceNode, IReadable positionNode, string headerOrTrailer, string paramId) { return new ValidationResult { @@ -34,7 +34,7 @@ public static IValidationResult MissingHeaderTrailerLinkOptions(IValidate test, }; } - public static IValidationResult InvalidHeaderTrailerLinkOptions(IValidate test, IReadable referenceNode, IReadable positionNode, string headerOrTrailer, string paramId) + internal static IValidationResult InvalidHeaderTrailerLinkOptions(IValidate test, IReadable referenceNode, IReadable positionNode, string headerOrTrailer, string paramId) { return new ValidationResult { @@ -59,7 +59,7 @@ public static IValidationResult InvalidHeaderTrailerLinkOptions(IValidate test, }; } - public static IValidationResult ExcessiveHeaderTrailerLinkOptions(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult ExcessiveHeaderTrailerLinkOptions(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -84,7 +84,7 @@ public static IValidationResult ExcessiveHeaderTrailerLinkOptions(IValidate test }; } - public static IValidationResult DuplicateHeaderTrailerLinkOptions(IValidate test, IReadable referenceNode, IReadable positionNode, string linkId, string headerOrTrailer, string paramPids) + internal static IValidationResult DuplicateHeaderTrailerLinkOptions(IValidate test, IReadable referenceNode, IReadable positionNode, string linkId, string headerOrTrailer, string paramPids) { return new ValidationResult { @@ -109,7 +109,7 @@ public static IValidationResult DuplicateHeaderTrailerLinkOptions(IValidate test }; } - public static IValidationResult InconsistentColumnTypeDimensions(IValidate test, IReadable referenceNode, IReadable positionNode, string columnTypes, string dimensions, string matrixPid) + internal static IValidationResult InconsistentColumnTypeDimensions(IValidate test, IReadable referenceNode, IReadable positionNode, string columnTypes, string dimensions, string matrixPid) { return new ValidationResult { @@ -134,7 +134,7 @@ public static IValidationResult InconsistentColumnTypeDimensions(IValidate test, }; } - public static IValidationResult InvalidColumnTypeParamRawType(IValidate test, IReadable referenceNode, IReadable positionNode, string rawType, string columnTypePid, string matrixPid) + internal static IValidationResult InvalidColumnTypeParamRawType(IValidate test, IReadable referenceNode, IReadable positionNode, string rawType, string columnTypePid, string matrixPid) { return new ValidationResult { @@ -159,7 +159,7 @@ public static IValidationResult InvalidColumnTypeParamRawType(IValidate test, IR }; } - public static IValidationResult MissingMatrixOptions(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string matrixPid) + internal static IValidationResult MissingMatrixOptions(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string matrixPid) { return new ValidationResult { @@ -184,7 +184,7 @@ public static IValidationResult MissingMatrixOptions(IValidate test, IReadable r }; } - public static IValidationResult MissingAttributeForMatrix(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) + internal static IValidationResult MissingAttributeForMatrix(IValidate test, IReadable referenceNode, IReadable positionNode, string matrixPid) { return new ValidationResult { @@ -209,7 +209,7 @@ public static IValidationResult MissingAttributeForMatrix(IValidate test, IReada }; } - public static IValidationResult InvalidMatrixParamType(IValidate test, IReadable referenceNode, IReadable positionNode, string paramType, string matrixPid) + internal static IValidationResult InvalidMatrixParamType(IValidate test, IReadable referenceNode, IReadable positionNode, string paramType, string matrixPid) { return new ValidationResult { @@ -234,7 +234,7 @@ public static IValidationResult InvalidMatrixParamType(IValidate test, IReadable }; } - public static IValidationResult InvalidMatrixOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string matrixPid) + internal static IValidationResult InvalidMatrixOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string matrixPid) { return new ValidationResult { @@ -259,7 +259,7 @@ public static IValidationResult InvalidMatrixOption(IValidate test, IReadable re }; } - public static IValidationResult InvalidColumnTypeParamLengthType(IValidate test, IReadable referenceNode, IReadable positionNode, string lengthType, string columnTypePid, string matrixPid) + internal static IValidationResult InvalidColumnTypeParamLengthType(IValidate test, IReadable referenceNode, IReadable positionNode, string lengthType, string columnTypePid, string matrixPid) { return new ValidationResult { @@ -284,7 +284,7 @@ public static IValidationResult InvalidColumnTypeParamLengthType(IValidate test, }; } - public static IValidationResult InvalidColumnTypeParamType(IValidate test, IReadable referenceNode, IReadable positionNode, string type, string columnTypePid, string matrixPid) + internal static IValidationResult InvalidColumnTypeParamType(IValidate test, IReadable referenceNode, IReadable positionNode, string type, string columnTypePid, string matrixPid) { return new ValidationResult { @@ -309,7 +309,7 @@ public static IValidationResult InvalidColumnTypeParamType(IValidate test, IRead }; } - public static IValidationResult MissingColumnTypeParam(IValidate test, IReadable referenceNode, IReadable positionNode, string missingColumnTypePid, string matrixPid) + internal static IValidationResult MissingColumnTypeParam(IValidate test, IReadable referenceNode, IReadable positionNode, string missingColumnTypePid, string matrixPid) { return new ValidationResult { @@ -334,7 +334,7 @@ public static IValidationResult MissingColumnTypeParam(IValidate test, IReadable }; } - public static IValidationResult MissingColumnTypeParamInterprete(IValidate test, IReadable referenceNode, IReadable positionNode, string missingColumnTypePid, string matrixPid) + internal static IValidationResult MissingColumnTypeParamInterprete(IValidate test, IReadable referenceNode, IReadable positionNode, string missingColumnTypePid, string matrixPid) { return new ValidationResult { @@ -359,7 +359,7 @@ public static IValidationResult MissingColumnTypeParamInterprete(IValidate test, }; } - public static IValidationResult InvalidColumnTypeParamInterprete(IValidate test, IReadable referenceNode, IReadable positionNode, string columnTypePid, string matrixPid) + internal static IValidationResult InvalidColumnTypeParamInterprete(IValidate test, IReadable referenceNode, IReadable positionNode, string columnTypePid, string matrixPid) { return new ValidationResult { @@ -384,7 +384,7 @@ public static IValidationResult InvalidColumnTypeParamInterprete(IValidate test, }; } - public static IValidationResult UnrecommendedSshOptions(IValidate test, IReadable referenceNode, IReadable positionNode, string option, string pid) + internal static IValidationResult UnrecommendedSshOptions(IValidate test, IReadable referenceNode, IReadable positionNode, string option, string pid) { return new ValidationResult { @@ -409,7 +409,7 @@ public static IValidationResult UnrecommendedSshOptions(IValidate test, IReadabl }; } - public static IValidationResult InvalidMixOfSshOptionsAndPortSettings(IValidate test, IReadable referenceNode, IReadable positionNode, string option, string pid) + internal static IValidationResult InvalidMixOfSshOptionsAndPortSettings(IValidate test, IReadable referenceNode, IReadable positionNode, string option, string pid) { return new ValidationResult { @@ -435,9 +435,9 @@ public static IValidationResult InvalidMixOfSshOptionsAndPortSettings(IValidate } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult MatrixDimensionsChanged(IReadable referenceNode, IReadable positionNode, string matrixPid, string oldDimensions, string newDimensions) + internal static IValidationResult MatrixDimensionsChanged(IReadable referenceNode, IReadable positionNode, string matrixPid, string oldDimensions, string newDimensions) { return new ValidationResult { @@ -462,7 +462,7 @@ public static IValidationResult MatrixDimensionsChanged(IReadable referenceNode, }; } - public static IValidationResult MatrixDimensionsRemoved(IReadable referenceNode, IReadable positionNode, string matrixDimensions, string matrixPid) + internal static IValidationResult MatrixDimensionsRemoved(IReadable referenceNode, IReadable positionNode, string matrixDimensions, string matrixPid) { return new ValidationResult { @@ -488,7 +488,7 @@ public static IValidationResult MatrixDimensionsRemoved(IReadable referenceNode, } } - public static class ErrorIds + internal static class ErrorIds { public const uint MatrixDimensionsChanged = 2; public const uint MatrixDimensionsRemoved = 3; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Type/CheckTypeTag.cs b/Protocol/Error Messages/Protocol/Params/Param/Type/CheckTypeTag.cs index 25649364..a3c3c830 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Type/CheckTypeTag.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Type/CheckTypeTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Type.CheckTypeTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string pid) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Params/Param/Type/CheckVirtualAttribute.cs b/Protocol/Error Messages/Protocol/Params/Param/Type/CheckVirtualAttribute.cs index cbb1247f..4e07011b 100644 --- a/Protocol/Error Messages/Protocol/Params/Param/Type/CheckVirtualAttribute.cs +++ b/Protocol/Error Messages/Protocol/Params/Param/Type/CheckVirtualAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Type.CheckVirtualAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult RTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult RTDisplayExpected(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult RTDisplayExpected(IValidate test, IReadable refe } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint UntrimmedAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/PortSettings/CheckNameAttribute.cs b/Protocol/Error Messages/Protocol/PortSettings/CheckNameAttribute.cs index 9bb61744..0bbcbc93 100644 --- a/Protocol/Error Messages/Protocol/PortSettings/CheckNameAttribute.cs +++ b/Protocol/Error Messages/Protocol/PortSettings/CheckNameAttribute.cs @@ -7,9 +7,9 @@ namespace SLDisValidator2.Tests.Protocol.PortSettings.CheckNameAttribute using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId) { return new ValidationResult { @@ -34,7 +34,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId) { return new ValidationResult { @@ -59,7 +59,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId, string attributeValue) { return new ValidationResult { @@ -85,7 +85,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Ports/PortSettings/CheckNameAttribute.cs b/Protocol/Error Messages/Protocol/Ports/PortSettings/CheckNameAttribute.cs index 2dab585b..d562d1a6 100644 --- a/Protocol/Error Messages/Protocol/Ports/PortSettings/CheckNameAttribute.cs +++ b/Protocol/Error Messages/Protocol/Ports/PortSettings/CheckNameAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Ports.PortSettings.CheckNameAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionId, string attributeValue) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 2; public const uint EmptyAttribute = 3; diff --git a/Protocol/Error Messages/Protocol/Provider/CheckProviderTag.cs b/Protocol/Error Messages/Protocol/Provider/CheckProviderTag.cs index 0a1c62fa..59cc121e 100644 --- a/Protocol/Error Messages/Protocol/Provider/CheckProviderTag.cs +++ b/Protocol/Error Messages/Protocol/Provider/CheckProviderTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Provider.CheckProviderTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult InvalidTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string allowedValues) + internal static IValidationResult InvalidTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string allowedValues) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidTag(IValidate test, IReadable referenceNo } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckEntryPoints.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckEntryPoints.cs index c4530bc1..bb7274e6 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckEntryPoints.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckEntryPoints.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpCheckEntryPoints using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingEntryPoint(IValidate test, IReadable referenceNode, IReadable positionNode, string entryPointClass, string entryPointMethod, string qactionId) + internal static IValidationResult MissingEntryPoint(IValidate test, IReadable referenceNode, IReadable positionNode, string entryPointClass, string entryPointMethod, string qactionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingEntryPoint(IValidate test, IReadable refe }; } - public static IValidationResult UnexpectedAccessModifierForEntryPointMethod(IValidate test, IReadable referenceNode, IReadable positionNode, string entryPointClass, string entryPointMethod, string currentAccessModifier, string qactionId) + internal static IValidationResult UnexpectedAccessModifierForEntryPointMethod(IValidate test, IReadable referenceNode, IReadable positionNode, string entryPointClass, string entryPointMethod, string currentAccessModifier, string qactionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UnexpectedAccessModifierForEntryPointMethod(IVal }; } - public static IValidationResult UnexpectedAccessModifierForEntryPointClass(IValidate test, IReadable referenceNode, IReadable positionNode, string entryPointClass, string currentAccessModifier, string qactionId) + internal static IValidationResult UnexpectedAccessModifierForEntryPointClass(IValidate test, IReadable referenceNode, IReadable positionNode, string entryPointClass, string currentAccessModifier, string qactionId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UnexpectedAccessModifierForEntryPointClass(IVali }; } - public static IValidationResult UnexpectedArg0TypeForEntryPointMethod(IValidate test, IReadable referenceNode, IReadable positionNode, string entryPointClass, string entryPointMethod, string arg0Type, string qactionId) + internal static IValidationResult UnexpectedArg0TypeForEntryPointMethod(IValidate test, IReadable referenceNode, IReadable positionNode, string entryPointClass, string entryPointMethod, string arg0Type, string qactionId) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult UnexpectedArg0TypeForEntryPointMethod(IValidate } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingEntryPoint = 1; public const uint UnexpectedAccessModifierForEntryPointMethod = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckPreprocessorDirective.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckPreprocessorDirective.cs index 4f087343..4800ea4a 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckPreprocessorDirective.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckPreprocessorDirective.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpCheckPreprocesso using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult ObsoleteDcfV1(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult ObsoleteDcfV1(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult ObsoleteDcfV1(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint ObsoleteDcfV1 = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckUnrecommendedConstructor.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckUnrecommendedConstructor.cs index 50dfe321..677ec4ad 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckUnrecommendedConstructor.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckUnrecommendedConstructor.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpCheckUnrecommend using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult UnrecommendedXmlSerializerConstructor(IValidate test, IReadable referenceNode, IReadable positionNode, string typeUnrecommendedConstructor, string constructorNamespace, string qactionId) + internal static IValidationResult UnrecommendedXmlSerializerConstructor(IValidate test, IReadable referenceNode, IReadable positionNode, string typeUnrecommendedConstructor, string constructorNamespace, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult UnrecommendedXmlSerializerConstructor(IValidate } } - public static class ErrorIds + internal static class ErrorIds { public const uint UnrecommendedXmlSerializerConstructor = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckUnrecommendedMethod.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckUnrecommendedMethod.cs index d02f7f04..d1b81ee5 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckUnrecommendedMethod.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckUnrecommendedMethod.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpCheckUnrecommend using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult UnrecommendedThreadAbort(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedThreadAbort(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult UnrecommendedThreadAbort(IValidate test, IReadab }; } - public static IValidationResult UnrecommendedSlProtocolGetParameterIndex(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedSlProtocolGetParameterIndex(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UnrecommendedSlProtocolGetParameterIndex(IValida }; } - public static IValidationResult UnrecommendedSlProtocolSetParameterIndex(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedSlProtocolSetParameterIndex(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UnrecommendedSlProtocolSetParameterIndex(IValida }; } - public static IValidationResult UnrecommendedSlProtocolSetParametersIndex(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedSlProtocolSetParametersIndex(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult UnrecommendedSlProtocolSetParametersIndex(IValid }; } - public static IValidationResult UnrecommendedNotifyDataMinerNTGetRemoteTrend(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyDataMinerNTGetRemoteTrend(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult UnrecommendedNotifyDataMinerNTGetRemoteTrend(IVa }; } - public static IValidationResult UnrecommendedNotifyDataMinerNTGetRemoteTrendAvg(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyDataMinerNTGetRemoteTrendAvg(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult UnrecommendedNotifyDataMinerNTGetRemoteTrendAvg( }; } - public static IValidationResult UnrecommendedNotifyProtocolNTDeleteRow(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNTDeleteRow(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNTDeleteRow(IValidate }; } - public static IValidationResult UnrecommendedNotifyProtocolNTAddRow(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNTAddRow(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNTAddRow(IValidate te }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_CHECK_TRIGGER(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_CHECK_TRIGGER(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -236,7 +236,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_CHECK_TRIGGER(IVal }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_GET_DATA(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_GET_DATA(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -261,7 +261,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_GET_DATA(IValidate }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_GET_KEY_POSITION(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_GET_KEY_POSITION(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -286,7 +286,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_GET_KEY_POSITION(I }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_GET_PARAMETER(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_GET_PARAMETER(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -311,7 +311,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_GET_PARAMETER(IVal }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_GET_PARAMETER_BY_DATA(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_GET_PARAMETER_BY_DATA(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -336,7 +336,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_GET_PARAMETER_BY_D }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_GET_PARAMETER_BY_NAME(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_GET_PARAMETER_BY_NAME(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -361,7 +361,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_GET_PARAMETER_BY_N }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_GET_DESCRIPTION(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_GET_DESCRIPTION(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -386,7 +386,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_GET_DESCRIPTION(IV }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_GET_PARAMETER_INDEX(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_GET_PARAMETER_INDEX(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -411,7 +411,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_GET_PARAMETER_INDE }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_GET_ITEM_DATA(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_GET_ITEM_DATA(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -436,7 +436,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_GET_ITEM_DATA(IVal }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_GET_ROW(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_GET_ROW(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -461,7 +461,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_GET_ROW(IValidate }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_ARRAY_ROW_COUNT(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_ARRAY_ROW_COUNT(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -486,7 +486,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_ARRAY_ROW_COUNT(IV }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_NOTIFY_DISPLAY(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_NOTIFY_DISPLAY(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -511,7 +511,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_NOTIFY_DISPLAY(IVa }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_SET_PARAMETER_WITH_HISTORY(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_SET_PARAMETER_WITH_HISTORY(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -536,7 +536,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_SET_PARAMETER_WITH }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_SET_PARAMETER_BY_DATA(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_SET_PARAMETER_BY_DATA(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -561,7 +561,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_SET_PARAMETER_BY_D }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_SET_PARAMETER_BY_NAME(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_SET_PARAMETER_BY_NAME(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -586,7 +586,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_SET_PARAMETER_BY_N }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_SET_DESCRIPTION(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_SET_DESCRIPTION(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -611,7 +611,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_SET_DESCRIPTION(IV }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_SET_ITEM_DATA(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_SET_ITEM_DATA(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -636,7 +636,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_SET_ITEM_DATA(IVal }; } - public static IValidationResult UnrecommendedNotifyProtocolNT_SET_ROW(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedNotifyProtocolNT_SET_ROW(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -662,7 +662,7 @@ public static IValidationResult UnrecommendedNotifyProtocolNT_SET_ROW(IValidate } } - public static class ErrorIds + internal static class ErrorIds { public const uint UnrecommendedThreadAbort = 1; public const uint UnrecommendedSlProtocolGetParameterIndex = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckUnrecommendedPropertySet.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckUnrecommendedPropertySet.cs index 98b390fe..540fb849 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckUnrecommendedPropertySet.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpCheckUnrecommendedPropertySet.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpCheckUnrecommend using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult UnrecommendedCultureInfoDefaultThreadCurrentCulture(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedCultureInfoDefaultThreadCurrentCulture(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult UnrecommendedCultureInfoDefaultThreadCurrentCult }; } - public static IValidationResult UnrecommendedThreadCurrentThreadCurrentCulture(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedThreadCurrentThreadCurrentCulture(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UnrecommendedThreadCurrentThreadCurrentCulture(I }; } - public static IValidationResult UnrecommendedThreadCurrentThreadCurrentUICulture(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult UnrecommendedThreadCurrentThreadCurrentUICulture(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult UnrecommendedThreadCurrentThreadCurrentUICulture } } - public static class ErrorIds + internal static class ErrorIds { public const uint UnrecommendedCultureInfoDefaultThreadCurrentCulture = 1; public const uint UnrecommendedThreadCurrentThreadCurrentCulture = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignAlarmTemplate.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignAlarmTemplate.cs index 8a0c77c2..b5fd6a84 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignAlarmTemplate.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignAlarmTemplate.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignSimulation.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignSimulation.cs index 4340210e..8d4980d0 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignSimulation.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignSimulation.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTEditProperty.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTEditProperty.cs index 189bcbb3..56d57b88 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTEditProperty.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTEditProperty.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetAlarmInfo.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetAlarmInfo.cs index 2baf8e4b..2882e41b 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetAlarmInfo.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetAlarmInfo.cs @@ -7,9 +7,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -35,7 +35,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetElementName.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetElementName.cs index 6b14f5c6..0d6b342c 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetElementName.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetElementName.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetParameter.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetParameter.cs index 007c5bdc..5eb72758 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetParameter.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetParameter.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetValue.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetValue.cs index e52caa12..e69d5910 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetValue.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetValue.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTServiceSetVdx.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTServiceSetVdx.cs index 467d77f5..031afb71 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTServiceSetVdx.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTServiceSetVdx.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetAlarmState.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetAlarmState.cs index 5471e324..4521f018 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetAlarmState.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetAlarmState.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetElementState.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetElementState.cs index c5267913..6b79e509 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetElementState.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetElementState.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTTrendingAssignTemplate.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTTrendingAssignTemplate.cs index 16f4fa1a..c4315ff5 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTTrendingAssignTemplate.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTTrendingAssignTemplate.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdateDescriptionXml.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdateDescriptionXml.cs index 254fe957..0534f2e6 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdateDescriptionXml.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdateDescriptionXml.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdatePortsXml.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdatePortsXml.cs index 641baa30..7ba4d96e 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdatePortsXml.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdatePortsXml.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpGet.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpGet.cs index 35f58dd0..d9d52b77 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpGet.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpGet.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyProtocolNT using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpSet.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpSet.cs index 4cf72bc5..41781080 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpSet.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpSet.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyProtocolNT using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult DeltIncompatible(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DeltIncompatible(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint DeltIncompatible = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyProtocolNtFillArrayWithColumn.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyProtocolNtFillArrayWithColumn.cs index fe065b8c..647d7fb2 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyProtocolNtFillArrayWithColumn.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpNotifyProtocolNtFillArrayWithColumn.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyProtocolNt using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult UnexpectedImplementation(IValidate test, IReadable referenceNode, IReadable positionNode, string arguments, string qactionId) + internal static IValidationResult UnexpectedImplementation(IValidate test, IReadable referenceNode, IReadable positionNode, string arguments, string qactionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult UnexpectedImplementation(IValidate test, IReadab }; } - public static IValidationResult NonExistingTable(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string qactionId) + internal static IValidationResult NonExistingTable(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string qactionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult NonExistingTable(IValidate test, IReadable refer }; } - public static IValidationResult NonExistingColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string qactionId) + internal static IValidationResult NonExistingColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string qactionId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult NonExistingColumn(IValidate test, IReadable refe }; } - public static IValidationResult ColumnMissingHistorySet(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) + internal static IValidationResult ColumnMissingHistorySet(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult ColumnMissingHistorySet(IValidate test, IReadabl }; } - public static IValidationResult HardCodedTablePid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedTablePid, string qactionId) + internal static IValidationResult HardCodedTablePid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedTablePid, string qactionId) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult HardCodedTablePid(IValidate test, IReadable refe }; } - public static IValidationResult HardCodedColumnPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedColumnPid, string qactionId) + internal static IValidationResult HardCodedColumnPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedColumnPid, string qactionId) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult HardCodedColumnPid(IValidate test, IReadable ref }; } - public static IValidationResult ColumnManagedByDataMiner(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string optionLocation, string optionName) + internal static IValidationResult ColumnManagedByDataMiner(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string optionLocation, string optionName) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult ColumnManagedByDataMiner(IValidate test, IReadab }; } - public static IValidationResult ColumnManagedByProtocolItem(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string managedByItemKind, string managedByItemId, string optionLocation, string optionName) + internal static IValidationResult ColumnManagedByProtocolItem(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string managedByItemKind, string managedByItemId, string optionLocation, string optionName) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult ColumnManagedByProtocolItem(IValidate test, IRea }; } - public static IValidationResult UnrecommendedSetOnSnmpParam(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) + internal static IValidationResult UnrecommendedSetOnSnmpParam(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) { return new ValidationResult { @@ -237,7 +237,7 @@ public static IValidationResult UnrecommendedSetOnSnmpParam(IValidate test, IRea } } - public static class ErrorIds + internal static class ErrorIds { public const uint UnexpectedImplementation = 1; public const uint NonExistingTable = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpQActionCompilation.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpQActionCompilation.cs index d826c58e..325f9482 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpQActionCompilation.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpQActionCompilation.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpQActionCompilati using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult CompilationFailure(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult CompilationFailure(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult CompilationFailure(IValidate test, IReadable ref }; } - public static IValidationResult CompilationFailure_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string errorMessage) + internal static IValidationResult CompilationFailure_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string errorMessage) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult CompilationFailure_Sub(IValidate test, IReadable }; } - public static IValidationResult NoCSharpCodeAnalysisPerformed(IValidate test, IReadable referenceNode, IReadable positionNode, string cSharpVersion, string visualStudioVersion) + internal static IValidationResult NoCSharpCodeAnalysisPerformed(IValidate test, IReadable referenceNode, IReadable positionNode, string cSharpVersion, string visualStudioVersion) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult NoCSharpCodeAnalysisPerformed(IValidate test, IR } } - public static class ErrorIds + internal static class ErrorIds { public const uint CompilationFailure = 1; public const uint CompilationFailure_Sub = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolCheckTrigger.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolCheckTrigger.cs index 792b535f..f41f33ad 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolCheckTrigger.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolCheckTrigger.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolCheckT using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingTrigger(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId, string qactionId) + internal static IValidationResult NonExistingTrigger(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult NonExistingTrigger(IValidate test, IReadable ref } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingTrigger = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolFillArray.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolFillArray.cs index 01727512..d649f749 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolFillArray.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolFillArray.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolFillAr using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string qactionId) + internal static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string qactionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingParam(IValidate test, IReadable refer }; } - public static IValidationResult ParamMissingHistorySet(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) + internal static IValidationResult ParamMissingHistorySet(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult ParamMissingHistorySet(IValidate test, IReadable }; } - public static IValidationResult HardCodedPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedTablePid, string qactionId) + internal static IValidationResult HardCodedPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedTablePid, string qactionId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult HardCodedPid(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingParam = 1; public const uint ParamMissingHistorySet = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolFillArrayNoDelete.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolFillArrayNoDelete.cs index 4de59daa..4fdd5e39 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolFillArrayNoDelete.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolFillArrayNoDelete.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolFillAr using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string qactionId) + internal static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string qactionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingParam(IValidate test, IReadable refer }; } - public static IValidationResult ParamMissingHistorySet(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) + internal static IValidationResult ParamMissingHistorySet(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult ParamMissingHistorySet(IValidate test, IReadable }; } - public static IValidationResult HardCodedPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedTablePid, string qactionId) + internal static IValidationResult HardCodedPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedTablePid, string qactionId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult HardCodedPid(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingParam = 1; public const uint ParamMissingHistorySet = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolFillArrayWithColumn.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolFillArrayWithColumn.cs index 5152c540..3e4c03f5 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolFillArrayWithColumn.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolFillArrayWithColumn.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolFillAr using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingTable(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string qactionId) + internal static IValidationResult NonExistingTable(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string qactionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingTable(IValidate test, IReadable refer }; } - public static IValidationResult NonExistingColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string qactionId) + internal static IValidationResult NonExistingColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string qactionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult NonExistingColumn(IValidate test, IReadable refe }; } - public static IValidationResult ParamMissingHistorySet(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) + internal static IValidationResult ParamMissingHistorySet(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult ParamMissingHistorySet(IValidate test, IReadable }; } - public static IValidationResult HardCodedTablePid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedTablePid, string qactionId) + internal static IValidationResult HardCodedTablePid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedTablePid, string qactionId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult HardCodedTablePid(IValidate test, IReadable refe }; } - public static IValidationResult HardCodedColumnPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedColumnPid, string qactionId) + internal static IValidationResult HardCodedColumnPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedColumnPid, string qactionId) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult HardCodedColumnPid(IValidate test, IReadable ref }; } - public static IValidationResult ColumnManagedByDataMiner(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string optionLocation, string optionName) + internal static IValidationResult ColumnManagedByDataMiner(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string optionLocation, string optionName) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult ColumnManagedByDataMiner(IValidate test, IReadab }; } - public static IValidationResult ColumnManagedByProtocolItem(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string managedByItemKind, string managedByItemId, string optionLocation, string optionName) + internal static IValidationResult ColumnManagedByProtocolItem(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string managedByItemKind, string managedByItemId, string optionLocation, string optionName) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult ColumnManagedByProtocolItem(IValidate test, IRea }; } - public static IValidationResult UnrecommendedSetOnSnmpParam(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) + internal static IValidationResult UnrecommendedSetOnSnmpParam(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) { return new ValidationResult { @@ -212,7 +212,7 @@ public static IValidationResult UnrecommendedSetOnSnmpParam(IValidate test, IRea } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingTable = 1; public const uint NonExistingColumn = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolGetParameter.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolGetParameter.cs index 543f23eb..f8aa72cf 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolGetParameter.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolGetParameter.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolGetPar using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string qactionId) + internal static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string qactionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingParam(IValidate test, IReadable refer }; } - public static IValidationResult HardCodedPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedPid, string qactionId) + internal static IValidationResult HardCodedPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedPid, string qactionId) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult HardCodedPid(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingParam = 1; public const uint HardCodedPid = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolGetParameters.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolGetParameters.cs index 38e51723..40c0f851 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolGetParameters.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolGetParameters.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolGetPar using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult UnexpectedImplementation(IValidate test, IReadable referenceNode, IReadable positionNode, string arguments, string qactionId) + internal static IValidationResult UnexpectedImplementation(IValidate test, IReadable referenceNode, IReadable positionNode, string arguments, string qactionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult UnexpectedImplementation(IValidate test, IReadab }; } - public static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string qactionId) + internal static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string qactionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult NonExistingParam(IValidate test, IReadable refer }; } - public static IValidationResult HardCodedPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedPid, string qactionId) + internal static IValidationResult HardCodedPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedPid, string qactionId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult HardCodedPid(IValidate test, IReadable reference }; } - public static IValidationResult UnsupportedArgumentTypeForIds(IValidate test, IReadable referenceNode, IReadable positionNode, string argumentType, string qactionId) + internal static IValidationResult UnsupportedArgumentTypeForIds(IValidate test, IReadable referenceNode, IReadable positionNode, string argumentType, string qactionId) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult UnsupportedArgumentTypeForIds(IValidate test, IR } } - public static class ErrorIds + internal static class ErrorIds { public const uint UnexpectedImplementation = 1; public const uint NonExistingParam = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolSetParameter.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolSetParameter.cs index 7693d7fd..bd8ddce4 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolSetParameter.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolSetParameter.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolSetPar using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string qactionId) + internal static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string qactionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingParam(IValidate test, IReadable refer }; } - public static IValidationResult HardCodedPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedPid, string qactionId) + internal static IValidationResult HardCodedPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedPid, string qactionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult HardCodedPid(IValidate test, IReadable reference }; } - public static IValidationResult ParamMissingHistorySet(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult ParamMissingHistorySet(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult ParamMissingHistorySet(IValidate test, IReadable } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingParam = 1; public const uint HardCodedPid = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolSetRow.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolSetRow.cs index 1846c60c..c9bb25ba 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolSetRow.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolSetRow.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolSetRow using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string qactionId) + internal static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string qactionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingParam(IValidate test, IReadable refer }; } - public static IValidationResult HardCodedPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedTablePid, string qactionId) + internal static IValidationResult HardCodedPid(IValidate test, IReadable referenceNode, IReadable positionNode, string hardCodedTablePid, string qactionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult HardCodedPid(IValidate test, IReadable reference }; } - public static IValidationResult ParamMissingHistorySet(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) + internal static IValidationResult ParamMissingHistorySet(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult ParamMissingHistorySet(IValidate test, IReadable } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingParam = 1; public const uint HardCodedPid = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolTriggerAction.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolTriggerAction.cs index f1177823..961acc6f 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolTriggerAction.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CSharpSLProtocolTriggerAction.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolTrigge using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingActionId(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId, string qactionId) + internal static IValidationResult NonExistingActionId(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId, string qactionId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult NonExistingActionId(IValidate test, IReadable re } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingActionId = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CheckIdAttribute.cs index 476d72b5..9187d222 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CheckIdAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId, string qactionName) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId, string qactionName) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId, string qactionNames) + internal static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId, string qactionNames) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult DuplicatedId(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CheckNameAttribute.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CheckNameAttribute.cs index e7eb13af..1826dfbc 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CheckNameAttribute.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CheckNameAttribute.cs @@ -7,9 +7,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CheckNameAttribute using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class Error + internal static class Error { - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string qactionIds) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string qactionIds) { return new ValidationResult { @@ -35,7 +35,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint DuplicatedValue = 1; } diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/CheckTriggersAttribute.cs b/Protocol/Error Messages/Protocol/QActions/QAction/CheckTriggersAttribute.cs index 27c0b1c9..bbc1c2d8 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/CheckTriggersAttribute.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/CheckTriggersAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CheckTriggersAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string qactionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string triggersValue, string qactionId) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string triggersValue, string qactionId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer }; } - public static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string qactionId) + internal static IValidationResult NonExistingParam(IValidate test, IReadable referenceNode, IReadable positionNode, string pid, string qactionId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult NonExistingParam(IValidate test, IReadable refer }; } - public static IValidationResult NonExistingGroup(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId, string qactionId) + internal static IValidationResult NonExistingGroup(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId, string qactionId) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult NonExistingGroup(IValidate test, IReadable refer }; } - public static IValidationResult DuplicateId(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId, string qactionId) + internal static IValidationResult DuplicateId(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId, string qactionId) { return new ValidationResult { @@ -162,7 +162,7 @@ public static IValidationResult DuplicateId(IValidate test, IReadable referenceN } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/QActions/QAction/Condition/CheckConditionTag.cs b/Protocol/Error Messages/Protocol/QActions/QAction/Condition/CheckConditionTag.cs index 84bb76cd..b07c0491 100644 --- a/Protocol/Error Messages/Protocol/QActions/QAction/Condition/CheckConditionTag.cs +++ b/Protocol/Error Messages/Protocol/QActions/QAction/Condition/CheckConditionTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.Condition.CheckConditi using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult InvalidCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string invalidityReason, string qactionId) + internal static IValidationResult InvalidCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string invalidityReason, string qactionId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult InvalidCondition(IValidate test, IReadable refer }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string qactionId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string qactionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ConditionCanBeSimplified(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string qactionId) + internal static IValidationResult ConditionCanBeSimplified(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string qactionId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult ConditionCanBeSimplified(IValidate test, IReadab } } - public static class ErrorIds + internal static class ErrorIds { public const uint InvalidCondition = 1; public const uint NonExistingId = 2; diff --git a/Protocol/Error Messages/Protocol/Relations/Relation/CheckNameAttribute.cs b/Protocol/Error Messages/Protocol/Relations/Relation/CheckNameAttribute.cs index b0136b8f..fcd50c5a 100644 --- a/Protocol/Error Messages/Protocol/Relations/Relation/CheckNameAttribute.cs +++ b/Protocol/Error Messages/Protocol/Relations/Relation/CheckNameAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Relations.Relation.CheckNameAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint DuplicatedValue = 1; } diff --git a/Protocol/Error Messages/Protocol/Relations/Relation/CheckPathAttribute.cs b/Protocol/Error Messages/Protocol/Relations/Relation/CheckPathAttribute.cs index 21289427..fb5d8e7b 100644 --- a/Protocol/Error Messages/Protocol/Relations/Relation/CheckPathAttribute.cs +++ b/Protocol/Error Messages/Protocol/Relations/Relation/CheckPathAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Relations.Relation.CheckPathAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string pathValue) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string pathValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult MissingForeignKeyForRelation(IValidate test, IReadable referenceNode, IReadable positionNode, string relationNameOrPath) + internal static IValidationResult MissingForeignKeyForRelation(IValidate test, IReadable referenceNode, IReadable positionNode, string relationNameOrPath) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult MissingForeignKeyForRelation(IValidate test, IRe }; } - public static IValidationResult MissingForeignKeyInTable_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string table1Pid, string table2Pid) + internal static IValidationResult MissingForeignKeyInTable_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string table1Pid, string table2Pid) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult MissingForeignKeyInTable_Sub(IValidate test, IRe }; } - public static IValidationResult ReferencedParamWrongType(IValidate test, IReadable referenceNode, IReadable positionNode, string paramType, string paramId) + internal static IValidationResult ReferencedParamWrongType(IValidate test, IReadable referenceNode, IReadable positionNode, string paramType, string paramId) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult ReferencedParamWrongType(IValidate test, IReadab }; } - public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test }; } - public static IValidationResult DuplicateValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateValue) + internal static IValidationResult DuplicateValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateValue) { return new ValidationResult { @@ -237,7 +237,7 @@ public static IValidationResult DuplicateValue(IValidate test, IReadable referen } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint MissingAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Responses/Response/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/Responses/Response/CheckIdAttribute.cs index c3000ead..91d5ed3f 100644 --- a/Protocol/Error Messages/Protocol/Responses/Response/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/Responses/Response/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Responses.Response.CheckIdAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string responseId, string responseName) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string responseId, string responseName) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string responseId, string responseNames) + internal static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string responseId, string responseNames) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult DuplicatedId(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Responses/Response/CheckResponseLogic.cs b/Protocol/Error Messages/Protocol/Responses/Response/CheckResponseLogic.cs index c2578c5d..152a6b16 100644 --- a/Protocol/Error Messages/Protocol/Responses/Response/CheckResponseLogic.cs +++ b/Protocol/Error Messages/Protocol/Responses/Response/CheckResponseLogic.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Responses.Response.CheckResponseLogic using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingCrcResponseAction(IValidate test, IReadable referenceNode, IReadable positionNode, string responseId, string paramPid) + internal static IValidationResult MissingCrcResponseAction(IValidate test, IReadable referenceNode, IReadable positionNode, string responseId, string paramPid) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult MissingCrcResponseAction(IValidate test, IReadab } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingCrcResponseAction = 1; } diff --git a/Protocol/Error Messages/Protocol/Responses/Response/Content/Param/CheckParamTag.cs b/Protocol/Error Messages/Protocol/Responses/Response/Content/Param/CheckParamTag.cs index abf8ef62..3e6dee8c 100644 --- a/Protocol/Error Messages/Protocol/Responses/Response/Content/Param/CheckParamTag.cs +++ b/Protocol/Error Messages/Protocol/Responses/Response/Content/Param/CheckParamTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Responses.Response.Content.Param.CheckP using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string responseId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referencedPid, string responseId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult EmptyParamTag(IValidate test, IReadable referenceNode, IReadable positionNode, string responseId) + internal static IValidationResult EmptyParamTag(IValidate test, IReadable referenceNode, IReadable positionNode, string responseId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyParamTag(IValidate test, IReadable referenc }; } - public static IValidationResult InvalidParamTag(IValidate test, IReadable referenceNode, IReadable positionNode, string value, string responseId) + internal static IValidationResult InvalidParamTag(IValidate test, IReadable referenceNode, IReadable positionNode, string value, string responseId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidParamTag(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingId = 1; public const uint EmptyParamTag = 2; diff --git a/Protocol/Error Messages/Protocol/Responses/Response/Name/CheckNameTag.cs b/Protocol/Error Messages/Protocol/Responses/Response/Name/CheckNameTag.cs index f55a187b..d20f8c6d 100644 --- a/Protocol/Error Messages/Protocol/Responses/Response/Name/CheckNameTag.cs +++ b/Protocol/Error Messages/Protocol/Responses/Response/Name/CheckNameTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Responses.Response.Name.CheckNameTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string responseIds) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string responseIds) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint DuplicatedValue = 1; } diff --git a/Protocol/Error Messages/Protocol/SNMP/CheckIncludepagesAttribute.cs b/Protocol/Error Messages/Protocol/SNMP/CheckIncludepagesAttribute.cs index b0730c41..141cebcf 100644 --- a/Protocol/Error Messages/Protocol/SNMP/CheckIncludepagesAttribute.cs +++ b/Protocol/Error Messages/Protocol/SNMP/CheckIncludepagesAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.SNMP.CheckIncludepagesAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string allowedValues) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string allowedValues) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/SNMP/CheckSnmpTag.cs b/Protocol/Error Messages/Protocol/SNMP/CheckSnmpTag.cs index fc918d8f..fb3023b3 100644 --- a/Protocol/Error Messages/Protocol/SNMP/CheckSnmpTag.cs +++ b/Protocol/Error Messages/Protocol/SNMP/CheckSnmpTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.SNMP.CheckSnmpTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string allowedValues) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string allowedValues) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Timers/Timer/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/Timers/Timer/CheckIdAttribute.cs index a43b3d52..4bce135b 100644 --- a/Protocol/Error Messages/Protocol/Timers/Timer/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/Timers/Timer/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Timers.Timer.CheckIdAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId, string timerName) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId, string timerName) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId, string timerNames) + internal static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId, string timerNames) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult DuplicatedId(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Timers/Timer/CheckOptionsAttribute.cs b/Protocol/Error Messages/Protocol/Timers/Timer/CheckOptionsAttribute.cs index 4ca4ff5c..41f2a0ea 100644 --- a/Protocol/Error Messages/Protocol/Timers/Timer/CheckOptionsAttribute.cs +++ b/Protocol/Error Messages/Protocol/Timers/Timer/CheckOptionsAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Timers.Timer.CheckOptionsAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingIdInOption(IValidate test, IReadable referenceNode, IReadable positionNode, string timerOption, string referItemType, string referItemId) + internal static IValidationResult NonExistingIdInOption(IValidate test, IReadable referenceNode, IReadable positionNode, string timerOption, string referItemType, string referItemId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingIdInOption(IValidate test, IReadable }; } - public static IValidationResult InvalidValueInOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string optionValue) + internal static IValidationResult InvalidValueInOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string optionValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult InvalidValueInOption(IValidate test, IReadable r }; } - public static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId, string attributeValue) + internal static IValidationResult InvalidAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId, string attributeValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidAttribute(IValidate test, IReadable refer }; } - public static IValidationResult MissingIpOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string timerId) + internal static IValidationResult MissingIpOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string timerId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult MissingIpOption(IValidate test, IReadable refere }; } - public static IValidationResult InvalidIgnoreIfOption(IValidate test, IReadable referenceNode, IReadable positionNode, string ignoreIfValue) + internal static IValidationResult InvalidIgnoreIfOption(IValidate test, IReadable referenceNode, IReadable positionNode, string ignoreIfValue) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult InvalidIgnoreIfOption(IValidate test, IReadable }; } - public static IValidationResult InvalidEachOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) + internal static IValidationResult InvalidEachOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult InvalidEachOption(IValidate test, IReadable refe }; } - public static IValidationResult InvalidDynamicThreadPoolOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) + internal static IValidationResult InvalidDynamicThreadPoolOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult InvalidDynamicThreadPoolOption(IValidate test, I }; } - public static IValidationResult InvalidInstanceOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) + internal static IValidationResult InvalidInstanceOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult InvalidInstanceOption(IValidate test, IReadable }; } - public static IValidationResult InvalidIpOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) + internal static IValidationResult InvalidIpOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) { return new ValidationResult { @@ -236,7 +236,7 @@ public static IValidationResult InvalidIpOption(IValidate test, IReadable refere }; } - public static IValidationResult InvalidPollingRateOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) + internal static IValidationResult InvalidPollingRateOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) { return new ValidationResult { @@ -261,7 +261,7 @@ public static IValidationResult InvalidPollingRateOption(IValidate test, IReadab }; } - public static IValidationResult InvalidQActionOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) + internal static IValidationResult InvalidQActionOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) { return new ValidationResult { @@ -286,7 +286,7 @@ public static IValidationResult InvalidQActionOption(IValidate test, IReadable r }; } - public static IValidationResult InvalidQActionBeforeOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) + internal static IValidationResult InvalidQActionBeforeOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) { return new ValidationResult { @@ -311,7 +311,7 @@ public static IValidationResult InvalidQActionBeforeOption(IValidate test, IRead }; } - public static IValidationResult InvalidQActionAfterOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) + internal static IValidationResult InvalidQActionAfterOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) { return new ValidationResult { @@ -336,7 +336,7 @@ public static IValidationResult InvalidQActionAfterOption(IValidate test, IReada }; } - public static IValidationResult InvalidThreadPoolOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) + internal static IValidationResult InvalidThreadPoolOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) { return new ValidationResult { @@ -361,7 +361,7 @@ public static IValidationResult InvalidThreadPoolOption(IValidate test, IReadabl }; } - public static IValidationResult MissingEachOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string timerId) + internal static IValidationResult MissingEachOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string timerId) { return new ValidationResult { @@ -386,7 +386,7 @@ public static IValidationResult MissingEachOption(IValidate test, IReadable refe }; } - public static IValidationResult MissingThreadPoolOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string timerId) + internal static IValidationResult MissingThreadPoolOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string timerId) { return new ValidationResult { @@ -411,7 +411,7 @@ public static IValidationResult MissingThreadPoolOption(IValidate test, IReadabl }; } - public static IValidationResult NonExistingIdInDynamicThreadPoolOption(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) + internal static IValidationResult NonExistingIdInDynamicThreadPoolOption(IValidate test, IReadable referenceNode, IReadable positionNode, string pid) { return new ValidationResult { @@ -436,7 +436,7 @@ public static IValidationResult NonExistingIdInDynamicThreadPoolOption(IValidate }; } - public static IValidationResult MissingValueInOption(IValidate test, IReadable referenceNode, IReadable positionNode, string placeholderName) + internal static IValidationResult MissingValueInOption(IValidate test, IReadable referenceNode, IReadable positionNode, string placeholderName) { return new ValidationResult { @@ -461,7 +461,7 @@ public static IValidationResult MissingValueInOption(IValidate test, IReadable r }; } - public static IValidationResult InvalidPingOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) + internal static IValidationResult InvalidPingOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionValue) { return new ValidationResult { @@ -486,7 +486,7 @@ public static IValidationResult InvalidPingOption(IValidate test, IReadable refe }; } - public static IValidationResult UnknownOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName) + internal static IValidationResult UnknownOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName) { return new ValidationResult { @@ -511,7 +511,7 @@ public static IValidationResult UnknownOption(IValidate test, IReadable referenc }; } - public static IValidationResult DuplicateOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName) + internal static IValidationResult DuplicateOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName) { return new ValidationResult { @@ -536,7 +536,7 @@ public static IValidationResult DuplicateOption(IValidate test, IReadable refere }; } - public static IValidationResult UnknownOptionInPingOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName) + internal static IValidationResult UnknownOptionInPingOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName) { return new ValidationResult { @@ -561,7 +561,7 @@ public static IValidationResult UnknownOptionInPingOption(IValidate test, IReada }; } - public static IValidationResult DuplicateOptionInPingOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName) + internal static IValidationResult DuplicateOptionInPingOption(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName) { return new ValidationResult { @@ -586,7 +586,7 @@ public static IValidationResult DuplicateOptionInPingOption(IValidate test, IRea }; } - public static IValidationResult ThreadPoolCalculationIntervalDefined(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId) + internal static IValidationResult ThreadPoolCalculationIntervalDefined(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId) { return new ValidationResult { @@ -611,7 +611,7 @@ public static IValidationResult ThreadPoolCalculationIntervalDefined(IValidate t }; } - public static IValidationResult UseOfObsoleteTimeoutPidOptionInPingOption(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult UseOfObsoleteTimeoutPidOptionInPingOption(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -636,7 +636,7 @@ public static IValidationResult UseOfObsoleteTimeoutPidOptionInPingOption(IValid }; } - public static IValidationResult UseOfObsoleteQActionOption(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult UseOfObsoleteQActionOption(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -661,7 +661,7 @@ public static IValidationResult UseOfObsoleteQActionOption(IValidate test, IRead }; } - public static IValidationResult NonExistingColumnIdxInOption(IValidate test, IReadable referenceNode, IReadable positionNode, string timerOption, string columnIdx, string tablePid) + internal static IValidationResult NonExistingColumnIdxInOption(IValidate test, IReadable referenceNode, IReadable positionNode, string timerOption, string columnIdx, string tablePid) { return new ValidationResult { @@ -686,7 +686,7 @@ public static IValidationResult NonExistingColumnIdxInOption(IValidate test, IRe }; } - public static IValidationResult NonExistingColumnPositionInOption(IValidate test, IReadable referenceNode, IReadable positionNode, string timerOption, string columnPosition, string tablePid) + internal static IValidationResult NonExistingColumnPositionInOption(IValidate test, IReadable referenceNode, IReadable positionNode, string timerOption, string columnPosition, string tablePid) { return new ValidationResult { @@ -712,7 +712,7 @@ public static IValidationResult NonExistingColumnPositionInOption(IValidate test } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingIdInOption = 2; public const uint InvalidValueInOption = 3; diff --git a/Protocol/Error Messages/Protocol/Timers/Timer/Condition/CheckConditionTag.cs b/Protocol/Error Messages/Protocol/Timers/Timer/Condition/CheckConditionTag.cs index cde4d171..089ac184 100644 --- a/Protocol/Error Messages/Protocol/Timers/Timer/Condition/CheckConditionTag.cs +++ b/Protocol/Error Messages/Protocol/Timers/Timer/Condition/CheckConditionTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Timers.Timer.Condition.CheckConditionTa using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult InvalidCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string invalidityReason, string timerId) + internal static IValidationResult InvalidCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string invalidityReason, string timerId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult InvalidCondition(IValidate test, IReadable refer }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string timerId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string timerId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult UnrecommendedCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId) + internal static IValidationResult UnrecommendedCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UnrecommendedCondition(IValidate test, IReadable }; } - public static IValidationResult ConditionCanBeSimplified(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string timerId) + internal static IValidationResult ConditionCanBeSimplified(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string timerId) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult ConditionCanBeSimplified(IValidate test, IReadab } } - public static class ErrorIds + internal static class ErrorIds { public const uint InvalidCondition = 1; public const uint NonExistingId = 2; diff --git a/Protocol/Error Messages/Protocol/Timers/Timer/Content/Group/CheckGroupTag.cs b/Protocol/Error Messages/Protocol/Timers/Timer/Content/Group/CheckGroupTag.cs index f6378c00..eb4b66b1 100644 --- a/Protocol/Error Messages/Protocol/Timers/Timer/Content/Group/CheckGroupTag.cs +++ b/Protocol/Error Messages/Protocol/Timers/Timer/Content/Group/CheckGroupTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Timers.Timer.Content.Group.CheckGroupTa using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult NonExistingIdInGroup(IValidate test, IReadable referenceNode, IReadable positionNode, string referenceKind, string referenceId, string timerId) + internal static IValidationResult NonExistingIdInGroup(IValidate test, IReadable referenceNode, IReadable positionNode, string referenceKind, string referenceId, string timerId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult NonExistingIdInGroup(IValidate test, IReadable r }; } - public static IValidationResult EmptyGroupTag(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId) + internal static IValidationResult EmptyGroupTag(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyGroupTag(IValidate test, IReadable referenc }; } - public static IValidationResult InvalidGroupTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string timerId) + internal static IValidationResult InvalidGroupTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string timerId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidGroupTag(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint NonExistingIdInGroup = 2; public const uint EmptyGroupTag = 3; diff --git a/Protocol/Error Messages/Protocol/Timers/Timer/Name/CheckNameTag.cs b/Protocol/Error Messages/Protocol/Timers/Timer/Name/CheckNameTag.cs index b70e749a..d60a3a2c 100644 --- a/Protocol/Error Messages/Protocol/Timers/Timer/Name/CheckNameTag.cs +++ b/Protocol/Error Messages/Protocol/Timers/Timer/Name/CheckNameTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Timers.Timer.Name.CheckNameTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string timerIds) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string timerIds) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint DuplicatedValue = 1; } diff --git a/Protocol/Error Messages/Protocol/Timers/Timer/Time/CheckTimeTag.cs b/Protocol/Error Messages/Protocol/Timers/Timer/Time/CheckTimeTag.cs index bcac04d2..891a882e 100644 --- a/Protocol/Error Messages/Protocol/Timers/Timer/Time/CheckTimeTag.cs +++ b/Protocol/Error Messages/Protocol/Timers/Timer/Time/CheckTimeTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Timers.Timer.Time.CheckTimeTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidTagValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string allowedValues) + internal static IValidationResult InvalidTagValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string allowedValues) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidTagValue(IValidate test, IReadable refere }; } - public static IValidationResult TimerTimeCannotBeLargerThan24Days(IValidate test, IReadable referenceNode, IReadable positionNode, string timeValue, string timerId) + internal static IValidationResult TimerTimeCannotBeLargerThan24Days(IValidate test, IReadable referenceNode, IReadable positionNode, string timeValue, string timerId) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult TimerTimeCannotBeLargerThan24Days(IValidate test }; } - public static IValidationResult DuplicateTimer(IValidate test, IReadable referenceNode, IReadable positionNode, string timerTime, string timerIDs) + internal static IValidationResult DuplicateTimer(IValidate test, IReadable referenceNode, IReadable positionNode, string timerTime, string timerIDs) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult DuplicateTimer(IValidate test, IReadable referen }; } - public static IValidationResult TooFastTimer(IValidate test, IReadable referenceNode, IReadable positionNode, string timerTime, string timerId) + internal static IValidationResult TooFastTimer(IValidate test, IReadable referenceNode, IReadable positionNode, string timerTime, string timerId) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult TooFastTimer(IValidate test, IReadable reference }; } - public static IValidationResult TooSimilarTimers(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId, string timerTime) + internal static IValidationResult TooSimilarTimers(IValidate test, IReadable referenceNode, IReadable positionNode, string timerId, string timerTime) { return new ValidationResult { @@ -212,7 +212,7 @@ public static IValidationResult TooSimilarTimers(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Topologies/Topology/CheckNameAttribute.cs b/Protocol/Error Messages/Protocol/Topologies/Topology/CheckNameAttribute.cs index b7845ae6..7f58b826 100644 --- a/Protocol/Error Messages/Protocol/Topologies/Topology/CheckNameAttribute.cs +++ b/Protocol/Error Messages/Protocol/Topologies/Topology/CheckNameAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Topologies.Topology.CheckNameAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint DuplicatedValue = 1; } diff --git a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/CheckParameterIdAttribute.cs b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/CheckParameterIdAttribute.cs index 01ce2719..7e76610c 100644 --- a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/CheckParameterIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/CheckParameterIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.CheckParameter using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string currentValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string currentValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string invalidValue) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string invalidValue) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ReferencedParamWrongType(IValidate test, IReadable referenceNode, IReadable positionNode, string paramType, string paramId) + internal static IValidationResult ReferencedParamWrongType(IValidate test, IReadable referenceNode, IReadable positionNode, string paramType, string paramId) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult ReferencedParamWrongType(IValidate test, IReadab }; } - public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -187,7 +187,7 @@ public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDetailsTableIdAttribute.cs b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDetailsTableIdAttribute.cs index 468b0a08..f2c9ec04 100644 --- a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDetailsTableIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDetailsTableIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.ExtraDetails.L using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string treeControlPid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string treeControlPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ReferencedTableExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult ReferencedTableExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -162,7 +162,7 @@ public static IValidationResult ReferencedTableExpectingRTDisplay(IValidate test } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDiscreetColumnIdAttribute.cs b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDiscreetColumnIdAttribute.cs index d8451a94..1a208bd6 100644 --- a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDiscreetColumnIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDiscreetColumnIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.ExtraDetails.L using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string treeControlPid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string treeControlPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ReferencedColumnExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) + internal static IValidationResult ReferencedColumnExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) { return new ValidationResult { @@ -162,7 +162,7 @@ public static IValidationResult ReferencedColumnExpectingRTDisplay(IValidate tes } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckParameterAttribute.cs b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckParameterAttribute.cs index 38d6097b..a987c27a 100644 --- a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckParameterAttribute.cs +++ b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckParameterAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.ExtraTab.Tab.C using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string treeControlPid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string treeControlPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -162,7 +162,7 @@ public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckTableIdAttribute.cs b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckTableIdAttribute.cs index aedf8bbf..db4ea6c7 100644 --- a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckTableIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckTableIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.ExtraTab.Tab.C using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string treeControlPid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string treeControlPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/HiddenColumns/CheckHiddenColumnsTag.cs b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/HiddenColumns/CheckHiddenColumnsTag.cs index e0aa0649..6ccd5b23 100644 --- a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/HiddenColumns/CheckHiddenColumnsTag.cs +++ b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/HiddenColumns/CheckHiddenColumnsTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.HiddenColumns. using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string hiddenColumnsValue, string treeControlPid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string hiddenColumnsValue, string treeControlPid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingIds(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult NonExistingIds(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult NonExistingIds(IValidate test, IReadable referen }; } - public static IValidationResult NonExistingIds_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlPid) + internal static IValidationResult NonExistingIds_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlPid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult NonExistingIds_Sub(IValidate test, IReadable ref }; } - public static IValidationResult DuplicateId(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId, string treeControlId) + internal static IValidationResult DuplicateId(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId, string treeControlId) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult DuplicateId(IValidate test, IReadable referenceN }; } - public static IValidationResult InvalidValueInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string invalidPart) + internal static IValidationResult InvalidValueInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string invalidPart) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult InvalidValueInTag_Sub(IValidate test, IReadable }; } - public static IValidationResult UntrimmedInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) + internal static IValidationResult UntrimmedInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult UntrimmedInTag_Sub(IValidate test, IReadable ref }; } - public static IValidationResult IrrelevantColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlId) + internal static IValidationResult IrrelevantColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlId) { return new ValidationResult { @@ -237,7 +237,7 @@ public static IValidationResult IrrelevantColumn(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyTag = 1; public const uint UntrimmedTag = 2; diff --git a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/CheckPathAttribute.cs b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/CheckPathAttribute.cs index 9c0f97a4..d3cfdea6 100644 --- a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/CheckPathAttribute.cs +++ b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/CheckPathAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.Hierarchy.Chec using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string pathValue, string treeControlPid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string pathValue, string treeControlPid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingIdsInAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult NonExistingIdsInAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult NonExistingIdsInAttribute(IValidate test, IReada }; } - public static IValidationResult NonExistingIdsInAttribute_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string treeControlPid) + internal static IValidationResult NonExistingIdsInAttribute_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string treeControlPid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult NonExistingIdsInAttribute_Sub(IValidate test, IR }; } - public static IValidationResult DuplicateId(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId, string treeControlId) + internal static IValidationResult DuplicateId(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId, string treeControlId) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult DuplicateId(IValidate test, IReadable referenceN }; } - public static IValidationResult UntrimmedValueInAttribute_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) + internal static IValidationResult UntrimmedValueInAttribute_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult UntrimmedValueInAttribute_Sub(IValidate test, IR }; } - public static IValidationResult InvalidValueInAttribute_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string invalidPart) + internal static IValidationResult InvalidValueInAttribute_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string invalidPart) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult InvalidValueInAttribute_Sub(IValidate test, IRea }; } - public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -237,7 +237,7 @@ public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint UntrimmedAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckConditionAttribute.cs b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckConditionAttribute.cs index 494a5fa3..e43ee8be 100644 --- a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckConditionAttribute.cs +++ b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckConditionAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.Hierarchy.Tabl using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedColumnPid(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedColumnPid, string treeControlId) + internal static IValidationResult UntrimmedColumnPid(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedColumnPid, string treeControlId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedColumnPid(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string treeControlPid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string treeControlPid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult InvalidValueInAttribute_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string treeControlId, string optionValue) + internal static IValidationResult InvalidValueInAttribute_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string optionName, string treeControlId, string optionValue) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult InvalidValueInAttribute_Sub(IValidate test, IRea }; } - public static IValidationResult MissingValueInAttribute_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string valueName, string treeControlId) + internal static IValidationResult MissingValueInAttribute_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string valueName, string treeControlId) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult MissingValueInAttribute_Sub(IValidate test, IRea }; } - public static IValidationResult ReferencedColumnExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlPid) + internal static IValidationResult ReferencedColumnExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlPid) { return new ValidationResult { @@ -187,7 +187,7 @@ public static IValidationResult ReferencedColumnExpectingRTDisplay(IValidate tes } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 1; public const uint UntrimmedColumnPid = 2; diff --git a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckIdAttribute.cs index 8812a605..11a0d432 100644 --- a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.Hierarchy.Tabl using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tableId, string treeControlPid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tableId, string treeControlPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -162,7 +162,7 @@ public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckParentAttribute.cs b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckParentAttribute.cs index 55099ca0..cfe40070 100644 --- a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckParentAttribute.cs +++ b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckParentAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.Hierarchy.Tabl using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult ExcessiveAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult ExcessiveAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult ExcessiveAttribute(IValidate test, IReadable ref }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string treeControlPid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string treeControlPid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid) { return new ValidationResult { @@ -162,7 +162,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint ExcessiveAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/OverrideDisplayColumns/CheckOverrideDisplayColumnsTag.cs b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/OverrideDisplayColumns/CheckOverrideDisplayColumnsTag.cs index 38351387..18f15fff 100644 --- a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/OverrideDisplayColumns/CheckOverrideDisplayColumnsTag.cs +++ b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/OverrideDisplayColumns/CheckOverrideDisplayColumnsTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.OverrideDispla using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string treeControlPid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string treeControlPid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingIds(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult NonExistingIds(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult NonExistingIds(IValidate test, IReadable referen }; } - public static IValidationResult NonExistingIds_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlPid) + internal static IValidationResult NonExistingIds_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlPid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult NonExistingIds_Sub(IValidate test, IReadable ref }; } - public static IValidationResult DuplicateId(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId, string treeControlId) + internal static IValidationResult DuplicateId(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId, string treeControlId) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult DuplicateId(IValidate test, IReadable referenceN }; } - public static IValidationResult DuplicateOverrideDisplayColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string treeControlPid) + internal static IValidationResult DuplicateOverrideDisplayColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string treeControlPid) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult DuplicateOverrideDisplayColumn(IValidate test, I }; } - public static IValidationResult UntrimmedValueInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) + internal static IValidationResult UntrimmedValueInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult UntrimmedValueInTag_Sub(IValidate test, IReadabl }; } - public static IValidationResult InvalidValueInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string invalidPart) + internal static IValidationResult InvalidValueInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string invalidPart) { return new ValidationResult { @@ -236,7 +236,7 @@ public static IValidationResult InvalidValueInTag_Sub(IValidate test, IReadable }; } - public static IValidationResult DuplicateOverrideDisplayColumns_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId) + internal static IValidationResult DuplicateOverrideDisplayColumns_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId) { return new ValidationResult { @@ -261,7 +261,7 @@ public static IValidationResult DuplicateOverrideDisplayColumns_Sub(IValidate te }; } - public static IValidationResult IrrelevantColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlId) + internal static IValidationResult IrrelevantColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlId) { return new ValidationResult { @@ -287,7 +287,7 @@ public static IValidationResult IrrelevantColumn(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyTag = 1; public const uint UntrimmedTag = 2; diff --git a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/OverrideIconColumns/CheckOverrideIconColumnsTag.cs b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/OverrideIconColumns/CheckOverrideIconColumnsTag.cs index 233a0e72..b7ab3e98 100644 --- a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/OverrideIconColumns/CheckOverrideIconColumnsTag.cs +++ b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/OverrideIconColumns/CheckOverrideIconColumnsTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.OverrideIconCo using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string overrideIconColumnsValue, string treeControlPid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string overrideIconColumnsValue, string treeControlPid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingIds(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult NonExistingIds(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult NonExistingIds(IValidate test, IReadable referen }; } - public static IValidationResult NonExistingIds_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlPid) + internal static IValidationResult NonExistingIds_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlPid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult NonExistingIds_Sub(IValidate test, IReadable ref }; } - public static IValidationResult DuplicateId(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId, string treeControlId) + internal static IValidationResult DuplicateId(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId, string treeControlId) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult DuplicateId(IValidate test, IReadable referenceN }; } - public static IValidationResult DuplicateOverrideIconColumns(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string treeControlPid) + internal static IValidationResult DuplicateOverrideIconColumns(IValidate test, IReadable referenceNode, IReadable positionNode, string tablePid, string treeControlPid) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult DuplicateOverrideIconColumns(IValidate test, IRe }; } - public static IValidationResult UntrimmedValueInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) + internal static IValidationResult UntrimmedValueInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult UntrimmedValueInTag_Sub(IValidate test, IReadabl }; } - public static IValidationResult InvalidValueInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string invalidPart) + internal static IValidationResult InvalidValueInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string invalidPart) { return new ValidationResult { @@ -236,7 +236,7 @@ public static IValidationResult InvalidValueInTag_Sub(IValidate test, IReadable }; } - public static IValidationResult DuplicateOverrideIconColumns_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId) + internal static IValidationResult DuplicateOverrideIconColumns_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId) { return new ValidationResult { @@ -261,7 +261,7 @@ public static IValidationResult DuplicateOverrideIconColumns_Sub(IValidate test, }; } - public static IValidationResult IrrelevantColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlId) + internal static IValidationResult IrrelevantColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlId) { return new ValidationResult { @@ -287,7 +287,7 @@ public static IValidationResult IrrelevantColumn(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyTag = 1; public const uint UntrimmedTag = 2; diff --git a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ReadonlyColumns/CheckReadonlyColumnsTag.cs b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ReadonlyColumns/CheckReadonlyColumnsTag.cs index 614cb0a7..32efaadd 100644 --- a/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ReadonlyColumns/CheckReadonlyColumnsTag.cs +++ b/Protocol/Error Messages/Protocol/TreeControls/TreeControl/ReadonlyColumns/CheckReadonlyColumnsTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.ReadonlyColumn using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid, string untrimmedValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string readonlyColumnsValue, string treeControlPid) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string readonlyColumnsValue, string treeControlPid) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingIds(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) + internal static IValidationResult NonExistingIds(IValidate test, IReadable referenceNode, IReadable positionNode, string treeControlPid) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult NonExistingIds(IValidate test, IReadable referen }; } - public static IValidationResult NonExistingIds_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlPid) + internal static IValidationResult NonExistingIds_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlPid) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult NonExistingIds_Sub(IValidate test, IReadable ref }; } - public static IValidationResult DuplicateId(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId, string treeControlId) + internal static IValidationResult DuplicateId(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateId, string treeControlId) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult DuplicateId(IValidate test, IReadable referenceN }; } - public static IValidationResult UntrimmedValueInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) + internal static IValidationResult UntrimmedValueInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult UntrimmedValueInTag_Sub(IValidate test, IReadabl }; } - public static IValidationResult InvalidValueInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string invalidPart) + internal static IValidationResult InvalidValueInTag_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string invalidPart) { return new ValidationResult { @@ -211,7 +211,7 @@ public static IValidationResult InvalidValueInTag_Sub(IValidate test, IReadable }; } - public static IValidationResult IrrelevantColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlId) + internal static IValidationResult IrrelevantColumn(IValidate test, IReadable referenceNode, IReadable positionNode, string columnPid, string treeControlId) { return new ValidationResult { @@ -237,7 +237,7 @@ public static IValidationResult IrrelevantColumn(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyTag = 1; public const uint UntrimmedTag = 2; diff --git a/Protocol/Error Messages/Protocol/Triggers/Trigger/CheckAfterStartupFlow.cs b/Protocol/Error Messages/Protocol/Triggers/Trigger/CheckAfterStartupFlow.cs index 5a69ecf7..d86c60cd 100644 --- a/Protocol/Error Messages/Protocol/Triggers/Trigger/CheckAfterStartupFlow.cs +++ b/Protocol/Error Messages/Protocol/Triggers/Trigger/CheckAfterStartupFlow.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.CheckAfterStartupFlow using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult InvalidAfterStartupTriggerCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId) + internal static IValidationResult InvalidAfterStartupTriggerCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult InvalidAfterStartupTriggerCondition(IValidate te }; } - public static IValidationResult InvalidAfterStartupActionCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) + internal static IValidationResult InvalidAfterStartupActionCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult InvalidAfterStartupActionCondition(IValidate tes }; } - public static IValidationResult InvalidAfterStartupTriggerType(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId) + internal static IValidationResult InvalidAfterStartupTriggerType(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult InvalidAfterStartupTriggerType(IValidate test, I }; } - public static IValidationResult InvalidAfterStartupActionOn(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) + internal static IValidationResult InvalidAfterStartupActionOn(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidAfterStartupActionOn(IValidate test, IRea }; } - public static IValidationResult InvalidAfterStartupActionType(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) + internal static IValidationResult InvalidAfterStartupActionType(IValidate test, IReadable referenceNode, IReadable positionNode, string actionId) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult InvalidAfterStartupActionType(IValidate test, IR }; } - public static IValidationResult InvalidAfterStartupGroupType(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) + internal static IValidationResult InvalidAfterStartupGroupType(IValidate test, IReadable referenceNode, IReadable positionNode, string groupId) { return new ValidationResult { @@ -162,7 +162,7 @@ public static IValidationResult InvalidAfterStartupGroupType(IValidate test, IRe } } - public static class ErrorIds + internal static class ErrorIds { public const uint InvalidAfterStartupTriggerCondition = 1; public const uint InvalidAfterStartupActionCondition = 2; diff --git a/Protocol/Error Messages/Protocol/Triggers/Trigger/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/Triggers/Trigger/CheckIdAttribute.cs index 5a2d06dd..f8f7647a 100644 --- a/Protocol/Error Messages/Protocol/Triggers/Trigger/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/Triggers/Trigger/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.CheckIdAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId, string triggerName) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId, string triggerName) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId, string triggerNames) + internal static IValidationResult DuplicatedId(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId, string triggerNames) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult DuplicatedId(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint EmptyAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Triggers/Trigger/CheckOnTagTimeTagCombination.cs b/Protocol/Error Messages/Protocol/Triggers/Trigger/CheckOnTagTimeTagCombination.cs index 374c6e02..ebb9b63d 100644 --- a/Protocol/Error Messages/Protocol/Triggers/Trigger/CheckOnTagTimeTagCombination.cs +++ b/Protocol/Error Messages/Protocol/Triggers/Trigger/CheckOnTagTimeTagCombination.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.CheckOnTagTimeTagCombi using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult InvalidOnTagTimeTagCombination(IValidate test, IReadable referenceNode, IReadable positionNode, string onTagValue, string timeTagValue, string triggerId) + internal static IValidationResult InvalidOnTagTimeTagCombination(IValidate test, IReadable referenceNode, IReadable positionNode, string onTagValue, string timeTagValue, string triggerId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult InvalidOnTagTimeTagCombination(IValidate test, I }; } - public static IValidationResult DuplicateTrigger(IValidate test, IReadable referenceNode, IReadable positionNode, Certainty certainty, string triggerId) + internal static IValidationResult DuplicateTrigger(IValidate test, IReadable referenceNode, IReadable positionNode, Certainty certainty, string triggerId) { return new ValidationResult { @@ -62,7 +62,7 @@ public static IValidationResult DuplicateTrigger(IValidate test, IReadable refer } } - public static class ErrorIds + internal static class ErrorIds { public const uint InvalidOnTagTimeTagCombination = 1; public const uint DuplicateTrigger = 2; diff --git a/Protocol/Error Messages/Protocol/Triggers/Trigger/Condition/CheckConditionTag.cs b/Protocol/Error Messages/Protocol/Triggers/Trigger/Condition/CheckConditionTag.cs index 9f73f6fe..0163eaf8 100644 --- a/Protocol/Error Messages/Protocol/Triggers/Trigger/Condition/CheckConditionTag.cs +++ b/Protocol/Error Messages/Protocol/Triggers/Trigger/Condition/CheckConditionTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.Condition.CheckConditi using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult InvalidCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string invalidityReason, string triggerId) + internal static IValidationResult InvalidCondition(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string invalidityReason, string triggerId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult InvalidCondition(IValidate test, IReadable refer }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string triggerId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId, string triggerId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ConditionCanBeSimplified(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string triggerId) + internal static IValidationResult ConditionCanBeSimplified(IValidate test, IReadable referenceNode, IReadable positionNode, string conditionString, string triggerId) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult ConditionCanBeSimplified(IValidate test, IReadab } } - public static class ErrorIds + internal static class ErrorIds { public const uint InvalidCondition = 1; public const uint NonExistingId = 2; diff --git a/Protocol/Error Messages/Protocol/Triggers/Trigger/Content/Id/CheckIdTag.cs b/Protocol/Error Messages/Protocol/Triggers/Trigger/Content/Id/CheckIdTag.cs index 36a7c34f..be8dead2 100644 --- a/Protocol/Error Messages/Protocol/Triggers/Trigger/Content/Id/CheckIdTag.cs +++ b/Protocol/Error Messages/Protocol/Triggers/Trigger/Content/Id/CheckIdTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.Content.Id.CheckIdTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId, string untrimmedValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string triggerId) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string triggerId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string targetKind, string targetId, string triggerId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string targetKind, string targetId, string triggerId) { return new ValidationResult { @@ -137,7 +137,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Triggers/Trigger/Name/CheckNameTag.cs b/Protocol/Error Messages/Protocol/Triggers/Trigger/Name/CheckNameTag.cs index dc3960e9..7ab6177e 100644 --- a/Protocol/Error Messages/Protocol/Triggers/Trigger/Name/CheckNameTag.cs +++ b/Protocol/Error Messages/Protocol/Triggers/Trigger/Name/CheckNameTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.Name.CheckNameTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string triggerIds) + internal static IValidationResult DuplicatedValue(IValidate test, IReadable referenceNode, IReadable positionNode, string duplicateName, string triggerIds) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult DuplicatedValue(IValidate test, IReadable refere } } - public static class ErrorIds + internal static class ErrorIds { public const uint DuplicatedValue = 1; } diff --git a/Protocol/Error Messages/Protocol/Triggers/Trigger/On/CheckIdAttribute.cs b/Protocol/Error Messages/Protocol/Triggers/Trigger/On/CheckIdAttribute.cs index 7d68a0ff..90bbaad6 100644 --- a/Protocol/Error Messages/Protocol/Triggers/Trigger/On/CheckIdAttribute.cs +++ b/Protocol/Error Messages/Protocol/Triggers/Trigger/On/CheckIdAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.On.CheckIdAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId) + internal static IValidationResult MissingAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingAttribute(IValidate test, IReadable refer }; } - public static IValidationResult ExcessiveAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string onTagValue, string triggerId) + internal static IValidationResult ExcessiveAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string onTagValue, string triggerId) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult ExcessiveAttribute(IValidate test, IReadable ref }; } - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult MultipleIds(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId) + internal static IValidationResult MultipleIds(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult MultipleIds(IValidate test, IReadable referenceN }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string allowedValues) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue, string allowedValues) { return new ValidationResult { @@ -136,7 +136,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referenceKind, string referenceId, string triggerId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string referenceKind, string referenceId, string triggerId) { return new ValidationResult { @@ -161,7 +161,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult LeadingZeros(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId, string attributeValue) + internal static IValidationResult LeadingZeros(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId, string attributeValue) { return new ValidationResult { @@ -186,7 +186,7 @@ public static IValidationResult LeadingZeros(IValidate test, IReadable reference }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -212,7 +212,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingAttribute = 1; public const uint ExcessiveAttribute = 2; diff --git a/Protocol/Error Messages/Protocol/Triggers/Trigger/Time/CheckTimeTag.cs b/Protocol/Error Messages/Protocol/Triggers/Trigger/Time/CheckTimeTag.cs index d0687aaf..c236a9a5 100644 --- a/Protocol/Error Messages/Protocol/Triggers/Trigger/Time/CheckTimeTag.cs +++ b/Protocol/Error Messages/Protocol/Triggers/Trigger/Time/CheckTimeTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.Time.CheckTimeTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MultipleAfterStartup(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId) + internal static IValidationResult MultipleAfterStartup(IValidate test, IReadable referenceNode, IReadable positionNode, string triggerId) { return new ValidationResult { @@ -37,7 +37,7 @@ public static IValidationResult MultipleAfterStartup(IValidate test, IReadable r } } - public static class ErrorIds + internal static class ErrorIds { public const uint MultipleAfterStartup = 1; } diff --git a/Protocol/Error Messages/Protocol/Type/CheckAdvancedAttribute.cs b/Protocol/Error Messages/Protocol/Type/CheckAdvancedAttribute.cs index 394ea481..8506d983 100644 --- a/Protocol/Error Messages/Protocol/Type/CheckAdvancedAttribute.cs +++ b/Protocol/Error Messages/Protocol/Type/CheckAdvancedAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Type.CheckAdvancedAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string attributeValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult UntrimmedValueInAttribute_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) + internal static IValidationResult UntrimmedValueInAttribute_Sub(IValidate test, IReadable referenceNode, IReadable positionNode, string untrimmedValue) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult UntrimmedValueInAttribute_Sub(IValidate test, IR }; } - public static IValidationResult UnknownConnection(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionType, string connectionId) + internal static IValidationResult UnknownConnection(IValidate test, IReadable referenceNode, IReadable positionNode, string connectionType, string connectionId) { return new ValidationResult { @@ -112,7 +112,7 @@ public static IValidationResult UnknownConnection(IValidate test, IReadable refe } } - public static class ErrorIds + internal static class ErrorIds { public const uint EmptyAttribute = 4; public const uint UntrimmedAttribute = 5; diff --git a/Protocol/Error Messages/Protocol/Type/CheckDatabaseOptionsAttribute.cs b/Protocol/Error Messages/Protocol/Type/CheckDatabaseOptionsAttribute.cs index ce250487..d404f7e7 100644 --- a/Protocol/Error Messages/Protocol/Type/CheckDatabaseOptionsAttribute.cs +++ b/Protocol/Error Messages/Protocol/Type/CheckDatabaseOptionsAttribute.cs @@ -7,9 +7,9 @@ namespace SLDisValidator2.Tests.Protocol.Type.CheckDatabaseOptionsAttribute using SLDisValidator2.Common; - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult EnabledPartitionedTrending(IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EnabledPartitionedTrending(IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -35,7 +35,7 @@ public static IValidationResult EnabledPartitionedTrending(IReadable referenceNo } } - public static class ErrorIds + internal static class ErrorIds { public const uint EnabledPartitionedTrending = 1; } diff --git a/Protocol/Error Messages/Protocol/Type/CheckOptionsAttribute.cs b/Protocol/Error Messages/Protocol/Type/CheckOptionsAttribute.cs index c2ed9a6f..16b43adf 100644 --- a/Protocol/Error Messages/Protocol/Type/CheckOptionsAttribute.cs +++ b/Protocol/Error Messages/Protocol/Type/CheckOptionsAttribute.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Type.CheckOptionsAttribute using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyAttribute(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult EmptyAttribute(IValidate test, IReadable referen }; } - public static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string currentValue) + internal static IValidationResult UntrimmedAttribute(IValidate test, IReadable referenceNode, IReadable positionNode, string currentValue) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult UntrimmedAttribute(IValidate test, IReadable ref }; } - public static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) + internal static IValidationResult NonExistingId(IValidate test, IReadable referenceNode, IReadable positionNode, string paramId) { return new ValidationResult { @@ -86,7 +86,7 @@ public static IValidationResult NonExistingId(IValidate test, IReadable referenc }; } - public static IValidationResult ReferencedParamWrongType(IValidate test, IReadable referenceNode, IReadable positionNode, string paramType, string paramId) + internal static IValidationResult ReferencedParamWrongType(IValidate test, IReadable referenceNode, IReadable positionNode, string paramType, string paramId) { return new ValidationResult { @@ -111,7 +111,7 @@ public static IValidationResult ReferencedParamWrongType(IValidate test, IReadab }; } - public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string dveTablePid) + internal static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test, IReadable referenceNode, IReadable positionNode, string dveTablePid) { return new ValidationResult { @@ -137,9 +137,9 @@ public static IValidationResult ReferencedParamExpectingRTDisplay(IValidate test } } - public static class ErrorCompare + internal static class ErrorCompare { - public static IValidationResult UpdatedDveExportProtocolName(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId, string newDveProtocolName) + internal static IValidationResult UpdatedDveExportProtocolName(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId, string newDveProtocolName) { return new ValidationResult { @@ -164,7 +164,7 @@ public static IValidationResult UpdatedDveExportProtocolName(IReadable reference }; } - public static IValidationResult RemovedDveExportProtocolName(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId) + internal static IValidationResult RemovedDveExportProtocolName(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId) { return new ValidationResult { @@ -189,7 +189,7 @@ public static IValidationResult RemovedDveExportProtocolName(IReadable reference }; } - public static IValidationResult AddedNoElementPrefix(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId) + internal static IValidationResult AddedNoElementPrefix(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId) { return new ValidationResult { @@ -214,7 +214,7 @@ public static IValidationResult AddedNoElementPrefix(IReadable referenceNode, IR }; } - public static IValidationResult RemovedNoElementPrefix(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId) + internal static IValidationResult RemovedNoElementPrefix(IReadable referenceNode, IReadable positionNode, string dveProtocolName, string tableId) { return new ValidationResult { @@ -239,7 +239,7 @@ public static IValidationResult RemovedNoElementPrefix(IReadable referenceNode, }; } - public static IValidationResult AddedUnicode(IReadable referenceNode, IReadable positionNode) + internal static IValidationResult AddedUnicode(IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -264,7 +264,7 @@ public static IValidationResult AddedUnicode(IReadable referenceNode, IReadable }; } - public static IValidationResult RemovedUnicode(IReadable referenceNode, IReadable positionNode) + internal static IValidationResult RemovedUnicode(IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -290,7 +290,7 @@ public static IValidationResult RemovedUnicode(IReadable referenceNode, IReadabl } } - public static class ErrorIds + internal static class ErrorIds { public const uint UpdatedDveExportProtocolName = 2; public const uint RemovedDveExportProtocolName = 3; diff --git a/Protocol/Error Messages/Protocol/Type/CheckTypeTag.cs b/Protocol/Error Messages/Protocol/Type/CheckTypeTag.cs index 3432da5a..c6ddbd5f 100644 --- a/Protocol/Error Messages/Protocol/Type/CheckTypeTag.cs +++ b/Protocol/Error Messages/Protocol/Type/CheckTypeTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Type.CheckTypeTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string allowedValues) + internal static IValidationResult InvalidValue(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue, string allowedValues) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult InvalidValue(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Error Messages/Protocol/Version/CheckVersionTag.cs b/Protocol/Error Messages/Protocol/Version/CheckVersionTag.cs index ce84d58a..1f92d448 100644 --- a/Protocol/Error Messages/Protocol/Version/CheckVersionTag.cs +++ b/Protocol/Error Messages/Protocol/Version/CheckVersionTag.cs @@ -9,9 +9,9 @@ namespace SLDisValidator2.Tests.Protocol.Version.CheckVersionTag using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public static class Error + internal static class Error { - public static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult MissingTag(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -36,7 +36,7 @@ public static IValidationResult MissingTag(IValidate test, IReadable referenceNo }; } - public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode) + internal static IValidationResult EmptyTag(IValidate test, IReadable referenceNode, IReadable positionNode) { return new ValidationResult { @@ -61,7 +61,7 @@ public static IValidationResult EmptyTag(IValidate test, IReadable referenceNode }; } - public static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue) + internal static IValidationResult UntrimmedTag(IValidate test, IReadable referenceNode, IReadable positionNode, string tagValue) { return new ValidationResult { @@ -87,7 +87,7 @@ public static IValidationResult UntrimmedTag(IValidate test, IReadable reference } } - public static class ErrorIds + internal static class ErrorIds { public const uint MissingTag = 1; public const uint EmptyTag = 2; diff --git a/Protocol/Generic/GenericTests.cs b/Protocol/Generic/GenericTests.cs index 68c8e227..76ff662b 100644 --- a/Protocol/Generic/GenericTests.cs +++ b/Protocol/Generic/GenericTests.cs @@ -8,7 +8,7 @@ using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public static class GenericTests + internal static class GenericTests { /// /// Allows to perform some basic and generic checks on Tags and attribute diff --git a/Protocol/Helpers/ConnectionHelper.cs b/Protocol/Helpers/ConnectionHelper.cs index fcf24f26..e2362097 100644 --- a/Protocol/Helpers/ConnectionHelper.cs +++ b/Protocol/Helpers/ConnectionHelper.cs @@ -5,7 +5,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Enums; using Skyline.DataMiner.CICD.Models.Protocol.Read; - public static class ConnectionHelper + internal static class ConnectionHelper { internal static string CreateConnectionName(IProtocol protocol, IPortSettingsBase portSettings) { diff --git a/Protocol/Helpers/DcfHelper.cs b/Protocol/Helpers/DcfHelper.cs index 1a1fd35e..56cf6e4f 100644 --- a/Protocol/Helpers/DcfHelper.cs +++ b/Protocol/Helpers/DcfHelper.cs @@ -1,6 +1,6 @@ namespace SLDisValidator2.Tests { - public static class DcfHelper + internal static class DcfHelper { public static char[] RestrictedParameterGroupNameChars { get; } = { '\\' }; } diff --git a/Protocol/Helpers/FixedProtocolQActionHelperProvider.cs b/Protocol/Helpers/FixedProtocolQActionHelperProvider.cs deleted file mode 100644 index a72de212..00000000 --- a/Protocol/Helpers/FixedProtocolQActionHelperProvider.cs +++ /dev/null @@ -1,19 +0,0 @@ -namespace SLDisValidator2.Helpers -{ - using Skyline.DataMiner.CICD.Validators.Common.Interfaces; - - public class FixedProtocolQActionHelperProvider : IProtocolQActionHelperProvider - { - private readonly string _qactionHelper; - - public FixedProtocolQActionHelperProvider(string qactionHelper) - { - _qactionHelper = qactionHelper; - } - - public string GetProtocolQActionHelper(string protocolCode, bool ignoreErrors = false) - { - return _qactionHelper; - } - } -} diff --git a/Protocol/Helpers/Helper.cs b/Protocol/Helpers/Helper.cs index b5a21b55..3260ce03 100644 --- a/Protocol/Helpers/Helper.cs +++ b/Protocol/Helpers/Helper.cs @@ -8,7 +8,7 @@ using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Extensions; - public static class Helper + internal static class Helper { public static readonly string[] CriticalActions = { diff --git a/Protocol/Helpers/HelperCollection.cs b/Protocol/Helpers/HelperCollection.cs index 9251bfcb..9c84081e 100644 --- a/Protocol/Helpers/HelperCollection.cs +++ b/Protocol/Helpers/HelperCollection.cs @@ -3,7 +3,7 @@ using Skyline.DataMiner.CICD.Validators.Common.Model; using SLDisValidator2.Tests; - public class HelperCollection + internal class HelperCollection { public HelperCollection(ValidatorSettings settings) { diff --git a/Protocol/Helpers/HttpHelper.cs b/Protocol/Helpers/HttpHelper.cs index d5656024..0937e6c8 100644 --- a/Protocol/Helpers/HttpHelper.cs +++ b/Protocol/Helpers/HttpHelper.cs @@ -3,7 +3,7 @@ using System; using System.Collections.Generic; - public static class HttpHelper + internal static class HttpHelper { private static readonly HashSet RedundantHttpRequestHeaders = new HashSet(StringComparer.OrdinalIgnoreCase) { "User-Agent" }; diff --git a/Protocol/Helpers/ParamHelper.cs b/Protocol/Helpers/ParamHelper.cs index 4ecca495..c830910b 100644 --- a/Protocol/Helpers/ParamHelper.cs +++ b/Protocol/Helpers/ParamHelper.cs @@ -10,7 +10,7 @@ using Skyline.DataMiner.CICD.Models.Protocol.Read.Interfaces; using Skyline.DataMiner.CICD.Models.Protocol.Read.Linking; - public static class ParamHelper + internal static class ParamHelper { public static char[] RestrictedParamNameChars { get; } = { }; diff --git a/Protocol/Helpers/ProtocolHelper.cs b/Protocol/Helpers/ProtocolHelper.cs index 1f0e4b34..823dee81 100644 --- a/Protocol/Helpers/ProtocolHelper.cs +++ b/Protocol/Helpers/ProtocolHelper.cs @@ -3,7 +3,7 @@ using System; using System.Linq; - public static class ProtocolHelper + internal static class ProtocolHelper { public static char[] RestrictedProtocolNameChars { get; } = { '<', '>', ':', '"', '/', '\\', '|', '?', '*', ';', '°' }; diff --git a/Protocol/Helpers/QActionAnalyzerBase.cs b/Protocol/Helpers/QActionAnalyzerBase.cs index 8020f727..e584b52e 100644 --- a/Protocol/Helpers/QActionAnalyzerBase.cs +++ b/Protocol/Helpers/QActionAnalyzerBase.cs @@ -11,7 +11,7 @@ using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public class QActionAnalyzerBase : CSharpAnalyzerBase + internal class QActionAnalyzerBase : CSharpAnalyzerBase { protected readonly IValidate test; protected readonly ValidatorContext context; diff --git a/Protocol/Helpers/TitleCasingHelper.cs b/Protocol/Helpers/TitleCasingHelper.cs index a3177ce8..75eb4f7a 100644 --- a/Protocol/Helpers/TitleCasingHelper.cs +++ b/Protocol/Helpers/TitleCasingHelper.cs @@ -8,7 +8,7 @@ using Skyline.DataMiner.CICD.Validators.Common.Model; - public class TitleCasing + internal class TitleCasing { private readonly FixedCasing fixedCasing; diff --git a/Protocol/Helpers/TriggerHelper.cs b/Protocol/Helpers/TriggerHelper.cs index 87e5927b..790dff08 100644 --- a/Protocol/Helpers/TriggerHelper.cs +++ b/Protocol/Helpers/TriggerHelper.cs @@ -4,7 +4,7 @@ using System.Linq; using Skyline.DataMiner.CICD.Models.Protocol.Enums; - public static class TriggerHelper + internal static class TriggerHelper { private static readonly Dictionary TriggerValidOnTimeTagCombinations = new Dictionary { diff --git a/Protocol/Helpers/ValidateHelperBase.cs b/Protocol/Helpers/ValidateHelperBase.cs index f2899bc9..42e0352e 100644 --- a/Protocol/Helpers/ValidateHelperBase.cs +++ b/Protocol/Helpers/ValidateHelperBase.cs @@ -7,7 +7,7 @@ using SLDisValidator2.Common; using SLDisValidator2.Interfaces; - public class ValidateHelperBase + internal class ValidateHelperBase { protected readonly IValidate test; protected readonly ValidatorContext context; diff --git a/Protocol/Interfaces/ICodeFix.cs b/Protocol/Interfaces/ICodeFix.cs index 4e4c5008..751032d9 100644 --- a/Protocol/Interfaces/ICodeFix.cs +++ b/Protocol/Interfaces/ICodeFix.cs @@ -4,7 +4,7 @@ using SLDisValidator2.Common; - public interface ICodeFix : IRoot + internal interface ICodeFix : IRoot { ICodeFixResult Fix(CodeFixContext context); } diff --git a/Protocol/Interfaces/ICompare.cs b/Protocol/Interfaces/ICompare.cs index 0713771b..b695cc26 100644 --- a/Protocol/Interfaces/ICompare.cs +++ b/Protocol/Interfaces/ICompare.cs @@ -6,7 +6,7 @@ using SLDisValidator2.Common; - public interface ICompare : IRoot + internal interface ICompare : IRoot { List Compare(MajorChangeCheckContext context); } diff --git a/Protocol/Interfaces/IRoot.cs b/Protocol/Interfaces/IRoot.cs index 7e4f1635..e739bf5a 100644 --- a/Protocol/Interfaces/IRoot.cs +++ b/Protocol/Interfaces/IRoot.cs @@ -1,6 +1,6 @@ namespace SLDisValidator2.Interfaces { - public interface IRoot + internal interface IRoot { } } \ No newline at end of file diff --git a/Protocol/Interfaces/IValidate.cs b/Protocol/Interfaces/IValidate.cs index be1c6266..848d2d51 100644 --- a/Protocol/Interfaces/IValidate.cs +++ b/Protocol/Interfaces/IValidate.cs @@ -6,7 +6,7 @@ using SLDisValidator2.Common; - public interface IValidate : IRoot + internal interface IValidate : IRoot { List Validate(ValidatorContext context); } diff --git a/Protocol/Legacy/CheckRTDisplayTrue.cs b/Protocol/Legacy/CheckRTDisplayTrue.cs index f46af3ac..689695f0 100644 --- a/Protocol/Legacy/CheckRTDisplayTrue.cs +++ b/Protocol/Legacy/CheckRTDisplayTrue.cs @@ -7,7 +7,7 @@ using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public partial class ProtocolChecks + internal partial class ProtocolChecks { /// /// Checks the RTDisplay. diff --git a/Protocol/Legacy/InternalError.cs b/Protocol/Legacy/InternalError.cs index 2e343d8e..d1323c0a 100644 --- a/Protocol/Legacy/InternalError.cs +++ b/Protocol/Legacy/InternalError.cs @@ -13,7 +13,7 @@ /// /// [DataContract] - public class InternalError : IValidationResult + internal class InternalError : IValidationResult { public List SubResults { get; set; } diff --git a/Protocol/Legacy/ParameterInfo.cs b/Protocol/Legacy/ParameterInfo.cs index 3d1acb8a..5ba655d3 100644 --- a/Protocol/Legacy/ParameterInfo.cs +++ b/Protocol/Legacy/ParameterInfo.cs @@ -8,7 +8,7 @@ /// Holds info on the parameter and its s. /// /// - public class ParameterInfo : IEquatable + internal class ParameterInfo : IEquatable { /// /// Initializes a new instance of the class. @@ -224,7 +224,7 @@ public override int GetHashCode() /// Compare two objects. /// /// - public class ParameterInfoComparer : IEqualityComparer + internal class ParameterInfoComparer : IEqualityComparer { /// /// Determines whether the specified objects are equal. diff --git a/Protocol/Legacy/Position.cs b/Protocol/Legacy/Position.cs index 0304136a..cf17b26a 100644 --- a/Protocol/Legacy/Position.cs +++ b/Protocol/Legacy/Position.cs @@ -7,7 +7,7 @@ /// Info on parameter positions. /// /// - public class Position : IEquatable + internal class Position : IEquatable { /// /// Initializes a new instance of the class. This will be empty. @@ -155,7 +155,7 @@ public override string ToString() /// Compare two objects. /// /// - public class PositionComparer : IEqualityComparer + internal class PositionComparer : IEqualityComparer { /// /// Determines whether the specified objects are equal. diff --git a/Protocol/Legacy/ProtocolChecks.cs b/Protocol/Legacy/ProtocolChecks.cs index 5e1429d7..09fe4ddb 100644 --- a/Protocol/Legacy/ProtocolChecks.cs +++ b/Protocol/Legacy/ProtocolChecks.cs @@ -11,7 +11,7 @@ namespace Skyline.DataMiner.ProtocolValidator using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public partial class ProtocolChecks + internal partial class ProtocolChecks { #region fields and properties /// diff --git a/Protocol/Legacy/ProtocolValidator.cs b/Protocol/Legacy/ProtocolValidator.cs index 193d7eec..17c0b19a 100644 --- a/Protocol/Legacy/ProtocolValidator.cs +++ b/Protocol/Legacy/ProtocolValidator.cs @@ -369,11 +369,13 @@ private IList ValidateProtocol(IProtocolInputData input) return validationResult; } + /// public ICodeFixResult ExecuteCodeFix(XmlEdit.XmlDocument document, Skyline.DataMiner.CICD.Models.Protocol.Edit.Protocol protocol, IValidationResult result, ValidatorSettings validatorSettings) { throw new NotSupportedException(); } + /// public IList RunCompare(IProtocolInputData newCode, IProtocolInputData previousCode, ValidatorSettings validatorSettings, CancellationToken cancellationToken) { throw new NotSupportedException(); diff --git a/Protocol/Legacy/ValidationResult.cs b/Protocol/Legacy/ValidationResult.cs index 46a520d6..a9704419 100644 --- a/Protocol/Legacy/ValidationResult.cs +++ b/Protocol/Legacy/ValidationResult.cs @@ -13,7 +13,7 @@ /// /// [DataContract] - public class ValidationResult : IValidationResult + internal class ValidationResult : IValidationResult { public List SubResults { get; set; } diff --git a/Protocol/Legacy/ValidatorHelperMethods.cs b/Protocol/Legacy/ValidatorHelperMethods.cs index 603c1040..efa3f2f5 100644 --- a/Protocol/Legacy/ValidatorHelperMethods.cs +++ b/Protocol/Legacy/ValidatorHelperMethods.cs @@ -9,7 +9,7 @@ using Skyline.DataMiner.CICD.Validators.Common.Interfaces; using Skyline.DataMiner.CICD.Validators.Common.Model; - public partial class ProtocolChecks + internal partial class ProtocolChecks { private const string _Uri = "http://www.skyline.be/protocol"; diff --git a/Protocol/Protocol.csproj b/Protocol/Protocol.csproj index 265f636c..bc7201f4 100644 --- a/Protocol/Protocol.csproj +++ b/Protocol/Protocol.csproj @@ -18,8 +18,6 @@ TODO: Validates protocols git https://github.com/SkylineCommunications/Skyline.DataMiner.CICD.Validators - - true diff --git a/Protocol/Tests/Protocol/Actions/Action/CheckActionTypes.cs b/Protocol/Tests/Protocol/Actions/Action/CheckActionTypes.cs index 6b7a00c8..7185a9f5 100644 --- a/Protocol/Tests/Protocol/Actions/Action/CheckActionTypes.cs +++ b/Protocol/Tests/Protocol/Actions/Action/CheckActionTypes.cs @@ -18,7 +18,7 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.CheckActionTypes [Test(CheckId.CheckActionTypes, Category.Action)] - public class CheckActionTypes : IValidate/*, ICodeFix, ICompare*/ + internal class CheckActionTypes : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Actions/Action/CheckIdAttribute.cs b/Protocol/Tests/Protocol/Actions/Action/CheckIdAttribute.cs index ec1962bb..3f9967d6 100644 --- a/Protocol/Tests/Protocol/Actions/Action/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/Actions/Action/CheckIdAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.CheckIdAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.Action)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Actions/Action/Condition/CheckConditionTag.cs b/Protocol/Tests/Protocol/Actions/Action/Condition/CheckConditionTag.cs index e86bd781..7f5ebbfb 100644 --- a/Protocol/Tests/Protocol/Actions/Action/Condition/CheckConditionTag.cs +++ b/Protocol/Tests/Protocol/Actions/Action/Condition/CheckConditionTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.Condition.CheckCondition using SLDisValidator2.Interfaces; [Test(CheckId.CheckConditionTag, Category.Action)] - public class CheckConditionTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckConditionTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Actions/Action/Name/CheckNameTag.cs b/Protocol/Tests/Protocol/Actions/Action/Name/CheckNameTag.cs index ffceb239..8b803d09 100644 --- a/Protocol/Tests/Protocol/Actions/Action/Name/CheckNameTag.cs +++ b/Protocol/Tests/Protocol/Actions/Action/Name/CheckNameTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.Name.CheckNameTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameTag, Category.Action)] - public class CheckNameTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckNameTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Actions/Action/On/CheckIdAttribute.cs b/Protocol/Tests/Protocol/Actions/Action/On/CheckIdAttribute.cs index a31aa2cc..bc96e6fa 100644 --- a/Protocol/Tests/Protocol/Actions/Action/On/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/Actions/Action/On/CheckIdAttribute.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.On.CheckIdAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.Action)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Actions/Action/On/CheckNrAttribute.cs b/Protocol/Tests/Protocol/Actions/Action/On/CheckNrAttribute.cs index d8456f69..69e1f9b8 100644 --- a/Protocol/Tests/Protocol/Actions/Action/On/CheckNrAttribute.cs +++ b/Protocol/Tests/Protocol/Actions/Action/On/CheckNrAttribute.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.On.CheckNrAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckNrAttribute, Category.Action)] - public class CheckNrAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckNrAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Actions/Action/On/CheckOnTag.cs b/Protocol/Tests/Protocol/Actions/Action/On/CheckOnTag.cs index 9ed5e434..570c71f7 100644 --- a/Protocol/Tests/Protocol/Actions/Action/On/CheckOnTag.cs +++ b/Protocol/Tests/Protocol/Actions/Action/On/CheckOnTag.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.On.CheckOnTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckOnTag, Category.Action)] - public class CheckOnTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckOnTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Actions/Action/Type/CheckTypeTag.cs b/Protocol/Tests/Protocol/Actions/Action/Type/CheckTypeTag.cs index 6f1efd2a..2b9a2999 100644 --- a/Protocol/Tests/Protocol/Actions/Action/Type/CheckTypeTag.cs +++ b/Protocol/Tests/Protocol/Actions/Action/Type/CheckTypeTag.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Actions.Action.Type.CheckTypeTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckTypeTag, Category.Action)] - public class CheckTypeTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckTypeTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Chains/CheckChildNameAttributes.cs b/Protocol/Tests/Protocol/Chains/CheckChildNameAttributes.cs index 2afaa496..fd697837 100644 --- a/Protocol/Tests/Protocol/Chains/CheckChildNameAttributes.cs +++ b/Protocol/Tests/Protocol/Chains/CheckChildNameAttributes.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Chains.CheckChildNameAttributes using SLDisValidator2.Interfaces; [Test(CheckId.CheckChildNameAttributes, Category.Chain)] - public class CheckChildNameAttributes : IValidate/*, ICodeFix, ICompare*/ + internal class CheckChildNameAttributes : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/CheckConnectionPingGroups.cs b/Protocol/Tests/Protocol/CheckConnectionPingGroups.cs index 246084c0..7b9c49e4 100644 --- a/Protocol/Tests/Protocol/CheckConnectionPingGroups.cs +++ b/Protocol/Tests/Protocol/CheckConnectionPingGroups.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.CheckConnectionPingGroups using SLDisValidator2.Interfaces; [Test(CheckId.CheckConnectionPingGroups, Category.Protocol)] - public class CheckConnectionPingGroups : IValidate/*, ICodeFix, ICompare*/ + internal class CheckConnectionPingGroups : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/CheckConnections.cs b/Protocol/Tests/Protocol/CheckConnections.cs index 9a5487f3..f3e488a7 100644 --- a/Protocol/Tests/Protocol/CheckConnections.cs +++ b/Protocol/Tests/Protocol/CheckConnections.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.CheckConnections using SLDisValidator2.Interfaces; [Test(CheckId.CheckConnections, Category.Protocol)] - public class CheckConnections : IValidate, ICodeFix, ICompare + internal class CheckConnections : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/CheckEndlessLoop.cs b/Protocol/Tests/Protocol/CheckEndlessLoop.cs index 923737b8..3efdd39e 100644 --- a/Protocol/Tests/Protocol/CheckEndlessLoop.cs +++ b/Protocol/Tests/Protocol/CheckEndlessLoop.cs @@ -17,7 +17,7 @@ namespace SLDisValidator2.Tests.Protocol.CheckEndlessLoop using SLDisValidator2.Interfaces; [Test(CheckId.CheckEndlessLoop, Category.Protocol)] - public class CheckEndlessLoop : IValidate + internal class CheckEndlessLoop : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/CheckProtocolTag.cs b/Protocol/Tests/Protocol/CheckProtocolTag.cs index f2904766..1f16bb3a 100644 --- a/Protocol/Tests/Protocol/CheckProtocolTag.cs +++ b/Protocol/Tests/Protocol/CheckProtocolTag.cs @@ -10,7 +10,7 @@ using SLDisValidator2.Interfaces; [Test(CheckId.CheckProtocolTag, Category.Protocol)] - public class CheckProtocolTag : IValidate + internal class CheckProtocolTag : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/CheckXMLDeclaration.cs b/Protocol/Tests/Protocol/CheckXMLDeclaration.cs index 5b7071ec..20f624d3 100644 --- a/Protocol/Tests/Protocol/CheckXMLDeclaration.cs +++ b/Protocol/Tests/Protocol/CheckXMLDeclaration.cs @@ -11,7 +11,7 @@ namespace SLDisValidator2.Tests.Protocol.CheckXMLDeclaration using SLDisValidator2.Interfaces; [Test(CheckId.CheckXMLDeclaration, Category.Protocol)] - public class CheckXMLDeclaration : IValidate, ICodeFix + internal class CheckXMLDeclaration : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Commands/Command/CheckAsciiAttribute.cs b/Protocol/Tests/Protocol/Commands/Command/CheckAsciiAttribute.cs index 5f8da647..41c93b24 100644 --- a/Protocol/Tests/Protocol/Commands/Command/CheckAsciiAttribute.cs +++ b/Protocol/Tests/Protocol/Commands/Command/CheckAsciiAttribute.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Commands.Command.CheckAsciiAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckAsciiAttribute, Category.Command)] - public class CheckAsciiAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckAsciiAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Commands/Command/CheckCommandLogic.cs b/Protocol/Tests/Protocol/Commands/Command/CheckCommandLogic.cs index b4e64cd9..bc7657f0 100644 --- a/Protocol/Tests/Protocol/Commands/Command/CheckCommandLogic.cs +++ b/Protocol/Tests/Protocol/Commands/Command/CheckCommandLogic.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Commands.Command.CheckCommandLogic [Test(CheckId.CheckCommandLogic, Category.Command)] - public class CheckCommandLogic : IValidate/*, ICodeFix, ICompare*/ + internal class CheckCommandLogic : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Commands/Command/CheckIdAttribute.cs b/Protocol/Tests/Protocol/Commands/Command/CheckIdAttribute.cs index 718fcda2..12400a61 100644 --- a/Protocol/Tests/Protocol/Commands/Command/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/Commands/Command/CheckIdAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Commands.Command.CheckIdAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.Command)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Commands/Command/Content/Param/CheckParamTag.cs b/Protocol/Tests/Protocol/Commands/Command/Content/Param/CheckParamTag.cs index f2a3f654..2041a46a 100644 --- a/Protocol/Tests/Protocol/Commands/Command/Content/Param/CheckParamTag.cs +++ b/Protocol/Tests/Protocol/Commands/Command/Content/Param/CheckParamTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Commands.Command.Content.Param.CheckPar using SLDisValidator2.Interfaces; [Test(CheckId.CheckParamTag, Category.Command)] - public class CheckParamTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckParamTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Commands/Command/Name/CheckNameTag.cs b/Protocol/Tests/Protocol/Commands/Command/Name/CheckNameTag.cs index a8dea1af..3d8b3ae8 100644 --- a/Protocol/Tests/Protocol/Commands/Command/Name/CheckNameTag.cs +++ b/Protocol/Tests/Protocol/Commands/Command/Name/CheckNameTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Commands.Command.Name.CheckNameTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameTag, Category.Command)] - public class CheckNameTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckNameTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Compliancies/MinimumRequiredVersion/CheckMinimumRequiredVersionTag.cs b/Protocol/Tests/Protocol/Compliancies/MinimumRequiredVersion/CheckMinimumRequiredVersionTag.cs index 66aeb971..f5ae2b7c 100644 --- a/Protocol/Tests/Protocol/Compliancies/MinimumRequiredVersion/CheckMinimumRequiredVersionTag.cs +++ b/Protocol/Tests/Protocol/Compliancies/MinimumRequiredVersion/CheckMinimumRequiredVersionTag.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.Compliancies.MinimumRequiredVersion.Che using SLDisValidator2.Interfaces; [Test(CheckId.CheckMinimumRequiredVersionTag, Category.Protocol)] - public class CheckMinimumRequiredVersionTag : IValidate, ICodeFix, ICompare + internal class CheckMinimumRequiredVersionTag : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { @@ -157,8 +157,7 @@ public void CheckUsedFeatures() minRequiredVersion = context.ValidatorSettings.MinimumSupportedDataMinerVersion; } - IDmaVersionCheckResults versionCheckResults = - new VersionChecker(context.ValidatorSettings.MinimumSupportedDataMinerVersion).GetUsedFeatures(context.InputData, + IDmaVersionCheckResults versionCheckResults = VersionChecker.GetUsedFeatures(context.InputData, context.CompiledQActions, context.IsSolutionBased, CancellationToken.None); DataMinerVersion expectedVersion = minRequiredVersion; diff --git a/Protocol/Tests/Protocol/DVEs/DVEProtocols/DVEProtocol/CheckNameAttribute.cs b/Protocol/Tests/Protocol/DVEs/DVEProtocols/DVEProtocol/CheckNameAttribute.cs index a1430b6a..f5f598e7 100644 --- a/Protocol/Tests/Protocol/DVEs/DVEProtocols/DVEProtocol/CheckNameAttribute.cs +++ b/Protocol/Tests/Protocol/DVEs/DVEProtocols/DVEProtocol/CheckNameAttribute.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.DVEs.DVEProtocols.DVEProtocol.CheckName using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameAttribute, Category.Protocol)] - public class CheckNameAttribute : ICompare + internal class CheckNameAttribute : ICompare { public List Compare(MajorChangeCheckContext context) { diff --git a/Protocol/Tests/Protocol/DVEs/DVEProtocols/DVEProtocol/ElementPrefix/CheckElementPrefixTag.cs b/Protocol/Tests/Protocol/DVEs/DVEProtocols/DVEProtocol/ElementPrefix/CheckElementPrefixTag.cs index 72af05e8..e4f69c5e 100644 --- a/Protocol/Tests/Protocol/DVEs/DVEProtocols/DVEProtocol/ElementPrefix/CheckElementPrefixTag.cs +++ b/Protocol/Tests/Protocol/DVEs/DVEProtocols/DVEProtocol/ElementPrefix/CheckElementPrefixTag.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.DVEs.DVEProtocols.DVEProtocol.ElementPr using SLDisValidator2.Interfaces; [Test(CheckId.CheckElementPrefixTag, Category.Protocol)] - public class CheckElementPrefixTag : ICompare + internal class CheckElementPrefixTag : ICompare { public List Compare(MajorChangeCheckContext context) { diff --git a/Protocol/Tests/Protocol/Display/CheckDefaultPageAttribute.cs b/Protocol/Tests/Protocol/Display/CheckDefaultPageAttribute.cs index 35a9ea6e..2d5b2fee 100644 --- a/Protocol/Tests/Protocol/Display/CheckDefaultPageAttribute.cs +++ b/Protocol/Tests/Protocol/Display/CheckDefaultPageAttribute.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.Display.CheckDefaultPageAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckDefaultPageAttribute, Category.Protocol)] - public class CheckDefaultPageAttribute : IValidate, ICodeFix + internal class CheckDefaultPageAttribute : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Display/CheckDisplayTag.cs b/Protocol/Tests/Protocol/Display/CheckDisplayTag.cs index ecc3ac2b..1b5c0c46 100644 --- a/Protocol/Tests/Protocol/Display/CheckDisplayTag.cs +++ b/Protocol/Tests/Protocol/Display/CheckDisplayTag.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.Display.CheckDisplayTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckDisplayTag, Category.Protocol)] - public class CheckDisplayTag : IValidate /*, ICodeFix, ICompare*/ + internal class CheckDisplayTag : IValidate /*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Display/CheckPageOrderAttribute.cs b/Protocol/Tests/Protocol/Display/CheckPageOrderAttribute.cs index 62ac09b3..51941ade 100644 --- a/Protocol/Tests/Protocol/Display/CheckPageOrderAttribute.cs +++ b/Protocol/Tests/Protocol/Display/CheckPageOrderAttribute.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.Display.CheckPageOrderAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckPageOrderAttribute, Category.Protocol)] - public class CheckPageOrderAttribute : IValidate, ICodeFix + internal class CheckPageOrderAttribute : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Display/CheckWideColumnPagesAttribute.cs b/Protocol/Tests/Protocol/Display/CheckWideColumnPagesAttribute.cs index fcf821da..c2c44b04 100644 --- a/Protocol/Tests/Protocol/Display/CheckWideColumnPagesAttribute.cs +++ b/Protocol/Tests/Protocol/Display/CheckWideColumnPagesAttribute.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Display.CheckWideColumnPagesAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckWideColumnPagesAttribute, Category.Protocol)] - public class CheckWideColumnPagesAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckWideColumnPagesAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Display/Pages/Page/Visibility/CheckOverridePidAttribute.cs b/Protocol/Tests/Protocol/Display/Pages/Page/Visibility/CheckOverridePidAttribute.cs index 300c4d16..70e41f0b 100644 --- a/Protocol/Tests/Protocol/Display/Pages/Page/Visibility/CheckOverridePidAttribute.cs +++ b/Protocol/Tests/Protocol/Display/Pages/Page/Visibility/CheckOverridePidAttribute.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Display.Pages.Page.Visibility.CheckOver using SLDisValidator2.Interfaces; [Test(CheckId.CheckOverridePidAttribute, Category.Protocol)] - public class CheckOverridePidAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckOverridePidAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/ElementType/CheckElementTypeTag.cs b/Protocol/Tests/Protocol/ElementType/CheckElementTypeTag.cs index 28c79134..d9a7b823 100644 --- a/Protocol/Tests/Protocol/ElementType/CheckElementTypeTag.cs +++ b/Protocol/Tests/Protocol/ElementType/CheckElementTypeTag.cs @@ -11,7 +11,7 @@ namespace SLDisValidator2.Tests.Protocol.ElementType.CheckElementTypeTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckElementTypeTag, Category.Protocol)] - public class CheckElementTypeTag : IValidate + internal class CheckElementTypeTag : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckTableAttribute.cs b/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckTableAttribute.cs index f33ad3a4..f44b6a19 100644 --- a/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckTableAttribute.cs +++ b/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckTableAttribute.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.ExportRules.ExportRule.CheckTableAttrib using SLDisValidator2.Interfaces; [Test(CheckId.CheckTableAttribute, Category.ExportRule)] - public class CheckTableAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckTableAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckWhereAttributeAttribute.cs b/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckWhereAttributeAttribute.cs index c21e913f..0de73aa9 100644 --- a/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckWhereAttributeAttribute.cs +++ b/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckWhereAttributeAttribute.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.ExportRules.ExportRule.CheckWhereAttrib using SLDisValidator2.Interfaces; [Test(CheckId.CheckWhereAttributeAttribute, Category.ExportRule)] - public class CheckWhereAttributeAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckWhereAttributeAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckWhereTagAttribute.cs b/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckWhereTagAttribute.cs index d786194c..8d6349db 100644 --- a/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckWhereTagAttribute.cs +++ b/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckWhereTagAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.ExportRules.ExportRule.CheckWhereTagAtt using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CheckWhereTagAttribute, Category.ExportRule)] - public class CheckWhereTagAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckWhereTagAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckWhereValueAttribute.cs b/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckWhereValueAttribute.cs index b6fc62b6..7d77e741 100644 --- a/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckWhereValueAttribute.cs +++ b/Protocol/Tests/Protocol/ExportRules/ExportRule/CheckWhereValueAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.ExportRules.ExportRule.CheckWhereValueA using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CheckWhereValueAttribute, Category.ExportRule)] - public class CheckWhereValueAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckWhereValueAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Groups/Group/CheckConnectionPidAttribute.cs b/Protocol/Tests/Protocol/Groups/Group/CheckConnectionPidAttribute.cs index 5ec859db..c8ec17ce 100644 --- a/Protocol/Tests/Protocol/Groups/Group/CheckConnectionPidAttribute.cs +++ b/Protocol/Tests/Protocol/Groups/Group/CheckConnectionPidAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.CheckConnectionPidAttribut using SLDisValidator2.Interfaces; [Test(CheckId.CheckConnectionPidAttribute, Category.Group)] - public class CheckConnectionPidAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckConnectionPidAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Groups/Group/CheckIdAttribute.cs b/Protocol/Tests/Protocol/Groups/Group/CheckIdAttribute.cs index 825eb2bb..1913d496 100644 --- a/Protocol/Tests/Protocol/Groups/Group/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/Groups/Group/CheckIdAttribute.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.CheckIdAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.Group)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Groups/Group/Condition/CheckConditionTag.cs b/Protocol/Tests/Protocol/Groups/Group/Condition/CheckConditionTag.cs index 4c729063..4a148c71 100644 --- a/Protocol/Tests/Protocol/Groups/Group/Condition/CheckConditionTag.cs +++ b/Protocol/Tests/Protocol/Groups/Group/Condition/CheckConditionTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Condition.CheckConditionTa using SLDisValidator2.Interfaces; [Test(CheckId.CheckConditionTag, Category.Group)] - public class CheckConditionTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckConditionTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Groups/Group/Content/Action/CheckActionTag.cs b/Protocol/Tests/Protocol/Groups/Group/Content/Action/CheckActionTag.cs index e4412ebc..6ce9a3f5 100644 --- a/Protocol/Tests/Protocol/Groups/Group/Content/Action/CheckActionTag.cs +++ b/Protocol/Tests/Protocol/Groups/Group/Content/Action/CheckActionTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Content.Action.CheckAction using SLDisValidator2.Interfaces; [Test(CheckId.CheckActionTag, Category.Group)] - public class CheckActionTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckActionTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Groups/Group/Content/CheckContentTag.cs b/Protocol/Tests/Protocol/Groups/Group/Content/CheckContentTag.cs index 7f3d722b..3eca95c9 100644 --- a/Protocol/Tests/Protocol/Groups/Group/Content/CheckContentTag.cs +++ b/Protocol/Tests/Protocol/Groups/Group/Content/CheckContentTag.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Content.CheckContentTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckContentTag, Category.Group)] - public class CheckContentTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckContentTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Groups/Group/Content/Pair/CheckPairTag.cs b/Protocol/Tests/Protocol/Groups/Group/Content/Pair/CheckPairTag.cs index fb6d0303..f97f623e 100644 --- a/Protocol/Tests/Protocol/Groups/Group/Content/Pair/CheckPairTag.cs +++ b/Protocol/Tests/Protocol/Groups/Group/Content/Pair/CheckPairTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Content.Pair.CheckPairTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckPairTag, Category.Group)] - public class CheckPairTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckPairTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Groups/Group/Content/Param/CheckParamTag.cs b/Protocol/Tests/Protocol/Groups/Group/Content/Param/CheckParamTag.cs index 2541a47b..75671b01 100644 --- a/Protocol/Tests/Protocol/Groups/Group/Content/Param/CheckParamTag.cs +++ b/Protocol/Tests/Protocol/Groups/Group/Content/Param/CheckParamTag.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Content.Param.CheckParamTa using SLDisValidator2.Interfaces; [Test(CheckId.CheckParamTag, Category.Group)] - public class CheckParamTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckParamTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Groups/Group/Content/Session/CheckSessionTag.cs b/Protocol/Tests/Protocol/Groups/Group/Content/Session/CheckSessionTag.cs index 0a18008d..a62a6cc3 100644 --- a/Protocol/Tests/Protocol/Groups/Group/Content/Session/CheckSessionTag.cs +++ b/Protocol/Tests/Protocol/Groups/Group/Content/Session/CheckSessionTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Content.Session.CheckSessi using SLDisValidator2.Interfaces; [Test(CheckId.CheckSessionTag, Category.Group)] - public class CheckSessionTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckSessionTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Groups/Group/Content/Trigger/CheckTriggerTag.cs b/Protocol/Tests/Protocol/Groups/Group/Content/Trigger/CheckTriggerTag.cs index 143b8b55..93bea713 100644 --- a/Protocol/Tests/Protocol/Groups/Group/Content/Trigger/CheckTriggerTag.cs +++ b/Protocol/Tests/Protocol/Groups/Group/Content/Trigger/CheckTriggerTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Content.Trigger.CheckTrigg using SLDisValidator2.Interfaces; [Test(CheckId.CheckTriggerTag, Category.Group)] - public class CheckTriggerTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckTriggerTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Groups/Group/Name/CheckNameTag.cs b/Protocol/Tests/Protocol/Groups/Group/Name/CheckNameTag.cs index ca1db7cb..e58c5d13 100644 --- a/Protocol/Tests/Protocol/Groups/Group/Name/CheckNameTag.cs +++ b/Protocol/Tests/Protocol/Groups/Group/Name/CheckNameTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Groups.Group.Name.CheckNameTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameTag, Category.Group)] - public class CheckNameTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckNameTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/CheckIdAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/CheckIdAttribute.cs index c4c33655..baf2b928 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/CheckIdAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.CheckIdAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.HTTP)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/CheckPasswordAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/CheckPasswordAttribute.cs index 65faa4f9..a05a92ef 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/CheckPasswordAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/CheckPasswordAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.CheckPasswordAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckPasswordAttribute, Category.HTTP)] - public class CheckPasswordAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckPasswordAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/CheckProxyPasswordAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/CheckProxyPasswordAttribute.cs index 404e1c68..edbc8457 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/CheckProxyPasswordAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/CheckProxyPasswordAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.CheckProxyPasswordAttribut using SLDisValidator2.Interfaces; [Test(CheckId.CheckProxyPasswordAttribute, Category.HTTP)] - public class CheckProxyPasswordAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckProxyPasswordAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/CheckProxyServerAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/CheckProxyServerAttribute.cs index 3a64d9b7..c7564382 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/CheckProxyServerAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/CheckProxyServerAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.CheckProxyServerAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckProxyServerAttribute, Category.HTTP)] - public class CheckProxyServerAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckProxyServerAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/CheckProxyUserAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/CheckProxyUserAttribute.cs index a0041515..7f65998d 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/CheckProxyUserAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/CheckProxyUserAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.CheckProxyUserAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckProxyUserAttribute, Category.HTTP)] - public class CheckProxyUserAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckProxyUserAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/CheckUsernameAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/CheckUsernameAttribute.cs index 3f05396b..def5a73c 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/CheckUsernameAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/CheckUsernameAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.CheckUsernameAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckUsernameAttribute, Category.HTTP)] - public class CheckUsernameAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckUsernameAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/Connection/CheckIdAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/Connection/CheckIdAttribute.cs index dedb1df9..13089945 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/Connection/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/Connection/CheckIdAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.CheckIdAttribut using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.HTTP)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/CheckPidAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/CheckPidAttribute.cs index abb05b41..44360455 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/CheckPidAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/CheckPidAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Request.CheckPi using SLDisValidator2.Interfaces; [Test(CheckId.CheckPidAttribute, Category.HTTP)] - public class CheckPidAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckPidAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Data/CheckPidAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Data/CheckPidAttribute.cs index 312b00f7..9cd6dc65 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Data/CheckPidAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Data/CheckPidAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Request.Data.Ch using SLDisValidator2.Interfaces; [Test(CheckId.CheckPidAttribute, Category.HTTP)] - public class CheckPidAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckPidAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/CheckHeaders.cs b/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/CheckHeaders.cs index 73c8e1ee..afce9fff 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/CheckHeaders.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/CheckHeaders.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Request.Headers using SLDisValidator2.Interfaces; [Test(CheckId.CheckHeaders, Category.HTTP)] - public class CheckHeaders : IValidate, ICodeFix/*, ICompare*/ + internal class CheckHeaders : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckHeaderTag.cs b/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckHeaderTag.cs index 0ffb03ea..a13d9175 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckHeaderTag.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckHeaderTag.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Request.Headers using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CheckHeaderTag, Category.HTTP)] - public class CheckHeaderTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckHeaderTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckKeyAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckKeyAttribute.cs index ced5121e..5082148f 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckKeyAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckKeyAttribute.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Request.Headers using SLDisValidator2.Interfaces; [Test(CheckId.CheckKeyAttribute, Category.HTTP)] - public class CheckKeyAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckKeyAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckPidAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckPidAttribute.cs index 5f65d232..e224307c 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckPidAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Headers/Header/CheckPidAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Request.Headers using SLDisValidator2.Interfaces; [Test(CheckId.CheckPidAttribute, Category.HTTP)] - public class CheckPidAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckPidAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Parameters/Parameter/CheckPidAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Parameters/Parameter/CheckPidAttribute.cs index 392f7cf6..d085bf0d 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Parameters/Parameter/CheckPidAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/Connection/Request/Parameters/Parameter/CheckPidAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Request.Paramet using SLDisValidator2.Interfaces; [Test(CheckId.CheckPidAttribute, Category.HTTP)] - public class CheckPidAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckPidAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/Connection/Response/CheckStatusCodeAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/Connection/Response/CheckStatusCodeAttribute.cs index b40a2689..292d0e52 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/Connection/Response/CheckStatusCodeAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/Connection/Response/CheckStatusCodeAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Response.CheckS using SLDisValidator2.Interfaces; [Test(CheckId.CheckStatusCodeAttribute, Category.HTTP)] - public class CheckStatusCodeAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckStatusCodeAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/Connection/Response/Content/CheckPidAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/Connection/Response/Content/CheckPidAttribute.cs index 8e7e339c..90110b71 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/Connection/Response/Content/CheckPidAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/Connection/Response/Content/CheckPidAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Response.Conten using SLDisValidator2.Interfaces; [Test(CheckId.CheckPidAttribute, Category.HTTP)] - public class CheckPidAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckPidAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/HTTP/Session/Connection/Response/Headers/Header/CheckPidAttribute.cs b/Protocol/Tests/Protocol/HTTP/Session/Connection/Response/Headers/Header/CheckPidAttribute.cs index 26f30f4a..253319f8 100644 --- a/Protocol/Tests/Protocol/HTTP/Session/Connection/Response/Headers/Header/CheckPidAttribute.cs +++ b/Protocol/Tests/Protocol/HTTP/Session/Connection/Response/Headers/Header/CheckPidAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.HTTP.Session.Connection.Response.Header using SLDisValidator2.Interfaces; [Test(CheckId.CheckPidAttribute, Category.HTTP)] - public class CheckPidAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckPidAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Name/CheckNameTag.cs b/Protocol/Tests/Protocol/Name/CheckNameTag.cs index f313d006..85ca3a04 100644 --- a/Protocol/Tests/Protocol/Name/CheckNameTag.cs +++ b/Protocol/Tests/Protocol/Name/CheckNameTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Name.CheckNameTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameTag, Category.Protocol)] - public class CheckNameTag : IValidate, ICodeFix, ICompare + internal class CheckNameTag : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Pairs/Pair/CheckIdAttribute.cs b/Protocol/Tests/Protocol/Pairs/Pair/CheckIdAttribute.cs index 803f878c..58d223a4 100644 --- a/Protocol/Tests/Protocol/Pairs/Pair/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/Pairs/Pair/CheckIdAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Pairs.Pair.CheckIdAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.Pair)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Pairs/Pair/Condition/CheckConditionTag.cs b/Protocol/Tests/Protocol/Pairs/Pair/Condition/CheckConditionTag.cs index 93d0f8a3..a091e2d9 100644 --- a/Protocol/Tests/Protocol/Pairs/Pair/Condition/CheckConditionTag.cs +++ b/Protocol/Tests/Protocol/Pairs/Pair/Condition/CheckConditionTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Pairs.Pair.Condition.CheckConditionTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckConditionTag, Category.Pair)] - public class CheckConditionTag : IValidate + internal class CheckConditionTag : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Pairs/Pair/Content/CheckContentTag.cs b/Protocol/Tests/Protocol/Pairs/Pair/Content/CheckContentTag.cs index 3e995111..3c3d7ba1 100644 --- a/Protocol/Tests/Protocol/Pairs/Pair/Content/CheckContentTag.cs +++ b/Protocol/Tests/Protocol/Pairs/Pair/Content/CheckContentTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Pairs.Pair.Content.CheckContentTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckContentTag, Category.Pair)] - public class CheckContentTag : IValidate + internal class CheckContentTag : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Pairs/Pair/Content/Command/CheckCommandTag.cs b/Protocol/Tests/Protocol/Pairs/Pair/Content/Command/CheckCommandTag.cs index f7e8210e..ad85a1b5 100644 --- a/Protocol/Tests/Protocol/Pairs/Pair/Content/Command/CheckCommandTag.cs +++ b/Protocol/Tests/Protocol/Pairs/Pair/Content/Command/CheckCommandTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Pairs.Pair.Content.Command.CheckCommand using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CheckCommandTag, Category.Pair)] - public class CheckCommandTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckCommandTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Pairs/Pair/Content/Response/CheckResponseTag.cs b/Protocol/Tests/Protocol/Pairs/Pair/Content/Response/CheckResponseTag.cs index a95122c7..86b73533 100644 --- a/Protocol/Tests/Protocol/Pairs/Pair/Content/Response/CheckResponseTag.cs +++ b/Protocol/Tests/Protocol/Pairs/Pair/Content/Response/CheckResponseTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Pairs.Pair.Content.Response.CheckRespon using SLDisValidator2.Interfaces; [Test(CheckId.CheckResponseTag, Category.Pair)] - public class CheckResponseTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckResponseTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Pairs/Pair/Content/ResponseOnBadCommand/CheckResponseOnBadCommandTag.cs b/Protocol/Tests/Protocol/Pairs/Pair/Content/ResponseOnBadCommand/CheckResponseOnBadCommandTag.cs index ef163465..82f06a08 100644 --- a/Protocol/Tests/Protocol/Pairs/Pair/Content/ResponseOnBadCommand/CheckResponseOnBadCommandTag.cs +++ b/Protocol/Tests/Protocol/Pairs/Pair/Content/ResponseOnBadCommand/CheckResponseOnBadCommandTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Pairs.Pair.Content.ResponseOnBadCommand using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CheckResponseOnBadCommandTag, Category.Pair)] - public class CheckResponseOnBadCommandTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckResponseOnBadCommandTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Pairs/Pair/Name/CheckNameTag.cs b/Protocol/Tests/Protocol/Pairs/Pair/Name/CheckNameTag.cs index 405e2c56..95a893ba 100644 --- a/Protocol/Tests/Protocol/Pairs/Pair/Name/CheckNameTag.cs +++ b/Protocol/Tests/Protocol/Pairs/Pair/Name/CheckNameTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Pairs.Pair.Name.CheckNameTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameTag, Category.Pair)] - public class CheckNameTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckNameTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/ParameterGroups/CheckParameterGroupsTag.cs b/Protocol/Tests/Protocol/ParameterGroups/CheckParameterGroupsTag.cs index 6c95e4f6..5ab1afe2 100644 --- a/Protocol/Tests/Protocol/ParameterGroups/CheckParameterGroupsTag.cs +++ b/Protocol/Tests/Protocol/ParameterGroups/CheckParameterGroupsTag.cs @@ -11,7 +11,7 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.CheckParameterGroupsTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckParameterGroupsTag, Category.ParameterGroup)] - public class CheckParameterGroupsTag : ICompare + internal class CheckParameterGroupsTag : ICompare { public List Compare(MajorChangeCheckContext context) { diff --git a/Protocol/Tests/Protocol/ParameterGroups/Group/CheckDynamicIdAttribute.cs b/Protocol/Tests/Protocol/ParameterGroups/Group/CheckDynamicIdAttribute.cs index 437a76f2..c0090019 100644 --- a/Protocol/Tests/Protocol/ParameterGroups/Group/CheckDynamicIdAttribute.cs +++ b/Protocol/Tests/Protocol/ParameterGroups/Group/CheckDynamicIdAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.Group.CheckDynamicIdAtt using SLDisValidator2.Interfaces; [Test(CheckId.CheckDynamicIdAttribute, Category.ParameterGroup)] - public class CheckDynamicIdAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckDynamicIdAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/ParameterGroups/Group/CheckDynamicIndexAttribute.cs b/Protocol/Tests/Protocol/ParameterGroups/Group/CheckDynamicIndexAttribute.cs index 23a6b290..221e6be7 100644 --- a/Protocol/Tests/Protocol/ParameterGroups/Group/CheckDynamicIndexAttribute.cs +++ b/Protocol/Tests/Protocol/ParameterGroups/Group/CheckDynamicIndexAttribute.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.Group.CheckDynamicIndex using SLDisValidator2.Interfaces; [Test(CheckId.CheckDynamicIndexAttribute, Category.ParameterGroup)] - public class CheckDynamicIndexAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckDynamicIndexAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/ParameterGroups/Group/CheckGroupTag.cs b/Protocol/Tests/Protocol/ParameterGroups/Group/CheckGroupTag.cs index 0dc83682..56bfa00f 100644 --- a/Protocol/Tests/Protocol/ParameterGroups/Group/CheckGroupTag.cs +++ b/Protocol/Tests/Protocol/ParameterGroups/Group/CheckGroupTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.Group.CheckGroupTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckGroupTag, Category.ParameterGroup)] - public class CheckGroupTag : IValidate, ICompare + internal class CheckGroupTag : IValidate, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/ParameterGroups/Group/CheckIdAttribute.cs b/Protocol/Tests/Protocol/ParameterGroups/Group/CheckIdAttribute.cs index ef7360fe..06112db4 100644 --- a/Protocol/Tests/Protocol/ParameterGroups/Group/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/ParameterGroups/Group/CheckIdAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.Group.CheckIdAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.ParameterGroup)] - public class CheckIdAttribute : IValidate, ICodeFix, ICompare + internal class CheckIdAttribute : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/ParameterGroups/Group/CheckNameAttribute.cs b/Protocol/Tests/Protocol/ParameterGroups/Group/CheckNameAttribute.cs index 48394699..2c45b04f 100644 --- a/Protocol/Tests/Protocol/ParameterGroups/Group/CheckNameAttribute.cs +++ b/Protocol/Tests/Protocol/ParameterGroups/Group/CheckNameAttribute.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.Group.CheckNameAttribut using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameAttribute, Category.ParameterGroup)] - public class CheckNameAttribute : IValidate, ICodeFix, ICompare + internal class CheckNameAttribute : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/ParameterGroups/Group/CheckTypeAttribute.cs b/Protocol/Tests/Protocol/ParameterGroups/Group/CheckTypeAttribute.cs index e9b18cb8..50c35fea 100644 --- a/Protocol/Tests/Protocol/ParameterGroups/Group/CheckTypeAttribute.cs +++ b/Protocol/Tests/Protocol/ParameterGroups/Group/CheckTypeAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.Group.CheckTypeAttribut using SLDisValidator2.Interfaces; [Test(CheckId.CheckTypeAttribute, Category.Protocol)] - public class CheckTypeAttribute : ICompare + internal class CheckTypeAttribute : ICompare { public List Compare(MajorChangeCheckContext context) { diff --git a/Protocol/Tests/Protocol/ParameterGroups/Group/Params/Param/CheckIdAttribute.cs b/Protocol/Tests/Protocol/ParameterGroups/Group/Params/Param/CheckIdAttribute.cs index fc24ddd1..d7f3aaba 100644 --- a/Protocol/Tests/Protocol/ParameterGroups/Group/Params/Param/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/ParameterGroups/Group/Params/Param/CheckIdAttribute.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.ParameterGroups.Group.Params.Param.Chec using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.ParameterGroup)] - public class CheckIdAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckIdAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/CheckLoadSequenceAttribute.cs b/Protocol/Tests/Protocol/Params/CheckLoadSequenceAttribute.cs index 98088082..8f1db53e 100644 --- a/Protocol/Tests/Protocol/Params/CheckLoadSequenceAttribute.cs +++ b/Protocol/Tests/Protocol/Params/CheckLoadSequenceAttribute.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.CheckLoadSequenceAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckLoadSequenceAttribute, Category.Param)] - public class CheckLoadSequenceAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckLoadSequenceAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Alarm/CheckAlarmTag.cs b/Protocol/Tests/Protocol/Params/Param/Alarm/CheckAlarmTag.cs index 0641ea19..ef38d6db 100644 --- a/Protocol/Tests/Protocol/Params/Param/Alarm/CheckAlarmTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Alarm/CheckAlarmTag.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Alarm.CheckAlarmTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckAlarmTag, Category.Param)] - public class CheckAlarmTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckAlarmTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Alarm/CheckOptionsAttribute.cs b/Protocol/Tests/Protocol/Params/Param/Alarm/CheckOptionsAttribute.cs index 257bad08..29c8b9c2 100644 --- a/Protocol/Tests/Protocol/Params/Param/Alarm/CheckOptionsAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/Alarm/CheckOptionsAttribute.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Alarm.CheckOptionsAttribut using SLDisValidator2.Interfaces; [Test(CheckId.CheckOptionsAttribute, Category.Param)] - public class CheckOptionsAttribute : IValidate, ICodeFix, ICompare + internal class CheckOptionsAttribute : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Alarm/CheckTypeAttribute.cs b/Protocol/Tests/Protocol/Params/Param/Alarm/CheckTypeAttribute.cs index d5319052..b5ae261b 100644 --- a/Protocol/Tests/Protocol/Params/Param/Alarm/CheckTypeAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/Alarm/CheckTypeAttribute.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Alarm.CheckTypeAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckTypeAttribute, Category.Param)] - public class CheckTypeAttribute : /*IValidate, ICodeFix,*/ ICompare + internal class CheckTypeAttribute : /*IValidate, ICodeFix,*/ ICompare { ////public List Validate(ValidatorContext context) ////{ diff --git a/Protocol/Tests/Protocol/Params/Param/Alarm/Monitored/CheckDisabledIfAttribute.cs b/Protocol/Tests/Protocol/Params/Param/Alarm/Monitored/CheckDisabledIfAttribute.cs index 727d4b7c..ab29f141 100644 --- a/Protocol/Tests/Protocol/Params/Param/Alarm/Monitored/CheckDisabledIfAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/Alarm/Monitored/CheckDisabledIfAttribute.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Alarm.Monitored.CheckDisab using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CheckDisabledIfAttribute, Category.Param)] - public class CheckDisabledIfAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckDisabledIfAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Alarm/Monitored/CheckMonitoredTag.cs b/Protocol/Tests/Protocol/Params/Param/Alarm/Monitored/CheckMonitoredTag.cs index 841770a9..a21c3bd9 100644 --- a/Protocol/Tests/Protocol/Params/Param/Alarm/Monitored/CheckMonitoredTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Alarm/Monitored/CheckMonitoredTag.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Alarm.Monitored.CheckMonit using SLDisValidator2.Interfaces; [Test(CheckId.CheckMonitoredTag, Category.Param)] - public class CheckMonitoredTag : IValidate, ICodeFix, ICompare + internal class CheckMonitoredTag : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckArrayOptionsTag.cs b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckArrayOptionsTag.cs index 4224e24c..22cd8bdc 100644 --- a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckArrayOptionsTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckArrayOptionsTag.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.CheckArrayOpt using SLDisValidator2.Interfaces; [Test(CheckId.CheckArrayOptionsTag, Category.Param)] - public class CheckArrayOptionsTag : ICompare + internal class CheckArrayOptionsTag : ICompare { public List Compare(MajorChangeCheckContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckDisplayColumnAttribute.cs b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckDisplayColumnAttribute.cs index afffb5a8..22a2b3f4 100644 --- a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckDisplayColumnAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckDisplayColumnAttribute.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.CheckDisplayC using SLDisValidator2.Interfaces; [Test(CheckId.CheckDisplayColumnAttribute, Category.Param)] - public class CheckDisplayColumnAttribute : ICompare + internal class CheckDisplayColumnAttribute : ICompare { public List Compare(MajorChangeCheckContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckDisplayKey.cs b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckDisplayKey.cs index aa6af919..8e5790e3 100644 --- a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckDisplayKey.cs +++ b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckDisplayKey.cs @@ -18,7 +18,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.CheckDisplayK using static Skyline.DataMiner.CICD.Models.Protocol.Read.ArrayOptionsOptions; [Test(CheckId.CheckDisplayKey, Category.Param)] - public class CheckDisplayKey : IValidate, ICodeFix, ICompare + internal class CheckDisplayKey : IValidate, ICodeFix, ICompare { internal const string SyntaxTitleForNaming = "ArrayOptions@options:naming"; internal const string SyntaxTitleForNamingFormat = "ArrayOptions/NamingFormat"; diff --git a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckIndexAttribute.cs b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckIndexAttribute.cs index 09c9a621..6c8c3ee7 100644 --- a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckIndexAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckIndexAttribute.cs @@ -17,7 +17,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.CheckIndexAtt using SLDisValidator2.Interfaces; [Test(CheckId.CheckIndexAttribute, Category.Param)] - public class CheckIndexAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIndexAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckLoggerTable.cs b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckLoggerTable.cs index 50cc9078..9a18c2b8 100644 --- a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckLoggerTable.cs +++ b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckLoggerTable.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.CheckLoggerTa using SLDisValidator2.Interfaces; [Test(CheckId.CheckLoggerTable, Category.Param)] - public class CheckLoggerTable : /*IValidate, ICodeFix, */ICompare + internal class CheckLoggerTable : /*IValidate, ICodeFix, */ICompare { ////public List Validate(ValidatorContext context) ////{ diff --git a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckOptionsAttribute.cs b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckOptionsAttribute.cs index d24ec41f..63450f90 100644 --- a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckOptionsAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckOptionsAttribute.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.CheckOptionsA using SLDisValidator2.Interfaces; [Test(CheckId.CheckOptionsAttribute, Category.Param)] - public class CheckOptionsAttribute : IValidate, ICodeFix, ICompare + internal class CheckOptionsAttribute : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckPartialAttribute.cs b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckPartialAttribute.cs index b5a5fbd5..30bc2c53 100644 --- a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckPartialAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/CheckPartialAttribute.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.CheckPartialA using SLDisValidator2.Interfaces; [Test(CheckId.CheckPartialAttribute, Category.Param)] - public class CheckPartialAttribute : /*IValidate, ICodeFix, */ICompare + internal class CheckPartialAttribute : /*IValidate, ICodeFix, */ICompare { ////public List Validate(ValidatorContext context) ////{ diff --git a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckColumnOptionTag.cs b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckColumnOptionTag.cs index 6bc48b6b..feabd823 100644 --- a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckColumnOptionTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckColumnOptionTag.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.ColumnOption. using SLDisValidator2.Interfaces; [Test(CheckId.CheckColumnOptionTag, Category.Param)] - public class CheckColumnOptionTag : /*IValidate, ICodeFix, */ICompare + internal class CheckColumnOptionTag : /*IValidate, ICodeFix, */ICompare { ////public List Validate(ValidatorContext context) ////{ diff --git a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckIdxAttribute.cs b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckIdxAttribute.cs index fb3a0698..f7e8a22e 100644 --- a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckIdxAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckIdxAttribute.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.ColumnOption. using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdxAttribute, Category.Param)] - public class CheckIdxAttribute : /*IValidate, ICodeFix, */ICompare + internal class CheckIdxAttribute : /*IValidate, ICodeFix, */ICompare { ////public List Validate(ValidatorContext context) ////{ diff --git a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckOptionsAttribute.cs b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckOptionsAttribute.cs index 267652db..551185ca 100644 --- a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckOptionsAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckOptionsAttribute.cs @@ -20,7 +20,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.ColumnOption. using static Skyline.DataMiner.CICD.Models.Protocol.Read.ColumnOptionOptions; [Test(CheckId.CheckOptionsAttribute, Category.Param)] - public class CheckOptionsAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckOptionsAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckPidAttribute.cs b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckPidAttribute.cs index 0da9d0b1..2b409cd8 100644 --- a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckPidAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/ColumnOption/CheckPidAttribute.cs @@ -20,7 +20,7 @@ internal enum ExtraData } [Test(CheckId.CheckPidAttribute, Category.Param)] - public class CheckPidAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckPidAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/NamingFormat/CheckNamingFormatTag.cs b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/NamingFormat/CheckNamingFormatTag.cs index 7158b84b..775814f8 100644 --- a/Protocol/Tests/Protocol/Params/Param/ArrayOptions/NamingFormat/CheckNamingFormatTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/ArrayOptions/NamingFormat/CheckNamingFormatTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.ArrayOptions.NamingFormat. using SLDisValidator2.Interfaces; [Test(CheckId.CheckNamingFormatTag, Category.Param)] - public class CheckNamingFormatTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckNamingFormatTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/CheckColumns.cs b/Protocol/Tests/Protocol/Params/Param/CheckColumns.cs index e74b187b..09fe3fcb 100644 --- a/Protocol/Tests/Protocol/Params/Param/CheckColumns.cs +++ b/Protocol/Tests/Protocol/Params/Param/CheckColumns.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.CheckColumns using SLDisValidator2.Interfaces; [Test(CheckId.CheckColumns, Category.Param)] - public class CheckColumns : IValidate/*, ICodeFix, ICompare*/ + internal class CheckColumns : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/CheckHistorySetAttribute.cs b/Protocol/Tests/Protocol/Params/Param/CheckHistorySetAttribute.cs index 4b6fd776..ab743d0f 100644 --- a/Protocol/Tests/Protocol/Params/Param/CheckHistorySetAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/CheckHistorySetAttribute.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.CheckHistorySetAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckHistorySetAttribute, Category.Param)] - public class CheckHistorySetAttribute : /*IValidate, ICodeFix, */ICompare + internal class CheckHistorySetAttribute : /*IValidate, ICodeFix, */ICompare { ////public List Validate(ValidatorContext context) ////{ diff --git a/Protocol/Tests/Protocol/Params/Param/CheckIdAttribute.cs b/Protocol/Tests/Protocol/Params/Param/CheckIdAttribute.cs index 19fb0eec..77ea0081 100644 --- a/Protocol/Tests/Protocol/Params/Param/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/CheckIdAttribute.cs @@ -15,7 +15,7 @@ using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.Param)] - public class CheckIdAttribute : IValidate, ICodeFix, ICompare + internal class CheckIdAttribute : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/CheckTrendingAttribute.cs b/Protocol/Tests/Protocol/Params/Param/CheckTrendingAttribute.cs index d798b7f6..054c52bd 100644 --- a/Protocol/Tests/Protocol/Params/Param/CheckTrendingAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/CheckTrendingAttribute.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.CheckTrendingAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckTrendingAttribute, Category.Param)] - public class CheckTrendingAttribute : IValidate, ICodeFix, ICompare + internal class CheckTrendingAttribute : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Database/ColumnDefinition/CheckColumnDefinitionTag.cs b/Protocol/Tests/Protocol/Params/Param/Database/ColumnDefinition/CheckColumnDefinitionTag.cs index 67a206d1..ed358ad3 100644 --- a/Protocol/Tests/Protocol/Params/Param/Database/ColumnDefinition/CheckColumnDefinitionTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Database/ColumnDefinition/CheckColumnDefinitionTag.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Database.ColumnDefinition. using SLDisValidator2.Interfaces; [Test(CheckId.CheckColumnDefinitionTag, Category.Param)] - public class CheckColumnDefinitionTag : /*IValidate, ICodeFix, */ICompare + internal class CheckColumnDefinitionTag : /*IValidate, ICodeFix, */ICompare { ////public List Validate(ValidatorContext context) ////{ diff --git a/Protocol/Tests/Protocol/Params/Param/Dependencies/Id/CheckIdTag.cs b/Protocol/Tests/Protocol/Params/Param/Dependencies/Id/CheckIdTag.cs index d9dfef98..c60f8844 100644 --- a/Protocol/Tests/Protocol/Params/Param/Dependencies/Id/CheckIdTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Dependencies/Id/CheckIdTag.cs @@ -17,7 +17,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Dependencies.Id.CheckIdTag enum ExtraData { dependencyId } [Test(CheckId.CheckIdTag, Category.Param)] - public class CheckIdTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Description/CheckDescriptionTag.cs b/Protocol/Tests/Protocol/Params/Param/Description/CheckDescriptionTag.cs index f9d710f7..52009139 100644 --- a/Protocol/Tests/Protocol/Params/Param/Description/CheckDescriptionTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Description/CheckDescriptionTag.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Description.CheckDescripti using SLDisValidator2.Interfaces; [Test(CheckId.CheckDescriptionTag, Category.Param)] - public class CheckDescriptionTag : ICompare, IValidate, ICodeFix + internal class CheckDescriptionTag : ICompare, IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Display/CheckDisplayTag.cs b/Protocol/Tests/Protocol/Params/Param/Display/CheckDisplayTag.cs index 2f7c5556..6bc5ffac 100644 --- a/Protocol/Tests/Protocol/Params/Param/Display/CheckDisplayTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Display/CheckDisplayTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.CheckDisplayTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckDisplayTag, Category.Param)] - public class CheckDisplayTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckDisplayTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Display/Positions/CheckPositionsTag.cs b/Protocol/Tests/Protocol/Params/Param/Display/Positions/CheckPositionsTag.cs index b808f935..5b72bf1b 100644 --- a/Protocol/Tests/Protocol/Params/Param/Display/Positions/CheckPositionsTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Display/Positions/CheckPositionsTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Positions.CheckPos using SLDisValidator2.Interfaces; [Test(CheckId.CheckPositionsTag, Category.Param)] - public class CheckPositionsTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckPositionsTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Display/Positions/Position/Column/CheckColumnTag.cs b/Protocol/Tests/Protocol/Params/Param/Display/Positions/Position/Column/CheckColumnTag.cs index 68b52925..6c161bca 100644 --- a/Protocol/Tests/Protocol/Params/Param/Display/Positions/Position/Column/CheckColumnTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Display/Positions/Position/Column/CheckColumnTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Positions.Position using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CheckColumnTag, Category.Param)] - public class CheckColumnTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckColumnTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Display/Positions/Position/Page/CheckPageTag.cs b/Protocol/Tests/Protocol/Params/Param/Display/Positions/Position/Page/CheckPageTag.cs index d2b45efb..b9c76d0e 100644 --- a/Protocol/Tests/Protocol/Params/Param/Display/Positions/Position/Page/CheckPageTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Display/Positions/Position/Page/CheckPageTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Positions.Position using SLDisValidator2.Interfaces; [Test(CheckId.CheckPageTag, Category.Param)] - public class CheckPageTag : IValidate, ICodeFix, ICompare + internal class CheckPageTag : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Display/Positions/Position/Row/CheckRowTag.cs b/Protocol/Tests/Protocol/Params/Param/Display/Positions/Position/Row/CheckRowTag.cs index f0d36ec8..8ee64c11 100644 --- a/Protocol/Tests/Protocol/Params/Param/Display/Positions/Position/Row/CheckRowTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Display/Positions/Position/Row/CheckRowTag.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Positions.Position using SLDisValidator2.Interfaces; [Test(CheckId.CheckRowTag, Category.Param)] - public class CheckRowTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckRowTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Display/RTDisplay/CheckRTDisplayTag.cs b/Protocol/Tests/Protocol/Params/Param/Display/RTDisplay/CheckRTDisplayTag.cs index d349ac70..d588c262 100644 --- a/Protocol/Tests/Protocol/Params/Param/Display/RTDisplay/CheckRTDisplayTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Display/RTDisplay/CheckRTDisplayTag.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.RTDisplay.CheckRTD using SLDisValidator2.Interfaces; [Test(CheckId.CheckRTDisplayTag, Category.Param, TestOrder.Post1)] - public class CheckRTDisplayTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckRTDisplayTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Display/Range/CheckRangeTag.cs b/Protocol/Tests/Protocol/Params/Param/Display/Range/CheckRangeTag.cs index c3c25682..05ef81ba 100644 --- a/Protocol/Tests/Protocol/Params/Param/Display/Range/CheckRangeTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Display/Range/CheckRangeTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Range.CheckRangeTa using SLDisValidator2.Interfaces; [Test(CheckId.CheckRangeTag, Category.Param)] - public class CheckRangeTag : IValidate + internal class CheckRangeTag : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Display/Range/High/CheckHighTag.cs b/Protocol/Tests/Protocol/Params/Param/Display/Range/High/CheckHighTag.cs index 51e8befb..72a5ced0 100644 --- a/Protocol/Tests/Protocol/Params/Param/Display/Range/High/CheckHighTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Display/Range/High/CheckHighTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Range.High.CheckHi using SLDisValidator2.Interfaces; [Test(CheckId.CheckHighTag, Category.Param)] - public class CheckHighTag : IValidate, ICodeFix, ICompare + internal class CheckHighTag : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Display/Range/Low/CheckLowTag.cs b/Protocol/Tests/Protocol/Params/Param/Display/Range/Low/CheckLowTag.cs index e1ff2eee..51205485 100644 --- a/Protocol/Tests/Protocol/Params/Param/Display/Range/Low/CheckLowTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Display/Range/Low/CheckLowTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Range.Low.CheckLow using SLDisValidator2.Interfaces; [Test(CheckId.CheckLowTag, Category.Param)] - public class CheckLowTag : IValidate, ICodeFix, ICompare + internal class CheckLowTag : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Display/Trending/Type/CheckTypeTag.cs b/Protocol/Tests/Protocol/Params/Param/Display/Trending/Type/CheckTypeTag.cs index f42b8e60..70d71327 100644 --- a/Protocol/Tests/Protocol/Params/Param/Display/Trending/Type/CheckTypeTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Display/Trending/Type/CheckTypeTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Display.Trending.Type.Chec using SLDisValidator2.Interfaces; [Test(CheckId.CheckTypeTag, Category.Param)] - public class CheckTypeTag : /*IValidate, ICodeFix, */ICompare + internal class CheckTypeTag : /*IValidate, ICodeFix, */ICompare { ////public List Validate(ValidatorContext context) ////{ diff --git a/Protocol/Tests/Protocol/Params/Param/Display/Units/CheckUnitsTag.cs b/Protocol/Tests/Protocol/Params/Param/Display/Units/CheckUnitsTag.cs index a10652af..fbd123a1 100644 --- a/Protocol/Tests/Protocol/Params/Param/Display/Units/CheckUnitsTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Display/Units/CheckUnitsTag.cs @@ -14,7 +14,7 @@ using SLDisValidator2.Interfaces; [Test(CheckId.CheckUnitsTag, Category.Param)] - public class CheckUnitsTag : IValidate, ICodeFix + internal class CheckUnitsTag : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Information/Includes/CheckIncludesTag.cs b/Protocol/Tests/Protocol/Params/Param/Information/Includes/CheckIncludesTag.cs index aafef2f9..e68e94cb 100644 --- a/Protocol/Tests/Protocol/Params/Param/Information/Includes/CheckIncludesTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Information/Includes/CheckIncludesTag.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Information.Includes.Check using SLDisValidator2.Interfaces; [Test(CheckId.CheckIncludesTag, Category.Param)] - public class CheckIncludesTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIncludesTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Information/Subtext/CheckSubtextTag.cs b/Protocol/Tests/Protocol/Params/Param/Information/Subtext/CheckSubtextTag.cs index 62112034..06bb4148 100644 --- a/Protocol/Tests/Protocol/Params/Param/Information/Subtext/CheckSubtextTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Information/Subtext/CheckSubtextTag.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Information.Subtext.CheckS using SLDisValidator2.Interfaces; [Test(CheckId.CheckSubtextTag, Category.Param)] - public class CheckSubtextTag : IValidate + internal class CheckSubtextTag : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Interprete/DefaultValue/CheckDefaultValueTag.cs b/Protocol/Tests/Protocol/Params/Param/Interprete/DefaultValue/CheckDefaultValueTag.cs index 026d9033..c29fe3c2 100644 --- a/Protocol/Tests/Protocol/Params/Param/Interprete/DefaultValue/CheckDefaultValueTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Interprete/DefaultValue/CheckDefaultValueTag.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.DefaultValue.Ch using SLDisValidator2.Interfaces; [Test(CheckId.CheckDefaultValueTag, Category.Param)] - public class CheckDefaultValueTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckDefaultValueTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/CheckExceptionsTag.cs b/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/CheckExceptionsTag.cs index c8253538..ecf7198a 100644 --- a/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/CheckExceptionsTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/CheckExceptionsTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.Exceptions.Chec using SLDisValidator2.Interfaces; [Test(CheckId.CheckExceptionsTag, Category.Param)] - public class CheckExceptionsTag : ICompare + internal class CheckExceptionsTag : ICompare { public List Compare(MajorChangeCheckContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/Exception/CheckValueAttribute.cs b/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/Exception/CheckValueAttribute.cs index 8848e7be..30f8e36e 100644 --- a/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/Exception/CheckValueAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/Exception/CheckValueAttribute.cs @@ -17,7 +17,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.Exceptions.Exce using SLDisValidator2.Interfaces; [Test(CheckId.CheckValueAttribute, Category.Param)] - public class CheckValueAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckValueAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/Exception/Display/CheckDisplayTag.cs b/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/Exception/Display/CheckDisplayTag.cs index 6ee808b3..4f940d00 100644 --- a/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/Exception/Display/CheckDisplayTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/Exception/Display/CheckDisplayTag.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.Exceptions.Exce using SLDisValidator2.Interfaces; [Test(CheckId.CheckDisplayTag, Category.Param)] - public class CheckDisplayTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckDisplayTag : IValidate, ICodeFix/*, ICompare*/ { private const string CorrectNotApplicableDisplayValue = "N/A"; diff --git a/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/Exception/Value/CheckValueTag.cs b/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/Exception/Value/CheckValueTag.cs index 16adcfff..e76793ae 100644 --- a/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/Exception/Value/CheckValueTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Interprete/Exceptions/Exception/Value/CheckValueTag.cs @@ -17,7 +17,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.Exceptions.Exce using SLDisValidator2.Interfaces; [Test(CheckId.CheckValueTag, Category.Param)] - public class CheckValueTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckValueTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Interprete/Length/CheckLengthTag.cs b/Protocol/Tests/Protocol/Params/Param/Interprete/Length/CheckLengthTag.cs index 8c8157aa..da0047f4 100644 --- a/Protocol/Tests/Protocol/Params/Param/Interprete/Length/CheckLengthTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Interprete/Length/CheckLengthTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.Length.CheckLen using SLDisValidator2.Interfaces; [Test(CheckId.CheckLengthTag, Category.Param)] - public class CheckLengthTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckLengthTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Interprete/LengthType/CheckIdAttribute.cs b/Protocol/Tests/Protocol/Params/Param/Interprete/LengthType/CheckIdAttribute.cs index aa986fa6..df264661 100644 --- a/Protocol/Tests/Protocol/Params/Param/Interprete/LengthType/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/Interprete/LengthType/CheckIdAttribute.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.LengthType.Chec using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.Param)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Interprete/LengthType/CheckLengthTypeTag.cs b/Protocol/Tests/Protocol/Params/Param/Interprete/LengthType/CheckLengthTypeTag.cs index ee1fad3e..a1fbebb3 100644 --- a/Protocol/Tests/Protocol/Params/Param/Interprete/LengthType/CheckLengthTypeTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Interprete/LengthType/CheckLengthTypeTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.LengthType.Chec using SLDisValidator2.Interfaces; [Test(CheckId.CheckLengthTypeTag, Category.Param)] - public class CheckLengthTypeTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckLengthTypeTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Interprete/Others/CheckOthersTag.cs b/Protocol/Tests/Protocol/Params/Param/Interprete/Others/CheckOthersTag.cs index 09febaac..dede8f3e 100644 --- a/Protocol/Tests/Protocol/Params/Param/Interprete/Others/CheckOthersTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Interprete/Others/CheckOthersTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.Others.CheckOth using SLDisValidator2.Interfaces; [Test(CheckId.CheckOthersTag, Category.Param)] - public class CheckOthersTag : /*IValidate, ICodeFix, */ICompare + internal class CheckOthersTag : /*IValidate, ICodeFix, */ICompare { ////public List Validate(ValidatorContext context) ////{ diff --git a/Protocol/Tests/Protocol/Params/Param/Interprete/Type/CheckTypeTag.cs b/Protocol/Tests/Protocol/Params/Param/Interprete/Type/CheckTypeTag.cs index c3145c89..e0020102 100644 --- a/Protocol/Tests/Protocol/Params/Param/Interprete/Type/CheckTypeTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Interprete/Type/CheckTypeTag.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Interprete.Type.CheckTypeT using SLDisValidator2.Interfaces; [Test(CheckId.CheckTypeTag, Category.Param)] - public class CheckTypeTag : ICompare + internal class CheckTypeTag : ICompare { public List Compare(MajorChangeCheckContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/CheckDependencyId.cs b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/CheckDependencyId.cs index 6a657046..59b82052 100644 --- a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/CheckDependencyId.cs +++ b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/CheckDependencyId.cs @@ -18,7 +18,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Chec [Test(CheckId.CheckDependencyId, Category.Param)] - public class CheckDependencyId : IValidate, ICodeFix/*, ICompare*/ + internal class CheckDependencyId : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/CheckDiscreetsTag.cs b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/CheckDiscreetsTag.cs index 12aa05be..7d3a82df 100644 --- a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/CheckDiscreetsTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/CheckDiscreetsTag.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Chec using SLDisValidator2.Interfaces; [Test(CheckId.CheckDiscreetsTag, Category.Param)] - public class CheckDiscreetsTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckDiscreetsTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/CheckMatrixDiscreets.cs b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/CheckMatrixDiscreets.cs index 2ac12427..7a8495a4 100644 --- a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/CheckMatrixDiscreets.cs +++ b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/CheckMatrixDiscreets.cs @@ -17,7 +17,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Chec using static Skyline.DataMiner.CICD.Models.Protocol.Read.ParamTypeOptions; [Test(CheckId.CheckMatrixDiscreets, Category.Param)] - public class CheckMatrixDiscreets : IValidate/*, ICodeFix, ICompare*/ + internal class CheckMatrixDiscreets : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDependencyValuesAttribute.cs b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDependencyValuesAttribute.cs index 6d4a184a..7ce1cd8f 100644 --- a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDependencyValuesAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDependencyValuesAttribute.cs @@ -17,7 +17,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Disc using SLDisValidator2.Interfaces; [Test(CheckId.CheckDependencyValuesAttribute, Category.Param)] - public class CheckDependencyValuesAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckDependencyValuesAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDiscreetTag.cs b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDiscreetTag.cs index a91b46af..178ddfd0 100644 --- a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDiscreetTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckDiscreetTag.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Disc using SLDisValidator2.Interfaces; [Test(CheckId.CheckDiscreetTag, Category.Param)] - public class CheckDiscreetTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckDiscreetTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckOptionsAttribute.cs b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckOptionsAttribute.cs index 5b2a66e3..a09d0825 100644 --- a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckOptionsAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/CheckOptionsAttribute.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Disc using SLDisValidator2.Interfaces; [Test(CheckId.CheckOptionsAttribute, Category.Param)] - public class CheckOptionsAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckOptionsAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/Display/CheckDisplayTag.cs b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/Display/CheckDisplayTag.cs index 98ace488..5f58c07b 100644 --- a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/Display/CheckDisplayTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/Display/CheckDisplayTag.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Disc using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CheckDisplayTag, Category.Param)] - public class CheckDisplayTag : IValidate, ICodeFix, ICompare + internal class CheckDisplayTag : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/Value/CheckValueTag.cs b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/Value/CheckValueTag.cs index 49146123..a87c9917 100644 --- a/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/Value/CheckValueTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Measurement/Discreets/Discreet/Value/CheckValueTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Discreets.Disc using SLDisValidator2.Interfaces; [Test(CheckId.CheckValueTag, Category.Param)] - public class CheckValueTag : ICompare + internal class CheckValueTag : ICompare { public List Compare(MajorChangeCheckContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckLinkAttribute.cs b/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckLinkAttribute.cs index 113d871c..4c370ac0 100644 --- a/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckLinkAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckLinkAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Type.CheckLink using SLDisValidator2.Interfaces; [Test(CheckId.CheckLinkAttribute, Category.Param)] - public class CheckLinkAttribute : IValidate, ICodeFix + internal class CheckLinkAttribute : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckOptionsAttribute.cs b/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckOptionsAttribute.cs index c3f92e15..a5425430 100644 --- a/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckOptionsAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckOptionsAttribute.cs @@ -21,7 +21,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Type.CheckOpti using static Skyline.DataMiner.CICD.Models.Protocol.Read.MeasurementTypeOptions.TableClass; [Test(CheckId.CheckOptionsAttribute, Category.Param)] - public class CheckOptionsAttribute : IValidate, ICodeFix, ICompare + internal class CheckOptionsAttribute : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckTypeTag.cs b/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckTypeTag.cs index 217a7306..b426b7e7 100644 --- a/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckTypeTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckTypeTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Type.CheckType using SLDisValidator2.Interfaces; [Test(CheckId.CheckTypeTag, Category.Param)] - public class CheckTypeTag : IValidate, ICodeFix + internal class CheckTypeTag : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckWidthAttribute.cs b/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckWidthAttribute.cs index 69b1797a..fe1ba743 100644 --- a/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckWidthAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/Measurement/Type/CheckWidthAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Measurement.Type.CheckWidt using SLDisValidator2.Interfaces; [Test(CheckId.CheckWidthAttribute, Category.Param)] - public class CheckWidthAttribute : IValidate, ICodeFix + internal class CheckWidthAttribute : IValidate, ICodeFix { private const uint DefaultWidth = 110; diff --git a/Protocol/Tests/Protocol/Params/Param/Message/CheckMessageTag.cs b/Protocol/Tests/Protocol/Params/Param/Message/CheckMessageTag.cs index 21b94154..8b12464e 100644 --- a/Protocol/Tests/Protocol/Params/Param/Message/CheckMessageTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Message/CheckMessageTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Message.CheckMessageTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckMessageTag, Category.Param)] - public class CheckMessageTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckMessageTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Name/CheckColumnNames.cs b/Protocol/Tests/Protocol/Params/Param/Name/CheckColumnNames.cs index aa402b1c..da34abea 100644 --- a/Protocol/Tests/Protocol/Params/Param/Name/CheckColumnNames.cs +++ b/Protocol/Tests/Protocol/Params/Param/Name/CheckColumnNames.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Name.CheckColumnNames using SLDisValidator2.Interfaces; [Test(CheckId.CheckColumnNames, Category.Param)] - public class CheckColumnNames : IValidate, ICodeFix + internal class CheckColumnNames : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Name/CheckNameTag.cs b/Protocol/Tests/Protocol/Params/Param/Name/CheckNameTag.cs index 91b83c67..7b3ad7b6 100644 --- a/Protocol/Tests/Protocol/Params/Param/Name/CheckNameTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Name/CheckNameTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Name.CheckNameTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameTag, Category.Param)] - public class CheckNameTag : IValidate, ICodeFix, ICompare + internal class CheckNameTag : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/SNMP/OID/CheckIdAttribute.cs b/Protocol/Tests/Protocol/Params/Param/SNMP/OID/CheckIdAttribute.cs index 4a84d87f..5e1aff4a 100644 --- a/Protocol/Tests/Protocol/Params/Param/SNMP/OID/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/SNMP/OID/CheckIdAttribute.cs @@ -17,7 +17,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.SNMP.OID.CheckIdAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.Param)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { // Regex to detect wrong values such as '01', '+1', etc, which are invalid but can be parsed to uint // Instead of this regex, we could consider making the protocol model more strict by using stricter NumberStyle in parser or so. diff --git a/Protocol/Tests/Protocol/Params/Param/SNMP/OID/CheckOidTagIdAttrCombo.cs b/Protocol/Tests/Protocol/Params/Param/SNMP/OID/CheckOidTagIdAttrCombo.cs index f0b9f1b6..6bd2b463 100644 --- a/Protocol/Tests/Protocol/Params/Param/SNMP/OID/CheckOidTagIdAttrCombo.cs +++ b/Protocol/Tests/Protocol/Params/Param/SNMP/OID/CheckOidTagIdAttrCombo.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.SNMP.OID.CheckOidTagIdAttr using SLDisValidator2.Interfaces; [Test(CheckId.CheckOidTagIdAttrCombo, Category.Param)] - public class CheckOidTagIdAttrCombo : IValidate/*, ICodeFix, ICompare*/ + internal class CheckOidTagIdAttrCombo : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/SNMP/TrapOID/CheckMapAlarmAttribute.cs b/Protocol/Tests/Protocol/Params/Param/SNMP/TrapOID/CheckMapAlarmAttribute.cs index a5f23ea6..9a0a60cd 100644 --- a/Protocol/Tests/Protocol/Params/Param/SNMP/TrapOID/CheckMapAlarmAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/SNMP/TrapOID/CheckMapAlarmAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.SNMP.TrapOID.CheckMapAlarm using SLDisValidator2.Interfaces; [Test(CheckId.CheckMapAlarmAttribute, Category.Param)] - public class CheckMapAlarmAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckMapAlarmAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Type/CheckIdAttribute.cs b/Protocol/Tests/Protocol/Params/Param/Type/CheckIdAttribute.cs index 2f35a111..642038d8 100644 --- a/Protocol/Tests/Protocol/Params/Param/Type/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/Type/CheckIdAttribute.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Type.CheckIdAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.Param)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Type/CheckOptionsAttribute.cs b/Protocol/Tests/Protocol/Params/Param/Type/CheckOptionsAttribute.cs index 29721301..df8c4d01 100644 --- a/Protocol/Tests/Protocol/Params/Param/Type/CheckOptionsAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/Type/CheckOptionsAttribute.cs @@ -17,7 +17,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Type.CheckOptionsAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckOptionsAttribute, Category.Param)] - public class CheckOptionsAttribute : IValidate, ICodeFix, ICompare + internal class CheckOptionsAttribute : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Type/CheckTypeTag.cs b/Protocol/Tests/Protocol/Params/Param/Type/CheckTypeTag.cs index ca8262b9..8ce71dee 100644 --- a/Protocol/Tests/Protocol/Params/Param/Type/CheckTypeTag.cs +++ b/Protocol/Tests/Protocol/Params/Param/Type/CheckTypeTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Type.CheckTypeTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckTypeTag, Category.Param)] - public class CheckTypeTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckTypeTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Params/Param/Type/CheckVirtualAttribute.cs b/Protocol/Tests/Protocol/Params/Param/Type/CheckVirtualAttribute.cs index a0d659d4..c01fe37d 100644 --- a/Protocol/Tests/Protocol/Params/Param/Type/CheckVirtualAttribute.cs +++ b/Protocol/Tests/Protocol/Params/Param/Type/CheckVirtualAttribute.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Params.Param.Type.CheckVirtualAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckVirtualAttribute, Category.Param)] - public class CheckVirtualAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckVirtualAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/PortSettings/CheckNameAttribute.cs b/Protocol/Tests/Protocol/PortSettings/CheckNameAttribute.cs index d17b7709..4b99cdf8 100644 --- a/Protocol/Tests/Protocol/PortSettings/CheckNameAttribute.cs +++ b/Protocol/Tests/Protocol/PortSettings/CheckNameAttribute.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.PortSettings.CheckNameAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameAttribute, Category.PortSettings)] - public class CheckNameAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckNameAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Ports/PortSettings/CheckNameAttribute.cs b/Protocol/Tests/Protocol/Ports/PortSettings/CheckNameAttribute.cs index 0af31af1..690a0141 100644 --- a/Protocol/Tests/Protocol/Ports/PortSettings/CheckNameAttribute.cs +++ b/Protocol/Tests/Protocol/Ports/PortSettings/CheckNameAttribute.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.Ports.PortSettings.CheckNameAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameAttribute, Category.Ports)] - public class CheckNameAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckNameAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Provider/CheckProviderTag.cs b/Protocol/Tests/Protocol/Provider/CheckProviderTag.cs index ed749429..b4c7d28d 100644 --- a/Protocol/Tests/Protocol/Provider/CheckProviderTag.cs +++ b/Protocol/Tests/Protocol/Provider/CheckProviderTag.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Provider.CheckProviderTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckProviderTag, Category.Protocol)] - public class CheckProviderTag : IValidate, ICodeFix + internal class CheckProviderTag : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckEntryPoints.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckEntryPoints.cs index 3820f50d..7f2deaa2 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckEntryPoints.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckEntryPoints.cs @@ -21,7 +21,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpCheckEntryPoints using SLDisValidator2.Interfaces; [Test(CheckId.CSharpCheckEntryPoints, Category.QAction)] - public class CSharpCheckEntryPoints : IValidate, ICodeFix/*, ICompare*/ + internal class CSharpCheckEntryPoints : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckPreprocessorDirective.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckPreprocessorDirective.cs index 89b1b4ca..837ab110 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckPreprocessorDirective.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckPreprocessorDirective.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpCheckPreprocesso using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CSharpCheckPreprocessorDirective, Category.QAction)] - public class CSharpCheckPreprocessorDirective : IValidate + internal class CSharpCheckPreprocessorDirective : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckQActionImplementedInterface.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckQActionImplementedInterface.cs index 4fe4745a..18a18332 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckQActionImplementedInterface.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckQActionImplementedInterface.cs @@ -17,7 +17,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpCheckQActionImpl using Skyline.DataMiner.CICD.Validators.Common.Interfaces; //[Test(CheckId.CSharpCheckQActionImplementedInterface, Category.QAction)] - public class CSharpCheckQActionImplementedInterface : IValidate + internal class CSharpCheckQActionImplementedInterface : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckUnrecommendedConstructor.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckUnrecommendedConstructor.cs index cf804da8..e77bc100 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckUnrecommendedConstructor.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckUnrecommendedConstructor.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpCheckUnrecommend using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CSharpCheckUnrecommendedConstructor, Category.QAction)] - public class CSharpCheckUnrecommendedConstructor : IValidate /*, ICodeFix, ICompare*/ + internal class CSharpCheckUnrecommendedConstructor : IValidate /*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckUnrecommendedMethod.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckUnrecommendedMethod.cs index aebac4e3..05996b86 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckUnrecommendedMethod.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckUnrecommendedMethod.cs @@ -21,7 +21,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpCheckUnrecommend using SLDisValidator2.Interfaces; [Test(CheckId.CSharpCheckUnrecommendedMethod, Category.QAction)] - public class CSharpCheckUnrecommendedMethod : IValidate, ICodeFix + internal class CSharpCheckUnrecommendedMethod : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckUnrecommendedPropertySet.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckUnrecommendedPropertySet.cs index 92e279c3..fa99aadf 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckUnrecommendedPropertySet.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpCheckUnrecommendedPropertySet.cs @@ -20,7 +20,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpCheckUnrecommend using SLDisValidator2.Interfaces; [Test(CheckId.CSharpCheckUnrecommendedPropertySet, Category.QAction)] - public class CSharpCheckUnrecommendedPropertySet : IValidate /*, ICodeFix, ICompare*/ + internal class CSharpCheckUnrecommendedPropertySet : IValidate /*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignAlarmTemplate.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignAlarmTemplate.cs index 18cfe87e..add4686a 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignAlarmTemplate.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignAlarmTemplate.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyDataMinerNTAssignAlarmTemplate, Category.QAction)] - public class CSharpNotifyDataMinerNTAssignAlarmTemplate : IValidate + internal class CSharpNotifyDataMinerNTAssignAlarmTemplate : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignSimulation.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignSimulation.cs index a7eaccf4..5d6e23fd 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignSimulation.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTAssignSimulation.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyDataMinerNTAssignSimulation, Category.QAction)] - public class CSharpNotifyDataMinerNTAssignSimulation : IValidate + internal class CSharpNotifyDataMinerNTAssignSimulation : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTEditProperty.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTEditProperty.cs index 52cabb94..906c09bd 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTEditProperty.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTEditProperty.cs @@ -21,7 +21,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CSharpNotifyDataMinerNTEditProperty, Category.QAction)] - public class CSharpNotifyDataMinerNTEditProperty : IValidate + internal class CSharpNotifyDataMinerNTEditProperty : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetAlarmInfo.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetAlarmInfo.cs index df054ba4..8ee6cdb0 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetAlarmInfo.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetAlarmInfo.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyDataMinerNTGetAlarmInfo, Category.QAction)] - public class CSharpNotifyDataMinerNTGetAlarmInfo : IValidate + internal class CSharpNotifyDataMinerNTGetAlarmInfo : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetElementName.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetElementName.cs index ea7e9944..26d4820a 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetElementName.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetElementName.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyDataMinerNTGetElementName, Category.QAction)] - public class CSharpNotifyDataMinerNTGetElementName : IValidate + internal class CSharpNotifyDataMinerNTGetElementName : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetParameter.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetParameter.cs index 1a140db7..8d60615b 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetParameter.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetParameter.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyDataMinerNTGetParameter, Category.QAction)] - public class CSharpNotifyDataMinerNTGetParameter : IValidate + internal class CSharpNotifyDataMinerNTGetParameter : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetValue.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetValue.cs index 50d6a7c2..73aeea39 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetValue.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTGetValue.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyDataMinerNTGetValue, Category.QAction)] - public class CSharpNotifyDataMinerNTGetValue : IValidate + internal class CSharpNotifyDataMinerNTGetValue : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTServiceSetVdx.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTServiceSetVdx.cs index ece7e464..22628c10 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTServiceSetVdx.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTServiceSetVdx.cs @@ -20,7 +20,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyDataMinerNTServiceSetVdx, Category.QAction)] - public class CSharpNotifyDataMinerNTServiceSetVdx : IValidate + internal class CSharpNotifyDataMinerNTServiceSetVdx : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetAlarmState.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetAlarmState.cs index 6987eb8c..630e9250 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetAlarmState.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetAlarmState.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyDataMinerNTSetAlarmState, Category.QAction)] - public class CSharpNotifyDataMinerNTSetAlarmState : IValidate + internal class CSharpNotifyDataMinerNTSetAlarmState : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetElementState.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetElementState.cs index 1aaeb2d4..4da623b2 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetElementState.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTSetElementState.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyDataMinerNTSetElementState, Category.QAction)] - public class CSharpNotifyDataMinerNTSetElementState : IValidate + internal class CSharpNotifyDataMinerNTSetElementState : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTTrendingAssignTemplate.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTTrendingAssignTemplate.cs index 12d59837..8a4327a4 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTTrendingAssignTemplate.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTTrendingAssignTemplate.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyDataMinerNTTrendingAssignTemplate, Category.QAction)] - public class CSharpNotifyDataMinerNTTrendingAssignTemplate : IValidate + internal class CSharpNotifyDataMinerNTTrendingAssignTemplate : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdateDescriptionXml.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdateDescriptionXml.cs index 3874a79b..d37c74b4 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdateDescriptionXml.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdateDescriptionXml.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyDataMinerNTUpdateDescriptionXml, Category.QAction)] - public class CSharpNotifyDataMinerNTUpdateDescriptionXml : IValidate + internal class CSharpNotifyDataMinerNTUpdateDescriptionXml : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdatePortsXml.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdatePortsXml.cs index 901eabe9..8d18c6c2 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdatePortsXml.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyDataMinerNTUpdatePortsXml.cs @@ -20,7 +20,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyDataMinerN using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyDataMinerNTUpdatePortsXml, Category.QAction)] - public class CSharpNotifyDataMinerNTUpdatePortsXml : IValidate + internal class CSharpNotifyDataMinerNTUpdatePortsXml : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpGet.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpGet.cs index dbf478c2..35e6b735 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpGet.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpGet.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyProtocolNT using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyProtocolNTSnmpGet, Category.QAction)] - public class CSharpNotifyProtocolNTSnmpGet : IValidate + internal class CSharpNotifyProtocolNTSnmpGet : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpSet.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpSet.cs index 3823f927..7bc53c2c 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpSet.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyProtocolNTSnmpSet.cs @@ -19,7 +19,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyProtocolNT using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyProtocolNTSnmpSet, Category.QAction)] - public class CSharpNotifyProtocolNTSnmpSet : IValidate + internal class CSharpNotifyProtocolNTSnmpSet : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyProtocolNtFillArrayWithColumn.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyProtocolNtFillArrayWithColumn.cs index 94a5d77f..c3d2af99 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyProtocolNtFillArrayWithColumn.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpNotifyProtocolNtFillArrayWithColumn.cs @@ -23,7 +23,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpNotifyProtocolNt using SLDisValidator2.Interfaces; [Test(CheckId.CSharpNotifyProtocolNtFillArrayWithColumn, Category.QAction)] - public class CSharpNotifyProtocolNtFillArrayWithColumn : IValidate, ICodeFix/*, ICompare*/ + internal class CSharpNotifyProtocolNtFillArrayWithColumn : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpQActionCompilation.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpQActionCompilation.cs index 4878ee74..a613fea5 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpQActionCompilation.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpQActionCompilation.cs @@ -11,7 +11,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpQActionCompilati using SLDisValidator2.Interfaces; [Test(CheckId.CSharpQActionCompilation, Category.QAction)] - public class CSharpQActionCompilation : IValidate + internal class CSharpQActionCompilation : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolCheckTrigger.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolCheckTrigger.cs index 6090c160..f8491616 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolCheckTrigger.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolCheckTrigger.cs @@ -21,7 +21,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolCheckT using SLDisValidator2.Interfaces; [Test(CheckId.CSharpSLProtocolCheckTrigger, Category.QAction)] - public class CSharpSLProtocolCheckTrigger : IValidate + internal class CSharpSLProtocolCheckTrigger : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolFillArray.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolFillArray.cs index c7aee42a..7b2360b3 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolFillArray.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolFillArray.cs @@ -21,7 +21,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolFillAr using SLDisValidator2.Interfaces; [Test(CheckId.CSharpSLProtocolFillArray, Category.QAction)] - public class CSharpSLProtocolFillArray : IValidate, ICodeFix + internal class CSharpSLProtocolFillArray : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolFillArrayNoDelete.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolFillArrayNoDelete.cs index 68686712..8f16e3e2 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolFillArrayNoDelete.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolFillArrayNoDelete.cs @@ -21,7 +21,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolFillAr using SLDisValidator2.Interfaces; [Test(CheckId.CSharpSLProtocolFillArrayNoDelete, Category.QAction)] - public class CSharpSLProtocolFillArrayNoDelete : IValidate, ICodeFix + internal class CSharpSLProtocolFillArrayNoDelete : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolFillArrayWithColumn.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolFillArrayWithColumn.cs index 3d3f601b..2e3aa879 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolFillArrayWithColumn.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolFillArrayWithColumn.cs @@ -22,7 +22,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolFillAr using SLDisValidator2.Interfaces; [Test(CheckId.CSharpSLProtocolFillArrayWithColumn, Category.QAction)] - public class CSharpSLProtocolFillArrayWithColumn : IValidate, ICodeFix + internal class CSharpSLProtocolFillArrayWithColumn : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolGetParameter.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolGetParameter.cs index 26a5b73b..3896d3b7 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolGetParameter.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolGetParameter.cs @@ -21,7 +21,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolGetPar using SLDisValidator2.Interfaces; [Test(CheckId.CSharpSLProtocolGetParameter, Category.QAction)] - public class CSharpSLProtocolGetParameter : IValidate + internal class CSharpSLProtocolGetParameter : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolGetParameters.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolGetParameters.cs index 5ef28251..83da8c94 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolGetParameters.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolGetParameters.cs @@ -21,7 +21,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolGetPar using SLDisValidator2.Interfaces; [Test(CheckId.CSharpSLProtocolGetParameters, Category.QAction)] - public class CSharpSLProtocolGetParameters : IValidate/*, ICodeFix, ICompare*/ + internal class CSharpSLProtocolGetParameters : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolSetParameter.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolSetParameter.cs index b7d20bca..088f5a53 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolSetParameter.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolSetParameter.cs @@ -21,7 +21,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolSetPar using SLDisValidator2.Interfaces; [Test(CheckId.CSharpSLProtocolSetParameter, Category.QAction)] - public class CSharpSLProtocolSetParameter : IValidate, ICodeFix/*, ICompare*/ + internal class CSharpSLProtocolSetParameter : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolSetRow.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolSetRow.cs index 87cbf001..f1029c4c 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolSetRow.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolSetRow.cs @@ -22,7 +22,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolSetRow using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CSharpSLProtocolSetRow, Category.QAction)] - public class CSharpSLProtocolSetRow : IValidate, ICodeFix + internal class CSharpSLProtocolSetRow : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolTriggerAction.cs b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolTriggerAction.cs index 59966f19..8565db09 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolTriggerAction.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CSharpSLProtocolTriggerAction.cs @@ -22,7 +22,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CSharpSLProtocolTrigge using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CSharpSLProtocolTriggerAction, Category.QAction)] - public class CSharpSLProtocolTriggerAction : IValidate/*, ICodeFix, ICompare*/ + internal class CSharpSLProtocolTriggerAction : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CheckIdAttribute.cs b/Protocol/Tests/Protocol/QActions/QAction/CheckIdAttribute.cs index 5d73ba5f..43cd4547 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CheckIdAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CheckIdAttribute using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CheckIdAttribute, Category.QAction)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CheckNameAttribute.cs b/Protocol/Tests/Protocol/QActions/QAction/CheckNameAttribute.cs index 38f41027..0267e514 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CheckNameAttribute.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CheckNameAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CheckNameAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameAttribute, Category.QAction)] - public class CheckNameAttribute : IValidate, ICodeFix, ICompare + internal class CheckNameAttribute : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/CheckTriggersAttribute.cs b/Protocol/Tests/Protocol/QActions/QAction/CheckTriggersAttribute.cs index 1228c444..6b77bf86 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/CheckTriggersAttribute.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/CheckTriggersAttribute.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.CheckTriggersAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckTriggersAttribute, Category.QAction)] - public class CheckTriggersAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckTriggersAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/QActions/QAction/Condition/CheckConditionTag.cs b/Protocol/Tests/Protocol/QActions/QAction/Condition/CheckConditionTag.cs index c83ee099..f8d2149f 100644 --- a/Protocol/Tests/Protocol/QActions/QAction/Condition/CheckConditionTag.cs +++ b/Protocol/Tests/Protocol/QActions/QAction/Condition/CheckConditionTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.QActions.QAction.Condition.CheckConditi using SLDisValidator2.Interfaces; [Test(CheckId.CheckConditionTag, Category.QAction)] - public class CheckConditionTag : IValidate + internal class CheckConditionTag : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Relations/Relation/CheckNameAttribute.cs b/Protocol/Tests/Protocol/Relations/Relation/CheckNameAttribute.cs index c1923d9a..f3ef8d43 100644 --- a/Protocol/Tests/Protocol/Relations/Relation/CheckNameAttribute.cs +++ b/Protocol/Tests/Protocol/Relations/Relation/CheckNameAttribute.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.Relations.Relation.CheckNameAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameAttribute, Category.Relation)] - public class CheckNameAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckNameAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Relations/Relation/CheckPathAttribute.cs b/Protocol/Tests/Protocol/Relations/Relation/CheckPathAttribute.cs index de1f0453..33e4e2fc 100644 --- a/Protocol/Tests/Protocol/Relations/Relation/CheckPathAttribute.cs +++ b/Protocol/Tests/Protocol/Relations/Relation/CheckPathAttribute.cs @@ -18,7 +18,7 @@ namespace SLDisValidator2.Tests.Protocol.Relations.Relation.CheckPathAttribute using static Skyline.DataMiner.CICD.Models.Protocol.Read.ColumnOptionOptions; [Test(CheckId.CheckPathAttribute, Category.Relation)] - public class CheckPathAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckPathAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Responses/Response/CheckIdAttribute.cs b/Protocol/Tests/Protocol/Responses/Response/CheckIdAttribute.cs index cdc68069..70cdcc82 100644 --- a/Protocol/Tests/Protocol/Responses/Response/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/Responses/Response/CheckIdAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Responses.Response.CheckIdAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.Response)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Responses/Response/CheckResponseLogic.cs b/Protocol/Tests/Protocol/Responses/Response/CheckResponseLogic.cs index 55a6b3be..f93a18d9 100644 --- a/Protocol/Tests/Protocol/Responses/Response/CheckResponseLogic.cs +++ b/Protocol/Tests/Protocol/Responses/Response/CheckResponseLogic.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Responses.Response.CheckResponseLogic using SLDisValidator2.Interfaces; [Test(CheckId.CheckResponseLogic, Category.Response)] - public class CheckResponseLogic : IValidate/*, ICodeFix, ICompare*/ + internal class CheckResponseLogic : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Responses/Response/Content/Param/CheckParamTag.cs b/Protocol/Tests/Protocol/Responses/Response/Content/Param/CheckParamTag.cs index 90976248..1690f0c1 100644 --- a/Protocol/Tests/Protocol/Responses/Response/Content/Param/CheckParamTag.cs +++ b/Protocol/Tests/Protocol/Responses/Response/Content/Param/CheckParamTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Responses.Response.Content.Param.CheckP using SLDisValidator2.Interfaces; [Test(CheckId.CheckParamTag, Category.Response)] - public class CheckParamTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckParamTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Responses/Response/Name/CheckNameTag.cs b/Protocol/Tests/Protocol/Responses/Response/Name/CheckNameTag.cs index ef43cb26..abb2343d 100644 --- a/Protocol/Tests/Protocol/Responses/Response/Name/CheckNameTag.cs +++ b/Protocol/Tests/Protocol/Responses/Response/Name/CheckNameTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Responses.Response.Name.CheckNameTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameTag, Category.Response)] - public class CheckNameTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckNameTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/SNMP/CheckIncludepagesAttribute.cs b/Protocol/Tests/Protocol/SNMP/CheckIncludepagesAttribute.cs index 423433e8..b30245cf 100644 --- a/Protocol/Tests/Protocol/SNMP/CheckIncludepagesAttribute.cs +++ b/Protocol/Tests/Protocol/SNMP/CheckIncludepagesAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.SNMP.CheckIncludepagesAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckIncludepagesAttribute, Category.Protocol)] - public class CheckIncludepagesAttribute : IValidate, ICodeFix + internal class CheckIncludepagesAttribute : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/SNMP/CheckSnmpTag.cs b/Protocol/Tests/Protocol/SNMP/CheckSnmpTag.cs index fcdd02eb..7f7868db 100644 --- a/Protocol/Tests/Protocol/SNMP/CheckSnmpTag.cs +++ b/Protocol/Tests/Protocol/SNMP/CheckSnmpTag.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.SNMP.CheckSnmpTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckSnmpTag, Category.Protocol)] - public class CheckSnmpTag : IValidate, ICodeFix + internal class CheckSnmpTag : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Timers/Timer/CheckIdAttribute.cs b/Protocol/Tests/Protocol/Timers/Timer/CheckIdAttribute.cs index 5b6f17c5..c8c136a4 100644 --- a/Protocol/Tests/Protocol/Timers/Timer/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/Timers/Timer/CheckIdAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Timers.Timer.CheckIdAttribute using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CheckIdAttribute, Category.Timer)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Timers/Timer/CheckOptionsAttribute.cs b/Protocol/Tests/Protocol/Timers/Timer/CheckOptionsAttribute.cs index 517567cf..d5686a0b 100644 --- a/Protocol/Tests/Protocol/Timers/Timer/CheckOptionsAttribute.cs +++ b/Protocol/Tests/Protocol/Timers/Timer/CheckOptionsAttribute.cs @@ -17,7 +17,7 @@ namespace SLDisValidator2.Tests.Protocol.Timers.Timer.CheckOptionsAttribute using static Skyline.DataMiner.CICD.Models.Protocol.Read.TimerOptions; [Test(CheckId.CheckOptionsAttribute, Category.Timer)] - public class CheckOptionsAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckOptionsAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Timers/Timer/Condition/CheckConditionTag.cs b/Protocol/Tests/Protocol/Timers/Timer/Condition/CheckConditionTag.cs index 48bf38e3..ef555bba 100644 --- a/Protocol/Tests/Protocol/Timers/Timer/Condition/CheckConditionTag.cs +++ b/Protocol/Tests/Protocol/Timers/Timer/Condition/CheckConditionTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Timers.Timer.Condition.CheckConditionTa using SLDisValidator2.Interfaces; [Test(CheckId.CheckConditionTag, Category.Timer)] - public class CheckConditionTag : IValidate + internal class CheckConditionTag : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Timers/Timer/Content/Group/CheckGroupTag.cs b/Protocol/Tests/Protocol/Timers/Timer/Content/Group/CheckGroupTag.cs index 994f89cc..c12070a7 100644 --- a/Protocol/Tests/Protocol/Timers/Timer/Content/Group/CheckGroupTag.cs +++ b/Protocol/Tests/Protocol/Timers/Timer/Content/Group/CheckGroupTag.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Timers.Timer.Content.Group.CheckGroupTa using SLDisValidator2.Interfaces; [Test(CheckId.CheckGroupTag, Category.Timer)] - public class CheckGroupTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckGroupTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Timers/Timer/Name/CheckNameTag.cs b/Protocol/Tests/Protocol/Timers/Timer/Name/CheckNameTag.cs index b603f573..8975f54f 100644 --- a/Protocol/Tests/Protocol/Timers/Timer/Name/CheckNameTag.cs +++ b/Protocol/Tests/Protocol/Timers/Timer/Name/CheckNameTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Timers.Timer.Name.CheckNameTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameTag, Category.Timer)] - public class CheckNameTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckNameTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Timers/Timer/Time/CheckTimeTag.cs b/Protocol/Tests/Protocol/Timers/Timer/Time/CheckTimeTag.cs index 0f00d963..e3bded12 100644 --- a/Protocol/Tests/Protocol/Timers/Timer/Time/CheckTimeTag.cs +++ b/Protocol/Tests/Protocol/Timers/Timer/Time/CheckTimeTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Timers.Timer.Time.CheckTimeTag using Skyline.DataMiner.CICD.Validators.Common.Model; [Test(CheckId.CheckTimeTag, Category.Timer)] - public class CheckTimeTag : IValidate, ICodeFix + internal class CheckTimeTag : IValidate, ICodeFix { private const uint maxAllowedTimerTimeValue = 2073600000; // +- 24 Days diff --git a/Protocol/Tests/Protocol/Topologies/Topology/CheckNameAttribute.cs b/Protocol/Tests/Protocol/Topologies/Topology/CheckNameAttribute.cs index 48078292..c1b87f38 100644 --- a/Protocol/Tests/Protocol/Topologies/Topology/CheckNameAttribute.cs +++ b/Protocol/Tests/Protocol/Topologies/Topology/CheckNameAttribute.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.Topologies.Topology.CheckNameAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameAttribute, Category.Topology)] - public class CheckNameAttribute : IValidate/*, ICodeFix, ICompare*/ + internal class CheckNameAttribute : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/TreeControls/TreeControl/CheckParameterIdAttribute.cs b/Protocol/Tests/Protocol/TreeControls/TreeControl/CheckParameterIdAttribute.cs index 6646377f..3f71a238 100644 --- a/Protocol/Tests/Protocol/TreeControls/TreeControl/CheckParameterIdAttribute.cs +++ b/Protocol/Tests/Protocol/TreeControls/TreeControl/CheckParameterIdAttribute.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.CheckParameter using SLDisValidator2.Interfaces; [Test(CheckId.CheckParameterIdAttribute, Category.TreeControl)] - public class CheckParameterIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckParameterIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDetailsTableIdAttribute.cs b/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDetailsTableIdAttribute.cs index bfb6a81c..b2427b41 100644 --- a/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDetailsTableIdAttribute.cs +++ b/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDetailsTableIdAttribute.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.ExtraDetails.L using SLDisValidator2.Interfaces; [Test(CheckId.CheckDetailsTableIdAttribute, Category.TreeControl)] - public class CheckDetailsTableIdAttribute : IValidate, ICodeFix + internal class CheckDetailsTableIdAttribute : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDiscreetColumnIdAttribute.cs b/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDiscreetColumnIdAttribute.cs index f02cad31..29cc7d57 100644 --- a/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDiscreetColumnIdAttribute.cs +++ b/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraDetails/LinkedDetails/CheckDiscreetColumnIdAttribute.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.ExtraDetails.L using SLDisValidator2.Interfaces; [Test(CheckId.CheckDiscreetColumnIdAttribute, Category.TreeControl)] - public class CheckDiscreetColumnIdAttribute : IValidate, ICodeFix + internal class CheckDiscreetColumnIdAttribute : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckParameterAttribute.cs b/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckParameterAttribute.cs index 9f9d78ff..1a8f158b 100644 --- a/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckParameterAttribute.cs +++ b/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckParameterAttribute.cs @@ -17,7 +17,7 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.ExtraTab.Tab.C using SLDisValidator2.Interfaces; [Test(CheckId.CheckParameterAttribute, Category.TreeControl)] - public class CheckParameterAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckParameterAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckTableIdAttribute.cs b/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckTableIdAttribute.cs index 78fe88ed..80f34e95 100644 --- a/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckTableIdAttribute.cs +++ b/Protocol/Tests/Protocol/TreeControls/TreeControl/ExtraTab/Tab/CheckTableIdAttribute.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.ExtraTab.Tab.C using SLDisValidator2.Interfaces; [Test(CheckId.CheckTableIdAttribute, Category.TreeControl)] - public class CheckTableIdAttribute : IValidate, ICodeFix + internal class CheckTableIdAttribute : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/TreeControls/TreeControl/HiddenColumns/CheckHiddenColumnsTag.cs b/Protocol/Tests/Protocol/TreeControls/TreeControl/HiddenColumns/CheckHiddenColumnsTag.cs index 6b520930..0da9a8fb 100644 --- a/Protocol/Tests/Protocol/TreeControls/TreeControl/HiddenColumns/CheckHiddenColumnsTag.cs +++ b/Protocol/Tests/Protocol/TreeControls/TreeControl/HiddenColumns/CheckHiddenColumnsTag.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.HiddenColumns. using SLDisValidator2.Interfaces; [Test(CheckId.CheckHiddenColumnsTag, Category.TreeControl)] - public class CheckHiddenColumnsTag : IValidate, ICodeFix + internal class CheckHiddenColumnsTag : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/CheckPathAttribute.cs b/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/CheckPathAttribute.cs index 725d8238..b5957b17 100644 --- a/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/CheckPathAttribute.cs +++ b/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/CheckPathAttribute.cs @@ -17,7 +17,7 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.Hierarchy.Chec using SLDisValidator2.Interfaces; [Test(CheckId.CheckPathAttribute, Category.TreeControl)] - public class CheckPathAttribute : IValidate, ICodeFix + internal class CheckPathAttribute : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckConditionAttribute.cs b/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckConditionAttribute.cs index a4e1d579..22323b28 100644 --- a/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckConditionAttribute.cs +++ b/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckConditionAttribute.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.Hierarchy.Tabl using SLDisValidator2.Interfaces; [Test(CheckId.CheckConditionAttribute, Category.TreeControl)] - public class CheckConditionAttribute : IValidate + internal class CheckConditionAttribute : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckIdAttribute.cs b/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckIdAttribute.cs index 1ee8e993..817650a7 100644 --- a/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckIdAttribute.cs @@ -17,7 +17,7 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.Hierarchy.Tabl using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.TreeControl)] - public class CheckIdAttribute : IValidate, ICodeFix + internal class CheckIdAttribute : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckParentAttribute.cs b/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckParentAttribute.cs index 0bb1e93d..953fc8a1 100644 --- a/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckParentAttribute.cs +++ b/Protocol/Tests/Protocol/TreeControls/TreeControl/Hierarchy/Table/CheckParentAttribute.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.Hierarchy.Tabl using SLDisValidator2.Interfaces; [Test(CheckId.CheckParentAttribute, Category.TreeControl)] - public class CheckParentAttribute : IValidate, ICodeFix + internal class CheckParentAttribute : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/TreeControls/TreeControl/OverrideDisplayColumns/CheckOverrideDisplayColumnsTag.cs b/Protocol/Tests/Protocol/TreeControls/TreeControl/OverrideDisplayColumns/CheckOverrideDisplayColumnsTag.cs index 92573552..3ae559a0 100644 --- a/Protocol/Tests/Protocol/TreeControls/TreeControl/OverrideDisplayColumns/CheckOverrideDisplayColumnsTag.cs +++ b/Protocol/Tests/Protocol/TreeControls/TreeControl/OverrideDisplayColumns/CheckOverrideDisplayColumnsTag.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.OverrideDispla using SLDisValidator2.Interfaces; [Test(CheckId.CheckOverrideDisplayColumnsTag, Category.TreeControl)] - public class CheckOverrideDisplayColumnsTag : IValidate, ICodeFix + internal class CheckOverrideDisplayColumnsTag : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/TreeControls/TreeControl/OverrideIconColumns/CheckOverrideIconColumnsTag.cs b/Protocol/Tests/Protocol/TreeControls/TreeControl/OverrideIconColumns/CheckOverrideIconColumnsTag.cs index fa8d6d61..7ac2145e 100644 --- a/Protocol/Tests/Protocol/TreeControls/TreeControl/OverrideIconColumns/CheckOverrideIconColumnsTag.cs +++ b/Protocol/Tests/Protocol/TreeControls/TreeControl/OverrideIconColumns/CheckOverrideIconColumnsTag.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.OverrideIconCo using SLDisValidator2.Interfaces; [Test(CheckId.CheckOverrideIconColumnsTag, Category.TreeControl)] - public class CheckOverrideIconColumnsTag : IValidate, ICodeFix + internal class CheckOverrideIconColumnsTag : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/TreeControls/TreeControl/ReadonlyColumns/CheckReadonlyColumnsTag.cs b/Protocol/Tests/Protocol/TreeControls/TreeControl/ReadonlyColumns/CheckReadonlyColumnsTag.cs index 678d92c8..c3bb8397 100644 --- a/Protocol/Tests/Protocol/TreeControls/TreeControl/ReadonlyColumns/CheckReadonlyColumnsTag.cs +++ b/Protocol/Tests/Protocol/TreeControls/TreeControl/ReadonlyColumns/CheckReadonlyColumnsTag.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.TreeControls.TreeControl.ReadonlyColumn using SLDisValidator2.Interfaces; [Test(CheckId.CheckReadonlyColumnsTag, Category.TreeControl)] - public class CheckReadonlyColumnsTag : IValidate, ICodeFix + internal class CheckReadonlyColumnsTag : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Triggers/Trigger/CheckAfterStartupFlow.cs b/Protocol/Tests/Protocol/Triggers/Trigger/CheckAfterStartupFlow.cs index 2840259f..bdc693ed 100644 --- a/Protocol/Tests/Protocol/Triggers/Trigger/CheckAfterStartupFlow.cs +++ b/Protocol/Tests/Protocol/Triggers/Trigger/CheckAfterStartupFlow.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.CheckAfterStartupFlow using SLDisValidator2.Interfaces; [Test(CheckId.CheckAfterStartupFlow, Category.Trigger)] - public class CheckAfterStartupFlow : IValidate + internal class CheckAfterStartupFlow : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Triggers/Trigger/CheckIdAttribute.cs b/Protocol/Tests/Protocol/Triggers/Trigger/CheckIdAttribute.cs index 9995f9ae..ce7a5cc1 100644 --- a/Protocol/Tests/Protocol/Triggers/Trigger/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/Triggers/Trigger/CheckIdAttribute.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.CheckIdAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.Trigger)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Triggers/Trigger/CheckOnTagTimeTagCombination.cs b/Protocol/Tests/Protocol/Triggers/Trigger/CheckOnTagTimeTagCombination.cs index 087b16cb..f86772d4 100644 --- a/Protocol/Tests/Protocol/Triggers/Trigger/CheckOnTagTimeTagCombination.cs +++ b/Protocol/Tests/Protocol/Triggers/Trigger/CheckOnTagTimeTagCombination.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.CheckOnTagTimeTagCombi using SLDisValidator2.Interfaces; [Test(CheckId.CheckOnTagTimeTagCombination, Category.Trigger)] - public class CheckOnTagTimeTagCombination : IValidate + internal class CheckOnTagTimeTagCombination : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Triggers/Trigger/Condition/CheckConditionTag.cs b/Protocol/Tests/Protocol/Triggers/Trigger/Condition/CheckConditionTag.cs index e8914dac..5d5dd1bc 100644 --- a/Protocol/Tests/Protocol/Triggers/Trigger/Condition/CheckConditionTag.cs +++ b/Protocol/Tests/Protocol/Triggers/Trigger/Condition/CheckConditionTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.Condition.CheckConditi using SLDisValidator2.Interfaces; [Test(CheckId.CheckConditionTag, Category.Trigger)] - public class CheckConditionTag : IValidate + internal class CheckConditionTag : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Triggers/Trigger/Content/Id/CheckIdTag.cs b/Protocol/Tests/Protocol/Triggers/Trigger/Content/Id/CheckIdTag.cs index eab4a516..7bd13f97 100644 --- a/Protocol/Tests/Protocol/Triggers/Trigger/Content/Id/CheckIdTag.cs +++ b/Protocol/Tests/Protocol/Triggers/Trigger/Content/Id/CheckIdTag.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.Content.Id.CheckIdTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdTag, Category.Trigger)] - public class CheckIdTag : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdTag : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Triggers/Trigger/Name/CheckNameTag.cs b/Protocol/Tests/Protocol/Triggers/Trigger/Name/CheckNameTag.cs index 2c853d6a..51c7aba2 100644 --- a/Protocol/Tests/Protocol/Triggers/Trigger/Name/CheckNameTag.cs +++ b/Protocol/Tests/Protocol/Triggers/Trigger/Name/CheckNameTag.cs @@ -14,7 +14,7 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.Name.CheckNameTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckNameTag, Category.Trigger)] - public class CheckNameTag : IValidate/*, ICodeFix, ICompare*/ + internal class CheckNameTag : IValidate/*, ICodeFix, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Triggers/Trigger/On/CheckIdAttribute.cs b/Protocol/Tests/Protocol/Triggers/Trigger/On/CheckIdAttribute.cs index 39b723ef..0af60448 100644 --- a/Protocol/Tests/Protocol/Triggers/Trigger/On/CheckIdAttribute.cs +++ b/Protocol/Tests/Protocol/Triggers/Trigger/On/CheckIdAttribute.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.On.CheckIdAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckIdAttribute, Category.Trigger)] - public class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckIdAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Triggers/Trigger/Time/CheckTimeTag.cs b/Protocol/Tests/Protocol/Triggers/Trigger/Time/CheckTimeTag.cs index 00af9571..01bc70f7 100644 --- a/Protocol/Tests/Protocol/Triggers/Trigger/Time/CheckTimeTag.cs +++ b/Protocol/Tests/Protocol/Triggers/Trigger/Time/CheckTimeTag.cs @@ -15,7 +15,7 @@ namespace SLDisValidator2.Tests.Protocol.Triggers.Trigger.Time.CheckTimeTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckTimeTag, Category.Trigger)] - public class CheckTimeTag : IValidate + internal class CheckTimeTag : IValidate { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Type/CheckAdvancedAttribute.cs b/Protocol/Tests/Protocol/Type/CheckAdvancedAttribute.cs index 5a8e555b..2431cf17 100644 --- a/Protocol/Tests/Protocol/Type/CheckAdvancedAttribute.cs +++ b/Protocol/Tests/Protocol/Type/CheckAdvancedAttribute.cs @@ -13,7 +13,7 @@ namespace SLDisValidator2.Tests.Protocol.Type.CheckAdvancedAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckAdvancedAttribute, Category.Protocol)] - public class CheckAdvancedAttribute : IValidate, ICodeFix/*, ICompare*/ + internal class CheckAdvancedAttribute : IValidate, ICodeFix/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Type/CheckDatabaseOptionsAttribute.cs b/Protocol/Tests/Protocol/Type/CheckDatabaseOptionsAttribute.cs index 3970ee8b..d6abf28f 100644 --- a/Protocol/Tests/Protocol/Type/CheckDatabaseOptionsAttribute.cs +++ b/Protocol/Tests/Protocol/Type/CheckDatabaseOptionsAttribute.cs @@ -10,7 +10,7 @@ namespace SLDisValidator2.Tests.Protocol.Type.CheckDatabaseOptionsAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckDatabaseOptionsAttribute, Category.Protocol)] - public class CheckDatabaseOptionsAttribute : /*IValidate, ICodeFix, */ICompare + internal class CheckDatabaseOptionsAttribute : /*IValidate, ICodeFix, */ICompare { ////public List Validate(ValidatorContext context) ////{ diff --git a/Protocol/Tests/Protocol/Type/CheckOptionsAttribute.cs b/Protocol/Tests/Protocol/Type/CheckOptionsAttribute.cs index cee6cac7..14f18a7c 100644 --- a/Protocol/Tests/Protocol/Type/CheckOptionsAttribute.cs +++ b/Protocol/Tests/Protocol/Type/CheckOptionsAttribute.cs @@ -16,7 +16,7 @@ namespace SLDisValidator2.Tests.Protocol.Type.CheckOptionsAttribute using SLDisValidator2.Interfaces; [Test(CheckId.CheckOptionsAttribute, Category.Protocol)] - public class CheckOptionsAttribute : IValidate, ICodeFix, ICompare + internal class CheckOptionsAttribute : IValidate, ICodeFix, ICompare { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Type/CheckTypeTag.cs b/Protocol/Tests/Protocol/Type/CheckTypeTag.cs index 6f528d32..1344d68b 100644 --- a/Protocol/Tests/Protocol/Type/CheckTypeTag.cs +++ b/Protocol/Tests/Protocol/Type/CheckTypeTag.cs @@ -14,7 +14,7 @@ using SLDisValidator2.Interfaces; [Test(CheckId.CheckTypeTag, Category.Protocol)] - public class CheckTypeTag : IValidate/*, ICompare*/ + internal class CheckTypeTag : IValidate/*, ICompare*/ { public List Validate(ValidatorContext context) { diff --git a/Protocol/Tests/Protocol/Version/CheckVersionTag.cs b/Protocol/Tests/Protocol/Version/CheckVersionTag.cs index fe1eb672..fa619d6a 100644 --- a/Protocol/Tests/Protocol/Version/CheckVersionTag.cs +++ b/Protocol/Tests/Protocol/Version/CheckVersionTag.cs @@ -12,7 +12,7 @@ namespace SLDisValidator2.Tests.Protocol.Version.CheckVersionTag using SLDisValidator2.Interfaces; [Test(CheckId.CheckVersionTag, Category.Protocol)] - public class CheckVersionTag : IValidate, ICodeFix + internal class CheckVersionTag : IValidate, ICodeFix { public List Validate(ValidatorContext context) { diff --git a/Protocol/Validator.cs b/Protocol/Validator.cs index 00974537..1c80be4c 100644 --- a/Protocol/Validator.cs +++ b/Protocol/Validator.cs @@ -16,6 +16,7 @@ public class Validator : IValidator { + /// public IList RunValidate(IProtocolInputData input, ValidatorSettings validatorSettings, CancellationToken cancellationToken) { var results = new List(); @@ -109,6 +110,7 @@ private static IList ValidateProtocol(IProtocolInputData inpu return results; } + /// public IList RunCompare(IProtocolInputData newData, IProtocolInputData oldData, ValidatorSettings validatorSettings, CancellationToken cancellationToken) { List results = new List(); @@ -147,6 +149,7 @@ public IList RunCompare(IProtocolInputData newData, IProtocol return results; } + /// public ICodeFixResult ExecuteCodeFix(Skyline.DataMiner.CICD.Parsers.Common.XmlEdit.XmlDocument document, Skyline.DataMiner.CICD.Models.Protocol.Edit.Protocol protocol, IValidationResult result, ValidatorSettings validatorSettings) { if (document == null)