diff --git a/CodeAnalysis.ruleset b/CodeAnalysis.ruleset index f0ee557e..efd50562 100644 --- a/CodeAnalysis.ruleset +++ b/CodeAnalysis.ruleset @@ -236,12 +236,10 @@ - + - - - + \ No newline at end of file diff --git a/Lawo.EmberPlusSharp/Ember/FieldPath.cs b/Lawo.EmberPlusSharp/Ember/FieldPath`2.cs similarity index 100% rename from Lawo.EmberPlusSharp/Ember/FieldPath.cs rename to Lawo.EmberPlusSharp/Ember/FieldPath`2.cs diff --git a/Lawo.EmberPlusSharp/Ember/Field.cs b/Lawo.EmberPlusSharp/Ember/Field`2.cs similarity index 100% rename from Lawo.EmberPlusSharp/Ember/Field.cs rename to Lawo.EmberPlusSharp/Ember/Field`2.cs diff --git a/Lawo.EmberPlusSharp/Lawo.EmberPlusSharp.csproj b/Lawo.EmberPlusSharp/Lawo.EmberPlusSharp.csproj index c58779f1..d4a4ff24 100644 --- a/Lawo.EmberPlusSharp/Lawo.EmberPlusSharp.csproj +++ b/Lawo.EmberPlusSharp/Lawo.EmberPlusSharp.csproj @@ -68,8 +68,8 @@ - - + + @@ -98,23 +98,23 @@ - - - - - - - - + + + + + + + + - + - - + + @@ -126,38 +126,38 @@ - + - - - - + + + + - - + + - + - - + + - - - - - + + + + + - + - - - - + + + + @@ -177,39 +177,39 @@ - + - - + + - + - + - + - - + + - + - + @@ -250,7 +250,7 @@ Designer - + stylecop.json diff --git a/Lawo.EmberPlusSharp/Model/CollectionNode.cs b/Lawo.EmberPlusSharp/Model/CollectionNode`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/CollectionNode.cs rename to Lawo.EmberPlusSharp/Model/CollectionNode`1.cs diff --git a/Lawo.EmberPlusSharp/Model/Consumer.cs b/Lawo.EmberPlusSharp/Model/Consumer`1.cs similarity index 98% rename from Lawo.EmberPlusSharp/Model/Consumer.cs rename to Lawo.EmberPlusSharp/Model/Consumer`1.cs index fb33ae7b..56a061b4 100644 --- a/Lawo.EmberPlusSharp/Model/Consumer.cs +++ b/Lawo.EmberPlusSharp/Model/Consumer`1.cs @@ -150,6 +150,7 @@ public static Task> CreateAsync(S101Client client, int timeout, /// All changes to the object tree are reported by raising the /// event of the affected objects. /// + [SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1625:Element documentation must not be copied and pasted", Justification = "Intended, both exceptions can be thrown under the same circumstances.")] [SuppressMessage("Microsoft.Design", "CA1000:DoNotDeclareStaticMembersOnGenericTypes", Justification = "There's no other way.")] public static async Task> CreateAsync( S101Client client, int timeout, ChildrenRetrievalPolicy childrenRetrievalPolicy, byte slot) @@ -190,6 +191,7 @@ public Task SendChangesAsync() /// Also retrieves the children of any objects implementing that have had their /// property set to a value other than /// ChildrenRetrievalPolicy.None. + [SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1625:Element documentation must not be copied and pasted", Justification = "Intended, both exceptions can be thrown under the same circumstances.")] public async Task SendAsync() { if (await this.SendCoreAsync()) diff --git a/Lawo.EmberPlusSharp/Model/DynamicFieldNode.cs b/Lawo.EmberPlusSharp/Model/DynamicFieldNode`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/DynamicFieldNode.cs rename to Lawo.EmberPlusSharp/Model/DynamicFieldNode`1.cs diff --git a/Lawo.EmberPlusSharp/Model/DynamicNodeBase.cs b/Lawo.EmberPlusSharp/Model/DynamicNodeBase`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/DynamicNodeBase.cs rename to Lawo.EmberPlusSharp/Model/DynamicNodeBase`1.cs diff --git a/Lawo.EmberPlusSharp/Model/DynamicRoot.cs b/Lawo.EmberPlusSharp/Model/DynamicRoot`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/DynamicRoot.cs rename to Lawo.EmberPlusSharp/Model/DynamicRoot`1.cs diff --git a/Lawo.EmberPlusSharp/Model/ElementWithSchemas.cs b/Lawo.EmberPlusSharp/Model/ElementWithSchemas`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/ElementWithSchemas.cs rename to Lawo.EmberPlusSharp/Model/ElementWithSchemas`1.cs diff --git a/Lawo.EmberPlusSharp/Model/Element1.cs b/Lawo.EmberPlusSharp/Model/Element`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Element1.cs rename to Lawo.EmberPlusSharp/Model/Element`1.cs diff --git a/Lawo.EmberPlusSharp/Model/EnumParameterImpl.cs b/Lawo.EmberPlusSharp/Model/EnumParameterImpl`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/EnumParameterImpl.cs rename to Lawo.EmberPlusSharp/Model/EnumParameterImpl`1.cs diff --git a/Lawo.EmberPlusSharp/Model/EnumParameter.cs b/Lawo.EmberPlusSharp/Model/EnumParameter`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/EnumParameter.cs rename to Lawo.EmberPlusSharp/Model/EnumParameter`1.cs diff --git a/Lawo.EmberPlusSharp/Model/FieldNode.cs b/Lawo.EmberPlusSharp/Model/FieldNode`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/FieldNode.cs rename to Lawo.EmberPlusSharp/Model/FieldNode`1.cs diff --git a/Lawo.EmberPlusSharp/Model/FunctionBase.cs b/Lawo.EmberPlusSharp/Model/FunctionBase`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/FunctionBase.cs rename to Lawo.EmberPlusSharp/Model/FunctionBase`1.cs diff --git a/Lawo.EmberPlusSharp/Model/Function.cs b/Lawo.EmberPlusSharp/Model/Function`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Function.cs rename to Lawo.EmberPlusSharp/Model/Function`1.cs diff --git a/Lawo.EmberPlusSharp/Model/Function1.cs b/Lawo.EmberPlusSharp/Model/Function`2.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Function1.cs rename to Lawo.EmberPlusSharp/Model/Function`2.cs diff --git a/Lawo.EmberPlusSharp/Model/Function2.cs b/Lawo.EmberPlusSharp/Model/Function`3.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Function2.cs rename to Lawo.EmberPlusSharp/Model/Function`3.cs diff --git a/Lawo.EmberPlusSharp/Model/Function3.cs b/Lawo.EmberPlusSharp/Model/Function`4.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Function3.cs rename to Lawo.EmberPlusSharp/Model/Function`4.cs diff --git a/Lawo.EmberPlusSharp/Model/Function4.cs b/Lawo.EmberPlusSharp/Model/Function`5.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Function4.cs rename to Lawo.EmberPlusSharp/Model/Function`5.cs diff --git a/Lawo.EmberPlusSharp/Model/Function5.cs b/Lawo.EmberPlusSharp/Model/Function`6.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Function5.cs rename to Lawo.EmberPlusSharp/Model/Function`6.cs diff --git a/Lawo.EmberPlusSharp/Model/Function6.cs b/Lawo.EmberPlusSharp/Model/Function`7.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Function6.cs rename to Lawo.EmberPlusSharp/Model/Function`7.cs diff --git a/Lawo.EmberPlusSharp/Model/MatrixParameters.cs b/Lawo.EmberPlusSharp/Model/MatrixParameters`3.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/MatrixParameters.cs rename to Lawo.EmberPlusSharp/Model/MatrixParameters`3.cs diff --git a/Lawo.EmberPlusSharp/Model/Matrix.cs b/Lawo.EmberPlusSharp/Model/Matrix`3.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Matrix.cs rename to Lawo.EmberPlusSharp/Model/Matrix`3.cs diff --git a/Lawo.EmberPlusSharp/Model/NodeBase.cs b/Lawo.EmberPlusSharp/Model/NodeBase`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/NodeBase.cs rename to Lawo.EmberPlusSharp/Model/NodeBase`1.cs diff --git a/Lawo.EmberPlusSharp/Model/Node.cs b/Lawo.EmberPlusSharp/Model/Node`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Node.cs rename to Lawo.EmberPlusSharp/Model/Node`1.cs diff --git a/Lawo.EmberPlusSharp/Model/NullableEnumParameter.cs b/Lawo.EmberPlusSharp/Model/NullableEnumParameter`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/NullableEnumParameter.cs rename to Lawo.EmberPlusSharp/Model/NullableEnumParameter`1.cs diff --git a/Lawo.EmberPlusSharp/Model/NullableNumericParameter.cs b/Lawo.EmberPlusSharp/Model/NullableNumericParameter`2.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/NullableNumericParameter.cs rename to Lawo.EmberPlusSharp/Model/NullableNumericParameter`2.cs diff --git a/Lawo.EmberPlusSharp/Model/NullableParameter.cs b/Lawo.EmberPlusSharp/Model/NullableParameter`2.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/NullableParameter.cs rename to Lawo.EmberPlusSharp/Model/NullableParameter`2.cs diff --git a/Lawo.EmberPlusSharp/Model/NumericParameter.cs b/Lawo.EmberPlusSharp/Model/NumericParameter`2.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/NumericParameter.cs rename to Lawo.EmberPlusSharp/Model/NumericParameter`2.cs diff --git a/Lawo.EmberPlusSharp/Model/ParameterBase.cs b/Lawo.EmberPlusSharp/Model/ParameterBase`2.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/ParameterBase.cs rename to Lawo.EmberPlusSharp/Model/ParameterBase`2.cs diff --git a/Lawo.EmberPlusSharp/Model/Parameter.cs b/Lawo.EmberPlusSharp/Model/Parameter`2.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Parameter.cs rename to Lawo.EmberPlusSharp/Model/Parameter`2.cs diff --git a/Lawo.EmberPlusSharp/Model/ReferenceParameter.cs b/Lawo.EmberPlusSharp/Model/ReferenceParameter`2.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/ReferenceParameter.cs rename to Lawo.EmberPlusSharp/Model/ReferenceParameter`2.cs diff --git a/Lawo.EmberPlusSharp/Model/ResultBase.cs b/Lawo.EmberPlusSharp/Model/ResultBase`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/ResultBase.cs rename to Lawo.EmberPlusSharp/Model/ResultBase`1.cs diff --git a/Lawo.EmberPlusSharp/Model/Result1.cs b/Lawo.EmberPlusSharp/Model/Result`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Result1.cs rename to Lawo.EmberPlusSharp/Model/Result`1.cs diff --git a/Lawo.EmberPlusSharp/Model/Result2.cs b/Lawo.EmberPlusSharp/Model/Result`2.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Result2.cs rename to Lawo.EmberPlusSharp/Model/Result`2.cs diff --git a/Lawo.EmberPlusSharp/Model/Result3.cs b/Lawo.EmberPlusSharp/Model/Result`3.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Result3.cs rename to Lawo.EmberPlusSharp/Model/Result`3.cs diff --git a/Lawo.EmberPlusSharp/Model/Result4.cs b/Lawo.EmberPlusSharp/Model/Result`4.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Result4.cs rename to Lawo.EmberPlusSharp/Model/Result`4.cs diff --git a/Lawo.EmberPlusSharp/Model/Result5.cs b/Lawo.EmberPlusSharp/Model/Result`5.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Result5.cs rename to Lawo.EmberPlusSharp/Model/Result`5.cs diff --git a/Lawo.EmberPlusSharp/Model/Result6.cs b/Lawo.EmberPlusSharp/Model/Result`6.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Result6.cs rename to Lawo.EmberPlusSharp/Model/Result`6.cs diff --git a/Lawo.EmberPlusSharp/Model/Root.cs b/Lawo.EmberPlusSharp/Model/Root`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/Root.cs rename to Lawo.EmberPlusSharp/Model/Root`1.cs diff --git a/Lawo.EmberPlusSharp/Model/StaticFunction.cs b/Lawo.EmberPlusSharp/Model/StaticFunction`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/StaticFunction.cs rename to Lawo.EmberPlusSharp/Model/StaticFunction`1.cs diff --git a/Lawo.EmberPlusSharp/Model/ValueParameter.cs b/Lawo.EmberPlusSharp/Model/ValueParameter`2.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/ValueParameter.cs rename to Lawo.EmberPlusSharp/Model/ValueParameter`2.cs diff --git a/Lawo.EmberPlusSharp/Model/ValueReader.cs b/Lawo.EmberPlusSharp/Model/ValueReader`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/ValueReader.cs rename to Lawo.EmberPlusSharp/Model/ValueReader`1.cs diff --git a/Lawo.EmberPlusSharp/Model/ValueWriter.cs b/Lawo.EmberPlusSharp/Model/ValueWriter`1.cs similarity index 100% rename from Lawo.EmberPlusSharp/Model/ValueWriter.cs rename to Lawo.EmberPlusSharp/Model/ValueWriter`1.cs diff --git a/Lawo.EmberPlusSharp/S101/S101Client.cs b/Lawo.EmberPlusSharp/S101/S101Client.cs index c4955bc8..c83e74eb 100644 --- a/Lawo.EmberPlusSharp/S101/S101Client.cs +++ b/Lawo.EmberPlusSharp/S101/S101Client.cs @@ -238,6 +238,7 @@ public Task SendMessageAsync(S101Message message) /// event has been raised. /// has been called or the /// event has been raised. + [SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1625:Element documentation must not be copied and pasted", Justification = "Intended, both exceptions can be thrown under the same circumstances.")] public Task SendMessageAsync(S101Message message, byte[] payload) { this.AssertPreconditions(); diff --git a/Lawo.EmberPlusSharpTest/Lawo.EmberPlusSharpTest.csproj b/Lawo.EmberPlusSharpTest/Lawo.EmberPlusSharpTest.csproj index 7a79b75c..d09a6bd3 100644 --- a/Lawo.EmberPlusSharpTest/Lawo.EmberPlusSharpTest.csproj +++ b/Lawo.EmberPlusSharpTest/Lawo.EmberPlusSharpTest.csproj @@ -91,14 +91,14 @@ - + - + @@ -114,7 +114,7 @@ - + diff --git a/Lawo.EmberPlusSharpTest/Model/DynamicNodeHelper.cs b/Lawo.EmberPlusSharpTest/Model/DynamicHelper.cs similarity index 100% rename from Lawo.EmberPlusSharpTest/Model/DynamicNodeHelper.cs rename to Lawo.EmberPlusSharpTest/Model/DynamicHelper.cs diff --git a/Lawo.EmberPlusSharpTest/Model/Test/ChangeNotificationRoot.cs b/Lawo.EmberPlusSharpTest/Model/Test/BooleanRoot.cs similarity index 100% rename from Lawo.EmberPlusSharpTest/Model/Test/ChangeNotificationRoot.cs rename to Lawo.EmberPlusSharpTest/Model/Test/BooleanRoot.cs diff --git a/Lawo.EmberPlusSharpTest/Model/Test/InterfaceElementRoot.cs b/Lawo.EmberPlusSharpTest/Model/Test/InterfaceElementRoot`1.cs similarity index 100% rename from Lawo.EmberPlusSharpTest/Model/Test/InterfaceElementRoot.cs rename to Lawo.EmberPlusSharpTest/Model/Test/InterfaceElementRoot`1.cs diff --git a/Lawo.UnitTesting/Activator.cs b/Lawo.UnitTesting/Activator`1.cs similarity index 100% rename from Lawo.UnitTesting/Activator.cs rename to Lawo.UnitTesting/Activator`1.cs diff --git a/Lawo.UnitTesting/Lawo.UnitTesting.csproj b/Lawo.UnitTesting/Lawo.UnitTesting.csproj index 0fb52245..3f36741d 100644 --- a/Lawo.UnitTesting/Lawo.UnitTesting.csproj +++ b/Lawo.UnitTesting/Lawo.UnitTesting.csproj @@ -51,7 +51,7 @@ Properties\SharedAssemblyInfo.cs - + @@ -67,7 +67,7 @@ - + stylecop.json diff --git a/Lawo/ComponentModel/Binding.cs b/Lawo/ComponentModel/Binding`4.cs similarity index 100% rename from Lawo/ComponentModel/Binding.cs rename to Lawo/ComponentModel/Binding`4.cs diff --git a/Lawo/ComponentModel/CalculatedProperty1.cs b/Lawo/ComponentModel/CalculatedProperty`1.cs similarity index 100% rename from Lawo/ComponentModel/CalculatedProperty1.cs rename to Lawo/ComponentModel/CalculatedProperty`1.cs diff --git a/Lawo/ComponentModel/ChangeOriginatedAtEventArgs.cs b/Lawo/ComponentModel/ChangeOriginatedAtEventArgs`2.cs similarity index 100% rename from Lawo/ComponentModel/ChangeOriginatedAtEventArgs.cs rename to Lawo/ComponentModel/ChangeOriginatedAtEventArgs`2.cs diff --git a/Lawo/ComponentModel/DisposableReadOnlyObservableCollection.cs b/Lawo/ComponentModel/DisposableReadOnlyObservableCollection`1.cs similarity index 100% rename from Lawo/ComponentModel/DisposableReadOnlyObservableCollection.cs rename to Lawo/ComponentModel/DisposableReadOnlyObservableCollection`1.cs diff --git a/Lawo/ComponentModel/MultiBinding1.cs b/Lawo/ComponentModel/MultiBinding`1.cs similarity index 100% rename from Lawo/ComponentModel/MultiBinding1.cs rename to Lawo/ComponentModel/MultiBinding`1.cs diff --git a/Lawo/ComponentModel/SubscribedObservableCollection.cs b/Lawo/ComponentModel/SubscribedObservableCollection`1.cs similarity index 100% rename from Lawo/ComponentModel/SubscribedObservableCollection.cs rename to Lawo/ComponentModel/SubscribedObservableCollection`1.cs diff --git a/Lawo/Lawo.csproj b/Lawo/Lawo.csproj index 216cea59..dedb5ef2 100644 --- a/Lawo/Lawo.csproj +++ b/Lawo/Lawo.csproj @@ -55,20 +55,20 @@ Properties\SharedAssemblyInfo.cs - - + + - - - + + + - + @@ -93,11 +93,11 @@ - - + + - + @@ -110,7 +110,7 @@ - + stylecop.json diff --git a/Lawo/Reflection/IProperty.cs b/Lawo/Reflection/IProperty`1.cs similarity index 100% rename from Lawo/Reflection/IProperty.cs rename to Lawo/Reflection/IProperty`1.cs diff --git a/Lawo/Reflection/IProperty2.cs b/Lawo/Reflection/IProperty`2.cs similarity index 100% rename from Lawo/Reflection/IProperty2.cs rename to Lawo/Reflection/IProperty`2.cs diff --git a/Lawo/ScopeGuard1.cs b/Lawo/ScopeGuard`1.cs similarity index 100% rename from Lawo/ScopeGuard1.cs rename to Lawo/ScopeGuard`1.cs diff --git a/stylecop.json b/stylecop.json index 466884dc..94b42c60 100644 --- a/stylecop.json +++ b/stylecop.json @@ -11,9 +11,10 @@ ] }, "documentationRules": { + "fileNamingConvention": "metadata", + "copyrightText": "Copyright 2012-2016 Lawo AG (http://www.lawo.com).", "documentInterfaces": false, - "documentInternalElements": false, - "copyrightText": "Copyright 2012-2016 Lawo AG (http://www.lawo.com)." + "documentInternalElements": false } } }