Adds editorconfig and refactors to the established rules

This commit is contained in:
BinaryAlley committed 2024-09-23 16:48:48 +03:00
1 parent 712a0f2b27
commit cd44f11d9e
138 files changed
+1799 -1629

No files matched your search

@@ -21,8 +21,8 @@ public abstract class AggregateRoot<TId> : Entity<TId> where TId : notnull
/// Initializes a new instance of the <see cref="AggregateRoot{TId}"/> class.
/// </summary>
protected AggregateRoot() // only needed during reflection
{
{
}
#pragma warning restore CS8618
#endregion
@@ -42,8 +42,8 @@ public abstract class Entity<TId> : IEquatable<Entity<TId>> where TId : notnull
/// Initializes a new instance of the <see cref="Entity{TId}"/> class.
/// </summary>
protected Entity() // only needed during reflection
{
{
}
#pragma warning restore CS8618
#endregion
@@ -37,7 +37,7 @@ public abstract class ValueObject : IEquatable<ValueObject>
{
if (obj is null || obj.GetType() != GetType())
return false;
var valueObject = (ValueObject)obj;
ValueObject valueObject = (ValueObject)obj;
return GetEqualityComponents().SequenceEqual(valueObject.GetEqualityComponents());
}