Browse Source

Sealed It

pull/206/head
Sebastian Stehle 8 years ago
parent
commit
5e82c66e73
  1. 2
      src/Squidex.Domain.Apps.Entities/Apps/AppDomainObject.cs
  2. 2
      src/Squidex.Domain.Apps.Entities/Assets/AssetDomainObject.cs
  3. 2
      src/Squidex.Domain.Apps.Entities/Contents/ContentDomainObject.cs
  4. 2
      src/Squidex.Domain.Apps.Entities/Rules/RuleDomainObject.cs
  5. 4
      src/Squidex.Domain.Apps.Entities/Schemas/SchemaDomainObject.cs

2
src/Squidex.Domain.Apps.Entities/Apps/AppDomainObject.cs

@ -19,7 +19,7 @@ using Squidex.Infrastructure.Reflection;
namespace Squidex.Domain.Apps.Entities.Apps
{
public class AppDomainObject : DomainObjectBase<AppState>
public sealed class AppDomainObject : DomainObjectBase<AppState>
{
public AppDomainObject Create(CreateApp command)
{

2
src/Squidex.Domain.Apps.Entities/Assets/AssetDomainObject.cs

@ -16,7 +16,7 @@ using Squidex.Infrastructure.Reflection;
namespace Squidex.Domain.Apps.Entities.Assets
{
public class AssetDomainObject : DomainObjectBase<AssetState>
public sealed class AssetDomainObject : DomainObjectBase<AssetState>
{
public AssetDomainObject Create(CreateAsset command)
{

2
src/Squidex.Domain.Apps.Entities/Contents/ContentDomainObject.cs

@ -17,7 +17,7 @@ using Squidex.Infrastructure.Reflection;
namespace Squidex.Domain.Apps.Entities.Contents
{
public class ContentDomainObject : DomainObjectBase<ContentState>
public sealed class ContentDomainObject : DomainObjectBase<ContentState>
{
public ContentDomainObject Create(CreateContent command)
{

2
src/Squidex.Domain.Apps.Entities/Rules/RuleDomainObject.cs

@ -16,7 +16,7 @@ using Squidex.Infrastructure.Reflection;
namespace Squidex.Domain.Apps.Entities.Rules
{
public class RuleDomainObject : DomainObjectBase<RuleState>
public sealed class RuleDomainObject : DomainObjectBase<RuleState>
{
public void Create(CreateRule command)
{

4
src/Squidex.Domain.Apps.Entities/Schemas/SchemaDomainObject.cs

@ -19,7 +19,7 @@ using Squidex.Infrastructure.Reflection;
namespace Squidex.Domain.Apps.Entities.Schemas
{
public class SchemaDomainObject : DomainObjectBase<SchemaState>
public sealed class SchemaDomainObject : DomainObjectBase<SchemaState>
{
private readonly FieldRegistry registry;
@ -179,7 +179,7 @@ namespace Squidex.Domain.Apps.Entities.Schemas
return this;
}
protected void RaiseEvent(FieldCommand fieldCommand, FieldEvent @event)
private void RaiseEvent(FieldCommand fieldCommand, FieldEvent @event)
{
SimpleMapper.Map(fieldCommand, @event);

Loading…
Cancel
Save