Browse Source

Renames

pull/1/head
Sebastian 9 years ago
parent
commit
a8b6892550
  1. 24
      Squidex.sln
  2. 4
      Squidex.sln.DotSettings
  3. 4
      cfg/config.js
  4. 10
      src/Squidex.Core/Schemas/Field.cs
  5. 8
      src/Squidex.Core/Schemas/FieldProperties.cs
  6. 8
      src/Squidex.Core/Schemas/FieldRegistry.cs
  7. 8
      src/Squidex.Core/Schemas/Field_Generic.cs
  8. 6
      src/Squidex.Core/Schemas/IRegisteredField.cs
  9. 6
      src/Squidex.Core/Schemas/NamedElementProperties.cs
  10. 10
      src/Squidex.Core/Schemas/NumberField.cs
  11. 8
      src/Squidex.Core/Schemas/NumberFieldProperties.cs
  12. 8
      src/Squidex.Core/Schemas/Schema.cs
  13. 6
      src/Squidex.Core/Schemas/SchemaProperties.cs
  14. 2
      src/Squidex.Core/Squidex.Core.xproj
  15. 4
      src/Squidex.Core/project.json
  16. 8
      src/Squidex.Events/AppEvent.cs
  17. 10
      src/Squidex.Events/Apps/AppCreated.cs
  18. 12
      src/Squidex.Events/Schemas/FieldAdded.cs
  19. 10
      src/Squidex.Events/Schemas/FieldDeleted.cs
  20. 10
      src/Squidex.Events/Schemas/FieldDisabled.cs
  21. 10
      src/Squidex.Events/Schemas/FieldEnabled.cs
  22. 10
      src/Squidex.Events/Schemas/FieldHidden.cs
  23. 10
      src/Squidex.Events/Schemas/FieldShown.cs
  24. 12
      src/Squidex.Events/Schemas/FieldUpdated.cs
  25. 10
      src/Squidex.Events/Schemas/SchemaCreated.cs
  26. 10
      src/Squidex.Events/Schemas/SchemaDeleted.cs
  27. 12
      src/Squidex.Events/Schemas/SchemaUpdated.cs
  28. 2
      src/Squidex.Events/Squidex.Events.xproj
  29. 6
      src/Squidex.Events/project.json
  30. 8
      src/Squidex.Infrastructure/CQRS/Autofac/AutofacDomainObjectFactory.cs
  31. 6
      src/Squidex.Infrastructure/CQRS/Commands/AggregateCommand.cs
  32. 6
      src/Squidex.Infrastructure/CQRS/Commands/CommandContext.cs
  33. 6
      src/Squidex.Infrastructure/CQRS/Commands/CommandHandler.cs
  34. 6
      src/Squidex.Infrastructure/CQRS/Commands/CommandingExtensions.cs
  35. 6
      src/Squidex.Infrastructure/CQRS/Commands/IAggregateCommand.cs
  36. 6
      src/Squidex.Infrastructure/CQRS/Commands/ICommand.cs
  37. 6
      src/Squidex.Infrastructure/CQRS/Commands/ICommandBus.cs
  38. 6
      src/Squidex.Infrastructure/CQRS/Commands/ICommandHandler.cs
  39. 6
      src/Squidex.Infrastructure/CQRS/Commands/IDomainObjectFactory.cs
  40. 6
      src/Squidex.Infrastructure/CQRS/Commands/IDomainObjectRepository.cs
  41. 6
      src/Squidex.Infrastructure/CQRS/Commands/InMemoryCommandBus.cs
  42. 6
      src/Squidex.Infrastructure/CQRS/CommonHeaders.cs
  43. 8
      src/Squidex.Infrastructure/CQRS/DomainObject.cs
  44. 6
      src/Squidex.Infrastructure/CQRS/Envelope.cs
  45. 6
      src/Squidex.Infrastructure/CQRS/EnvelopeExtensions.cs
  46. 8
      src/Squidex.Infrastructure/CQRS/EnvelopeFactory.cs
  47. 6
      src/Squidex.Infrastructure/CQRS/EnvelopeHeaders.cs
  48. 6
      src/Squidex.Infrastructure/CQRS/EventStore/DefaultNameResolver.cs
  49. 8
      src/Squidex.Infrastructure/CQRS/EventStore/EventStoreBus.cs
  50. 8
      src/Squidex.Infrastructure/CQRS/EventStore/EventStoreDomainObjectRepository.cs
  51. 8
      src/Squidex.Infrastructure/CQRS/EventStore/EventStoreFormatter.cs
  52. 6
      src/Squidex.Infrastructure/CQRS/EventStore/IStreamNameResolver.cs
  53. 6
      src/Squidex.Infrastructure/CQRS/EventStore/IStreamPositionStorage.cs
  54. 6
      src/Squidex.Infrastructure/CQRS/Events/ICatchEventConsumer.cs
  55. 6
      src/Squidex.Infrastructure/CQRS/Events/IEvent.cs
  56. 6
      src/Squidex.Infrastructure/CQRS/Events/IEventConsumer.cs
  57. 6
      src/Squidex.Infrastructure/CQRS/Events/ILiveEventConsumer.cs
  58. 8
      src/Squidex.Infrastructure/CQRS/IAggregate.cs
  59. 6
      src/Squidex.Infrastructure/CQRS/IAppAggregate.cs
  60. 6
      src/Squidex.Infrastructure/CollectionExtensions.cs
  61. 6
      src/Squidex.Infrastructure/Dispatching/ActionContextDispatcher.cs
  62. 6
      src/Squidex.Infrastructure/Dispatching/ActionContextDispatcherFactory.cs
  63. 6
      src/Squidex.Infrastructure/Dispatching/ActionDispatcher.cs
  64. 6
      src/Squidex.Infrastructure/Dispatching/ActionDispatcherFactory.cs
  65. 6
      src/Squidex.Infrastructure/Dispatching/DispatchExtensions.cs
  66. 6
      src/Squidex.Infrastructure/Dispatching/FuncContextDispatcher.cs
  67. 6
      src/Squidex.Infrastructure/Dispatching/FuncContextDispatcherFactory.cs
  68. 6
      src/Squidex.Infrastructure/Dispatching/FuncDispatcher.cs
  69. 6
      src/Squidex.Infrastructure/Dispatching/FuncDispatcherFactory.cs
  70. 6
      src/Squidex.Infrastructure/Dispatching/Helper.cs
  71. 6
      src/Squidex.Infrastructure/DomainException.cs
  72. 6
      src/Squidex.Infrastructure/DomainObjectDeletedException.cs
  73. 6
      src/Squidex.Infrastructure/DomainObjectException.cs
  74. 6
      src/Squidex.Infrastructure/DomainObjectNotFoundException.cs
  75. 6
      src/Squidex.Infrastructure/DomainObjectVersionException.cs
  76. 6
      src/Squidex.Infrastructure/EnumExtensions.cs
  77. 6
      src/Squidex.Infrastructure/Extensions.cs
  78. 6
      src/Squidex.Infrastructure/Guard.cs
  79. 6
      src/Squidex.Infrastructure/IValidatable.cs
  80. 6
      src/Squidex.Infrastructure/Json/PropertiesBagConverter.cs
  81. 6
      src/Squidex.Infrastructure/Json/TypeNameSerializationBinder.cs
  82. 6
      src/Squidex.Infrastructure/PropertiesBag.cs
  83. 6
      src/Squidex.Infrastructure/PropertyValue.cs
  84. 6
      src/Squidex.Infrastructure/Reflection/IPropertyAccessor.cs
  85. 6
      src/Squidex.Infrastructure/Reflection/PropertiesTypeAccessor.cs
  86. 6
      src/Squidex.Infrastructure/Reflection/PropertyAccessor.cs
  87. 6
      src/Squidex.Infrastructure/Reflection/ReflectionExtensions.cs
  88. 6
      src/Squidex.Infrastructure/Reflection/SimpleMapper.cs
  89. 2
      src/Squidex.Infrastructure/Squidex.Infrastructure.xproj
  90. 6
      src/Squidex.Infrastructure/Tasks/TaskExtensions.cs
  91. 6
      src/Squidex.Infrastructure/Tasks/TaskHelper.cs
  92. 6
      src/Squidex.Infrastructure/TypeNameAttribute.cs
  93. 6
      src/Squidex.Infrastructure/TypeNameRegistry.cs
  94. 6
      src/Squidex.Infrastructure/ValidationError.cs
  95. 6
      src/Squidex.Infrastructure/ValidationException.cs
  96. 6
      src/Squidex.Infrastructure/ValidationExtensions.cs
  97. 2
      src/Squidex.Infrastructure/project.json
  98. 6
      src/Squidex.Read/Apps/IAppEntity.cs
  99. 6
      src/Squidex.Read/Apps/Repositories/IAppRepository.cs
  100. 6
      src/Squidex.Read/Apps/Services/IAppProvider.cs

24
Squidex.sln

@ -10,29 +10,29 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
global.json = global.json global.json = global.json
EndProjectSection EndProjectSection
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "PinkParrot", "src\PinkParrot\PinkParrot.xproj", "{61F6BBCE-A080-4400-B194-70E2F5D2096E}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Squidex", "src\Squidex\Squidex.xproj", "{61F6BBCE-A080-4400-B194-70E2F5D2096E}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "pinkparrot_infrastructure", "pinkparrot_infrastructure", "{8CF53B92-5EB1-461D-98F8-70DA9B603FBF}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "squidex_infrastructure", "squidex_infrastructure", "{8CF53B92-5EB1-461D-98F8-70DA9B603FBF}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "pinkparrot_domain", "pinkparrot_domain", "{4C6B06C2-6D77-4E0E-AE32-D7050236433A}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "squidex_domain", "squidex_domain", "{4C6B06C2-6D77-4E0E-AE32-D7050236433A}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "PinkParrot.Core", "src\PinkParrot.Core\PinkParrot.Core.xproj", "{47F3C27E-698B-4EDF-A7E8-D7F4232AFBB0}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Squidex.Core", "src\Squidex.Core\Squidex.Core.xproj", "{47F3C27E-698B-4EDF-A7E8-D7F4232AFBB0}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "PinkParrot.Infrastructure", "src\PinkParrot.Infrastructure\PinkParrot.Infrastructure.xproj", "{BD1C30A8-8FFA-4A92-A9BD-B67B1CDDD84C}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Squidex.Infrastructure", "src\Squidex.Infrastructure\Squidex.Infrastructure.xproj", "{BD1C30A8-8FFA-4A92-A9BD-B67B1CDDD84C}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "PinkParrot.Events", "src\PinkParrot.Events\PinkParrot.Events.xproj", "{25F66C64-058A-4D44-BC0C-F12A054F9A91}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Squidex.Events", "src\Squidex.Events\Squidex.Events.xproj", "{25F66C64-058A-4D44-BC0C-F12A054F9A91}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "PinkParrot.Write", "src\PinkParrot.Write\PinkParrot.Write.xproj", "{A85201C6-6AF8-4B63-8365-08F741050438}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Squidex.Write", "src\Squidex.Write\Squidex.Write.xproj", "{A85201C6-6AF8-4B63-8365-08F741050438}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "PinkParrot.Read", "src\PinkParrot.Read\PinkParrot.Read.xproj", "{A92B4734-2587-4F6F-97A3-741BE48709A5}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Squidex.Read", "src\Squidex.Read\Squidex.Read.xproj", "{A92B4734-2587-4F6F-97A3-741BE48709A5}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "PinkParrot.Store.MongoDb", "src\PinkParrot.Store.MongoDb\PinkParrot.Store.MongoDb.xproj", "{28F8E9E2-FE24-41F7-A888-9FC244A9E2DD}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Squidex.Store.MongoDb", "src\Squidex.Store.MongoDb\Squidex.Store.MongoDb.xproj", "{28F8E9E2-FE24-41F7-A888-9FC244A9E2DD}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "pinkparrot_store", "pinkparrot_store", "{4082AA58-D410-4C52-8E88-3B0A4E860B28}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "squidex_store", "squidex_store", "{4082AA58-D410-4C52-8E88-3B0A4E860B28}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "PinkParrot.Write.Tests", "tests\PinkParrot.Write.Tests\PinkParrot.Write.Tests.xproj", "{9A3DEA7E-1681-4D48-AC5C-1F0DE421A203}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Squidex.Write.Tests", "tests\Squidex.Write.Tests\Squidex.Write.Tests.xproj", "{9A3DEA7E-1681-4D48-AC5C-1F0DE421A203}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "PinkParrot.Infrastructure.Tests", "tests\PinkParrot.Infrastructure.Tests\PinkParrot.Infrastructure.Tests.xproj", "{7FD0A92B-7862-4BB1-932B-B52A9CACB56B}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Squidex.Infrastructure.Tests", "tests\Squidex.Infrastructure.Tests\Squidex.Infrastructure.Tests.xproj", "{7FD0A92B-7862-4BB1-932B-B52A9CACB56B}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

4
Squidex.sln.DotSettings

@ -40,9 +40,9 @@
<s:String x:Key="/Default/CodeStyle/CodeFormatting/JavaScriptCodeFormatting/QUOTE_STYLE/@EntryValue">SingleQuoted</s:String> <s:String x:Key="/Default/CodeStyle/CodeFormatting/JavaScriptCodeFormatting/QUOTE_STYLE/@EntryValue">SingleQuoted</s:String>
<s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderText/@EntryValue">==========================================================================&#xD; <s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderText/@EntryValue">==========================================================================&#xD;
$FILENAME$&#xD; $FILENAME$&#xD;
PinkParrot Headless CMS&#xD; Squidex Headless CMS&#xD;
==========================================================================&#xD; ==========================================================================&#xD;
Copyright (c) PinkParrot Group&#xD; Copyright (c) Squidex Group&#xD;
All rights reserved.&#xD; All rights reserved.&#xD;
==========================================================================</s:String> ==========================================================================</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateInstanceFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;</s:String> <s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateInstanceFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /&gt;</s:String>

4
cfg/config.js

@ -1,4 +1,4 @@
fromCategory('pinkparrot') fromCategory('squidex')
.whenAny(function(s,e) { .whenAny(function(s,e) {
linkTo('pinkparrot',e); linkTo('squidex',e);
}); });

10
src/Squidex.Core/Schemas/Field.cs

@ -1,21 +1,21 @@
// ========================================================================== // ==========================================================================
// Field.cs // Field.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
using PinkParrot.Infrastructure.Tasks; using Squidex.Infrastructure.Tasks;
// ReSharper disable InvertIf // ReSharper disable InvertIf
// ReSharper disable ConvertIfStatementToReturnStatement // ReSharper disable ConvertIfStatementToReturnStatement
namespace PinkParrot.Core.Schemas namespace Squidex.Core.Schemas
{ {
public abstract class Field public abstract class Field
{ {

8
src/Squidex.Core/Schemas/FieldProperties.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// FieldProperties.cs // FieldProperties.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System.Collections.Generic; using System.Collections.Generic;
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
namespace PinkParrot.Core.Schemas namespace Squidex.Core.Schemas
{ {
public abstract class FieldProperties : NamedElementProperties, IValidatable public abstract class FieldProperties : NamedElementProperties, IValidatable
{ {

8
src/Squidex.Core/Schemas/FieldRegistry.cs

@ -1,16 +1,16 @@
// ========================================================================== // ==========================================================================
// FieldRegistry.cs // FieldRegistry.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
namespace PinkParrot.Core.Schemas namespace Squidex.Core.Schemas
{ {
public delegate Field FactoryFunction(long id, string name, FieldProperties properties); public delegate Field FactoryFunction(long id, string name, FieldProperties properties);

8
src/Squidex.Core/Schemas/Field_Generic.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// Field_Generic.cs // Field_Generic.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
namespace PinkParrot.Core.Schemas namespace Squidex.Core.Schemas
{ {
public abstract class Field<T> : Field where T : FieldProperties public abstract class Field<T> : Field where T : FieldProperties
{ {

6
src/Squidex.Core/Schemas/IRegisteredField.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// IRegisteredField.cs // IRegisteredField.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Core.Schemas namespace Squidex.Core.Schemas
{ {
public interface IRegisteredField public interface IRegisteredField
{ {

6
src/Squidex.Core/Schemas/NamedElementProperties.cs

@ -1,11 +1,11 @@
// ========================================================================== // ==========================================================================
// NamedElementProperties.cs // NamedElementProperties.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
namespace PinkParrot.Core.Schemas namespace Squidex.Core.Schemas
{ {
public abstract class NamedElementProperties public abstract class NamedElementProperties
{ {

10
src/Squidex.Core/Schemas/NumberField.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// NumberField.cs // NumberField.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -11,10 +11,10 @@ using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
using PinkParrot.Infrastructure.Tasks; using Squidex.Infrastructure.Tasks;
namespace PinkParrot.Core.Schemas namespace Squidex.Core.Schemas
{ {
public sealed class NumberField : Field<NumberFieldProperties> public sealed class NumberField : Field<NumberFieldProperties>
{ {

8
src/Squidex.Core/Schemas/NumberFieldProperties.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// NumberFieldProperties.cs // NumberFieldProperties.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System.Collections.Generic; using System.Collections.Generic;
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
namespace PinkParrot.Core.Schemas namespace Squidex.Core.Schemas
{ {
[TypeName("number")] [TypeName("number")]
public sealed class NumberFieldProperties : FieldProperties public sealed class NumberFieldProperties : FieldProperties

8
src/Squidex.Core/Schemas/Schema.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// Schema.cs // Schema.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -11,11 +11,11 @@ using System.Collections.Generic;
using System.Collections.Immutable; using System.Collections.Immutable;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
// ReSharper disable InvertIf // ReSharper disable InvertIf
namespace PinkParrot.Core.Schemas namespace Squidex.Core.Schemas
{ {
public sealed class Schema public sealed class Schema
{ {

6
src/Squidex.Core/Schemas/SchemaProperties.cs

@ -1,11 +1,11 @@
// ========================================================================== // ==========================================================================
// SchemaProperties.cs // SchemaProperties.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
namespace PinkParrot.Core.Schemas namespace Squidex.Core.Schemas
{ {
public sealed class SchemaProperties : NamedElementProperties public sealed class SchemaProperties : NamedElementProperties
{ {

2
src/Squidex.Core/Squidex.Core.xproj

@ -7,7 +7,7 @@
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" /> <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>47f3c27e-698b-4edf-a7e8-d7f4232afbb0</ProjectGuid> <ProjectGuid>47f3c27e-698b-4edf-a7e8-d7f4232afbb0</ProjectGuid>
<RootNamespace>PinkParrot.Core</RootNamespace> <RootNamespace>Squidex.Core</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath> <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath> <OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
</PropertyGroup> </PropertyGroup>

4
src/Squidex.Core/project.json

@ -2,7 +2,7 @@
"dependencies": { "dependencies": {
"NETStandard.Library": "1.6.0", "NETStandard.Library": "1.6.0",
"NodaTime": "2.0.0-alpha20160729", "NodaTime": "2.0.0-alpha20160729",
"PinkParrot.Infrastructure": "1.0.0-*", "Squidex.Infrastructure": "1.0.0-*",
"protobuf-net": "2.1.0" "protobuf-net": "2.1.0"
}, },
"frameworks": { "frameworks": {
@ -16,7 +16,7 @@
} }
}, },
"tooling": { "tooling": {
"defaultNamespace": "PinkParrot.Core" "defaultNamespace": "Squidex.Core"
}, },
"version": "1.0.0-*" "version": "1.0.0-*"
} }

8
src/Squidex.Events/AppEvent.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// AppEvent.cs // AppEvent.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Events namespace Squidex.Events
{ {
public class AppEvent : IEvent public class AppEvent : IEvent
{ {

10
src/Squidex.Events/Apps/AppCreated.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// AppCreated.cs // AppCreated.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Events.Apps namespace Squidex.Events.Apps
{ {
[TypeName("AppCreated")] [TypeName("AppCreated")]
public class AppCreated : IEvent public class AppCreated : IEvent

12
src/Squidex.Events/Schemas/FieldAdded.cs

@ -1,16 +1,16 @@
// ========================================================================== // ==========================================================================
// FieldAdded.cs // FieldAdded.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using PinkParrot.Core.Schemas; using Squidex.Core.Schemas;
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Events.Schemas namespace Squidex.Events.Schemas
{ {
[TypeName("FieldAddedEvent")] [TypeName("FieldAddedEvent")]
public class FieldAdded : IEvent public class FieldAdded : IEvent

10
src/Squidex.Events/Schemas/FieldDeleted.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// FieldDeleted.cs // FieldDeleted.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Events.Schemas namespace Squidex.Events.Schemas
{ {
[TypeName("FieldDeletedEvent")] [TypeName("FieldDeletedEvent")]
public class FieldDeleted : IEvent public class FieldDeleted : IEvent

10
src/Squidex.Events/Schemas/FieldDisabled.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// FieldDisabled.cs // FieldDisabled.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Events.Schemas namespace Squidex.Events.Schemas
{ {
[TypeName("FieldDisabledEvent")] [TypeName("FieldDisabledEvent")]
public class FieldDisabled : IEvent public class FieldDisabled : IEvent

10
src/Squidex.Events/Schemas/FieldEnabled.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// FieldEnabled.cs // FieldEnabled.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Events.Schemas namespace Squidex.Events.Schemas
{ {
[TypeName("FieldEnabledEvent")] [TypeName("FieldEnabledEvent")]
public class FieldEnabled : IEvent public class FieldEnabled : IEvent

10
src/Squidex.Events/Schemas/FieldHidden.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// FieldHidden.cs // FieldHidden.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Events.Schemas namespace Squidex.Events.Schemas
{ {
[TypeName("FieldHiddenEvent")] [TypeName("FieldHiddenEvent")]
public class FieldHidden : IEvent public class FieldHidden : IEvent

10
src/Squidex.Events/Schemas/FieldShown.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// FieldShown.cs // FieldShown.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Events.Schemas namespace Squidex.Events.Schemas
{ {
[TypeName("FieldShownEvent")] [TypeName("FieldShownEvent")]
public class FieldShown : IEvent public class FieldShown : IEvent

12
src/Squidex.Events/Schemas/FieldUpdated.cs

@ -1,16 +1,16 @@
// ========================================================================== // ==========================================================================
// FieldUpdated.cs // FieldUpdated.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using PinkParrot.Core.Schemas; using Squidex.Core.Schemas;
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Events.Schemas namespace Squidex.Events.Schemas
{ {
[TypeName("FieldUpdatedEvent")] [TypeName("FieldUpdatedEvent")]
public class FieldUpdated : IEvent public class FieldUpdated : IEvent

10
src/Squidex.Events/Schemas/SchemaCreated.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// SchemaCreated.cs // SchemaCreated.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using PinkParrot.Core.Schemas; using Squidex.Core.Schemas;
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
namespace PinkParrot.Events.Schemas namespace Squidex.Events.Schemas
{ {
[TypeName("SchemaCreatedEvent")] [TypeName("SchemaCreatedEvent")]
public class SchemaCreated : AppEvent public class SchemaCreated : AppEvent

10
src/Squidex.Events/Schemas/SchemaDeleted.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// SchemaDeleted.cs // SchemaDeleted.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Events.Schemas namespace Squidex.Events.Schemas
{ {
[TypeName("SchemaDeleted")] [TypeName("SchemaDeleted")]
public class SchemaDeleted : IEvent public class SchemaDeleted : IEvent

12
src/Squidex.Events/Schemas/SchemaUpdated.cs

@ -1,16 +1,16 @@
// ========================================================================== // ==========================================================================
// SchemaUpdated.cs // SchemaUpdated.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using PinkParrot.Core.Schemas; using Squidex.Core.Schemas;
using PinkParrot.Infrastructure; using Squidex.Infrastructure;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Events.Schemas namespace Squidex.Events.Schemas
{ {
[TypeName("SchemaUpdated")] [TypeName("SchemaUpdated")]
public class SchemaUpdated : IEvent public class SchemaUpdated : IEvent

2
src/Squidex.Events/Squidex.Events.xproj

@ -7,7 +7,7 @@
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" /> <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>25f66c64-058a-4d44-bc0c-f12a054f9a91</ProjectGuid> <ProjectGuid>25f66c64-058a-4d44-bc0c-f12a054f9a91</ProjectGuid>
<RootNamespace>PinkParrot.Events</RootNamespace> <RootNamespace>Squidex.Events</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath> <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath> <OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
</PropertyGroup> </PropertyGroup>

6
src/Squidex.Events/project.json

@ -4,8 +4,8 @@
"dependencies": { "dependencies": {
"NETStandard.Library": "1.6.0", "NETStandard.Library": "1.6.0",
"NodaTime": "2.0.0-alpha20160729", "NodaTime": "2.0.0-alpha20160729",
"PinkParrot.Core": "1.0.0-*", "Squidex.Core": "1.0.0-*",
"PinkParrot.Infrastructure": "1.0.0-*" "Squidex.Infrastructure": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
@ -20,6 +20,6 @@
}, },
"tooling": { "tooling": {
"defaultNamespace": "PinkParrot.Events" "defaultNamespace": "Squidex.Events"
} }
} }

8
src/Squidex.Infrastructure/CQRS/Autofac/AutofacDomainObjectFactory.cs

@ -1,16 +1,16 @@
// ========================================================================== // ==========================================================================
// AutofacDomainObjectFactory.cs // AutofacDomainObjectFactory.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using Autofac; using Autofac;
using PinkParrot.Infrastructure.CQRS.Commands; using Squidex.Infrastructure.CQRS.Commands;
namespace PinkParrot.Infrastructure.CQRS.Autofac namespace Squidex.Infrastructure.CQRS.Autofac
{ {
public sealed class AutofacDomainObjectFactory : IDomainObjectFactory public sealed class AutofacDomainObjectFactory : IDomainObjectFactory
{ {

6
src/Squidex.Infrastructure/CQRS/Commands/AggregateCommand.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// AggregateCommand.cs // AggregateCommand.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Infrastructure.CQRS.Commands namespace Squidex.Infrastructure.CQRS.Commands
{ {
public class AggregateCommand : IAggregateCommand public class AggregateCommand : IAggregateCommand
{ {

6
src/Squidex.Infrastructure/CQRS/Commands/CommandContext.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// CommandContext.cs // CommandContext.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Infrastructure.CQRS.Commands namespace Squidex.Infrastructure.CQRS.Commands
{ {
public sealed class CommandContext public sealed class CommandContext
{ {

6
src/Squidex.Infrastructure/CQRS/Commands/CommandHandler.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// CommandHandler.cs // CommandHandler.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PinkParrot.Infrastructure.CQRS.Commands namespace Squidex.Infrastructure.CQRS.Commands
{ {
public abstract class CommandHandler<T> : ICommandHandler where T : class, IAggregate public abstract class CommandHandler<T> : ICommandHandler where T : class, IAggregate
{ {

6
src/Squidex.Infrastructure/CQRS/Commands/CommandingExtensions.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// CommandingExtensions.cs // CommandingExtensions.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Infrastructure.CQRS.Commands namespace Squidex.Infrastructure.CQRS.Commands
{ {
public static class CommandingExtensions public static class CommandingExtensions
{ {

6
src/Squidex.Infrastructure/CQRS/Commands/IAggregateCommand.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// IAggregateCommand.cs // IAggregateCommand.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Infrastructure.CQRS.Commands namespace Squidex.Infrastructure.CQRS.Commands
{ {
public interface IAggregateCommand : ICommand public interface IAggregateCommand : ICommand
{ {

6
src/Squidex.Infrastructure/CQRS/Commands/ICommand.cs

@ -1,11 +1,11 @@
// ========================================================================== // ==========================================================================
// ICommand.cs // ICommand.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
namespace PinkParrot.Infrastructure.CQRS.Commands namespace Squidex.Infrastructure.CQRS.Commands
{ {
public interface ICommand public interface ICommand
{ {

6
src/Squidex.Infrastructure/CQRS/Commands/ICommandBus.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// ICommandBus.cs // ICommandBus.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PinkParrot.Infrastructure.CQRS.Commands namespace Squidex.Infrastructure.CQRS.Commands
{ {
public interface ICommandBus public interface ICommandBus
{ {

6
src/Squidex.Infrastructure/CQRS/Commands/ICommandHandler.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// ICommandHandler.cs // ICommandHandler.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PinkParrot.Infrastructure.CQRS.Commands namespace Squidex.Infrastructure.CQRS.Commands
{ {
public interface ICommandHandler public interface ICommandHandler
{ {

6
src/Squidex.Infrastructure/CQRS/Commands/IDomainObjectFactory.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// IDomainObjectFactory.cs // IDomainObjectFactory.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Infrastructure.CQRS.Commands namespace Squidex.Infrastructure.CQRS.Commands
{ {
public interface IDomainObjectFactory public interface IDomainObjectFactory
{ {

6
src/Squidex.Infrastructure/CQRS/Commands/IDomainObjectRepository.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// IDomainObjectRepository.cs // IDomainObjectRepository.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PinkParrot.Infrastructure.CQRS.Commands namespace Squidex.Infrastructure.CQRS.Commands
{ {
public interface IDomainObjectRepository public interface IDomainObjectRepository
{ {

6
src/Squidex.Infrastructure/CQRS/Commands/InMemoryCommandBus.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// InMemoryCommandBus.cs // InMemoryCommandBus.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -10,7 +10,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PinkParrot.Infrastructure.CQRS.Commands namespace Squidex.Infrastructure.CQRS.Commands
{ {
public sealed class InMemoryCommandBus : ICommandBus public sealed class InMemoryCommandBus : ICommandBus
{ {

6
src/Squidex.Infrastructure/CQRS/CommonHeaders.cs

@ -1,11 +1,11 @@
// ========================================================================== // ==========================================================================
// CommonHeaders.cs // CommonHeaders.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
namespace PinkParrot.Infrastructure.CQRS namespace Squidex.Infrastructure.CQRS
{ {
public sealed class CommonHeaders public sealed class CommonHeaders
{ {

8
src/Squidex.Infrastructure/CQRS/DomainObject.cs

@ -1,16 +1,16 @@
// ========================================================================== // ==========================================================================
// DomainObject.cs // DomainObject.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Infrastructure.CQRS namespace Squidex.Infrastructure.CQRS
{ {
public abstract class DomainObject : IAggregate, IEquatable<IAggregate> public abstract class DomainObject : IAggregate, IEquatable<IAggregate>
{ {

6
src/Squidex.Infrastructure/CQRS/Envelope.cs

@ -1,11 +1,11 @@
// ========================================================================== // ==========================================================================
// Envelope.cs // Envelope.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
namespace PinkParrot.Infrastructure.CQRS namespace Squidex.Infrastructure.CQRS
{ {
public class Envelope<TPayload> where TPayload : class public class Envelope<TPayload> where TPayload : class
{ {

6
src/Squidex.Infrastructure/CQRS/EnvelopeExtensions.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// EnvelopeExtensions.cs // EnvelopeExtensions.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -10,7 +10,7 @@ using System;
using System.Globalization; using System.Globalization;
using NodaTime; using NodaTime;
namespace PinkParrot.Infrastructure.CQRS namespace Squidex.Infrastructure.CQRS
{ {
public static class EnvelopeExtensions public static class EnvelopeExtensions
{ {

8
src/Squidex.Infrastructure/CQRS/EnvelopeFactory.cs

@ -1,16 +1,16 @@
// ========================================================================== // ==========================================================================
// EnvelopeFactory.cs // EnvelopeFactory.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using NodaTime; using NodaTime;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Infrastructure.CQRS namespace Squidex.Infrastructure.CQRS
{ {
public static class EnvelopeFactory public static class EnvelopeFactory
{ {

6
src/Squidex.Infrastructure/CQRS/EnvelopeHeaders.cs

@ -1,11 +1,11 @@
// ========================================================================== // ==========================================================================
// EnvelopeHeaders.cs // EnvelopeHeaders.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
namespace PinkParrot.Infrastructure.CQRS namespace Squidex.Infrastructure.CQRS
{ {
public sealed class EnvelopeHeaders : PropertiesBag public sealed class EnvelopeHeaders : PropertiesBag
{ {

6
src/Squidex.Infrastructure/CQRS/EventStore/DefaultNameResolver.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// DefaultNameResolver.cs // DefaultNameResolver.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using System.Globalization; using System.Globalization;
namespace PinkParrot.Infrastructure.CQRS.EventStore namespace Squidex.Infrastructure.CQRS.EventStore
{ {
public sealed class DefaultNameResolver : IStreamNameResolver public sealed class DefaultNameResolver : IStreamNameResolver
{ {

8
src/Squidex.Infrastructure/CQRS/EventStore/EventStoreBus.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// EventStoreBus.cs // EventStoreBus.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -13,9 +13,9 @@ using System.Threading.Tasks;
using EventStore.ClientAPI; using EventStore.ClientAPI;
using EventStore.ClientAPI.SystemData; using EventStore.ClientAPI.SystemData;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Infrastructure.CQRS.EventStore namespace Squidex.Infrastructure.CQRS.EventStore
{ {
public sealed class EventStoreBus public sealed class EventStoreBus
{ {

8
src/Squidex.Infrastructure/CQRS/EventStore/EventStoreDomainObjectRepository.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// EventStoreDomainObjectRepository.cs // EventStoreDomainObjectRepository.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -13,13 +13,13 @@ using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using EventStore.ClientAPI; using EventStore.ClientAPI;
using EventStore.ClientAPI.SystemData; using EventStore.ClientAPI.SystemData;
using PinkParrot.Infrastructure.CQRS.Commands; using Squidex.Infrastructure.CQRS.Commands;
// ReSharper disable RedundantAssignment // ReSharper disable RedundantAssignment
// ReSharper disable ConvertIfStatementToSwitchStatement // ReSharper disable ConvertIfStatementToSwitchStatement
// ReSharper disable TooWideLocalVariableScope // ReSharper disable TooWideLocalVariableScope
namespace PinkParrot.Infrastructure.CQRS.EventStore namespace Squidex.Infrastructure.CQRS.EventStore
{ {
public sealed class EventStoreDomainObjectRepository : IDomainObjectRepository public sealed class EventStoreDomainObjectRepository : IDomainObjectRepository
{ {

8
src/Squidex.Infrastructure/CQRS/EventStore/EventStoreFormatter.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// EventStoreFormatter.cs // EventStoreFormatter.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -11,11 +11,11 @@ using System.Text;
using EventStore.ClientAPI; using EventStore.ClientAPI;
using Newtonsoft.Json; using Newtonsoft.Json;
using NodaTime; using NodaTime;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
// ReSharper disable InconsistentNaming // ReSharper disable InconsistentNaming
namespace PinkParrot.Infrastructure.CQRS.EventStore namespace Squidex.Infrastructure.CQRS.EventStore
{ {
public class EventStoreFormatter public class EventStoreFormatter
{ {

6
src/Squidex.Infrastructure/CQRS/EventStore/IStreamNameResolver.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// IStreamNameResolver.cs // IStreamNameResolver.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Infrastructure.CQRS.EventStore namespace Squidex.Infrastructure.CQRS.EventStore
{ {
public interface IStreamNameResolver public interface IStreamNameResolver
{ {

6
src/Squidex.Infrastructure/CQRS/EventStore/IStreamPositionStorage.cs

@ -1,11 +1,11 @@
// ========================================================================== // ==========================================================================
// IStreamPositionStorage.cs // IStreamPositionStorage.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
namespace PinkParrot.Infrastructure.CQRS.EventStore namespace Squidex.Infrastructure.CQRS.EventStore
{ {
public interface IStreamPositionStorage public interface IStreamPositionStorage
{ {

6
src/Squidex.Infrastructure/CQRS/Events/ICatchEventConsumer.cs

@ -1,11 +1,11 @@
// ========================================================================== // ==========================================================================
// ICatchEventConsumer.cs // ICatchEventConsumer.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
namespace PinkParrot.Infrastructure.CQRS.Events namespace Squidex.Infrastructure.CQRS.Events
{ {
public interface ICatchEventConsumer : IEventConsumer public interface ICatchEventConsumer : IEventConsumer
{ {

6
src/Squidex.Infrastructure/CQRS/Events/IEvent.cs

@ -1,11 +1,11 @@
// ========================================================================== // ==========================================================================
// IEvent.cs // IEvent.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
namespace PinkParrot.Infrastructure.CQRS.Events namespace Squidex.Infrastructure.CQRS.Events
{ {
public interface IEvent public interface IEvent
{ {

6
src/Squidex.Infrastructure/CQRS/Events/IEventConsumer.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// IEventConsumer.cs // IEventConsumer.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PinkParrot.Infrastructure.CQRS.Events namespace Squidex.Infrastructure.CQRS.Events
{ {
public interface IEventConsumer public interface IEventConsumer
{ {

6
src/Squidex.Infrastructure/CQRS/Events/ILiveEventConsumer.cs

@ -1,11 +1,11 @@
// ========================================================================== // ==========================================================================
// ILiveEventConsumer.cs // ILiveEventConsumer.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
namespace PinkParrot.Infrastructure.CQRS.Events namespace Squidex.Infrastructure.CQRS.Events
{ {
public interface ILiveEventConsumer : IEventConsumer public interface ILiveEventConsumer : IEventConsumer
{ {

8
src/Squidex.Infrastructure/CQRS/IAggregate.cs

@ -1,16 +1,16 @@
// ========================================================================== // ==========================================================================
// IAggregate.cs // IAggregate.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using PinkParrot.Infrastructure.CQRS.Events; using Squidex.Infrastructure.CQRS.Events;
namespace PinkParrot.Infrastructure.CQRS namespace Squidex.Infrastructure.CQRS
{ {
public interface IAggregate public interface IAggregate
{ {

6
src/Squidex.Infrastructure/CQRS/IAppAggregate.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// IAppAggregate.cs // IAppAggregate.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Infrastructure.CQRS namespace Squidex.Infrastructure.CQRS
{ {
public interface IAppAggregate : IAggregate public interface IAppAggregate : IAggregate
{ {

6
src/Squidex.Infrastructure/CollectionExtensions.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// CollectionExtensions.cs // CollectionExtensions.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -13,7 +13,7 @@ using System.Linq;
// ReSharper disable InvertIf // ReSharper disable InvertIf
// ReSharper disable LoopCanBeConvertedToQuery // ReSharper disable LoopCanBeConvertedToQuery
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public static class CollectionExtensions public static class CollectionExtensions
{ {

6
src/Squidex.Infrastructure/Dispatching/ActionContextDispatcher.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// ActionContextDispatcher.cs // ActionContextDispatcher.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -11,7 +11,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
namespace PinkParrot.Infrastructure.Dispatching namespace Squidex.Infrastructure.Dispatching
{ {
public sealed class ActionContextDispatcher<TTarget, TIn, TContext> public sealed class ActionContextDispatcher<TTarget, TIn, TContext>
{ {

6
src/Squidex.Infrastructure/Dispatching/ActionContextDispatcherFactory.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// ActionContextDispatcherFactory.cs // ActionContextDispatcherFactory.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using System.Reflection; using System.Reflection;
namespace PinkParrot.Infrastructure.Dispatching namespace Squidex.Infrastructure.Dispatching
{ {
internal class ActionContextDispatcherFactory internal class ActionContextDispatcherFactory
{ {

6
src/Squidex.Infrastructure/Dispatching/ActionDispatcher.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// ActionDispatcher.cs // ActionDispatcher.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -11,7 +11,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
namespace PinkParrot.Infrastructure.Dispatching namespace Squidex.Infrastructure.Dispatching
{ {
public sealed class ActionDispatcher<TTarget, TIn> public sealed class ActionDispatcher<TTarget, TIn>
{ {

6
src/Squidex.Infrastructure/Dispatching/ActionDispatcherFactory.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// ActionDispatcherFactory.cs // ActionDispatcherFactory.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using System.Reflection; using System.Reflection;
namespace PinkParrot.Infrastructure.Dispatching namespace Squidex.Infrastructure.Dispatching
{ {
internal class ActionDispatcherFactory internal class ActionDispatcherFactory
{ {

6
src/Squidex.Infrastructure/Dispatching/DispatchExtensions.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// DispatchExtensions.cs // DispatchExtensions.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PinkParrot.Infrastructure.Dispatching namespace Squidex.Infrastructure.Dispatching
{ {
public static class DispatchExtensions public static class DispatchExtensions
{ {

6
src/Squidex.Infrastructure/Dispatching/FuncContextDispatcher.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// FuncContextDispatcher.cs // FuncContextDispatcher.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -11,7 +11,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
namespace PinkParrot.Infrastructure.Dispatching namespace Squidex.Infrastructure.Dispatching
{ {
public sealed class FuncContextDispatcher<TTarget, TIn, TContext, TOut> public sealed class FuncContextDispatcher<TTarget, TIn, TContext, TOut>
{ {

6
src/Squidex.Infrastructure/Dispatching/FuncContextDispatcherFactory.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// FuncContextDispatcherFactory.cs // FuncContextDispatcherFactory.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using System.Reflection; using System.Reflection;
namespace PinkParrot.Infrastructure.Dispatching namespace Squidex.Infrastructure.Dispatching
{ {
internal static class FuncContextDispatcherFactory internal static class FuncContextDispatcherFactory
{ {

6
src/Squidex.Infrastructure/Dispatching/FuncDispatcher.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// FuncDispatcher.cs // FuncDispatcher.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -11,7 +11,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
namespace PinkParrot.Infrastructure.Dispatching namespace Squidex.Infrastructure.Dispatching
{ {
public sealed class FuncDispatcher<TTarget, TIn, TOut> public sealed class FuncDispatcher<TTarget, TIn, TOut>
{ {

6
src/Squidex.Infrastructure/Dispatching/FuncDispatcherFactory.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// FuncDispatcherFactory.cs // FuncDispatcherFactory.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using System.Reflection; using System.Reflection;
namespace PinkParrot.Infrastructure.Dispatching namespace Squidex.Infrastructure.Dispatching
{ {
internal static class FuncDispatcherFactory internal static class FuncDispatcherFactory
{ {

6
src/Squidex.Infrastructure/Dispatching/Helper.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// Helper.cs // Helper.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System.Reflection; using System.Reflection;
namespace PinkParrot.Infrastructure.Dispatching namespace Squidex.Infrastructure.Dispatching
{ {
internal static class Helper internal static class Helper
{ {

6
src/Squidex.Infrastructure/DomainException.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// DomainException.cs // DomainException.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public class DomainException : Exception public class DomainException : Exception
{ {

6
src/Squidex.Infrastructure/DomainObjectDeletedException.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// DomainObjectDeletedException.cs // DomainObjectDeletedException.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public class DomainObjectDeletedException : DomainObjectException public class DomainObjectDeletedException : DomainObjectException
{ {

6
src/Squidex.Infrastructure/DomainObjectException.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// DomainObjectException.cs // DomainObjectException.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public class DomainObjectException : Exception public class DomainObjectException : Exception
{ {

6
src/Squidex.Infrastructure/DomainObjectNotFoundException.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// DomainObjectNotFoundException.cs // DomainObjectNotFoundException.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public class DomainObjectNotFoundException : DomainObjectException public class DomainObjectNotFoundException : DomainObjectException
{ {

6
src/Squidex.Infrastructure/DomainObjectVersionException.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// DomainObjectVersionException.cs // DomainObjectVersionException.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public class DomainObjectVersionException : DomainObjectException public class DomainObjectVersionException : DomainObjectException
{ {

6
src/Squidex.Infrastructure/EnumExtensions.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// EnumExtensions.cs // EnumExtensions.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public static class EnumExtensions public static class EnumExtensions
{ {

6
src/Squidex.Infrastructure/Extensions.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// Extensions.cs // Extensions.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -10,7 +10,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public static class Extensions public static class Extensions
{ {

6
src/Squidex.Infrastructure/Guard.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// Guard.cs // Guard.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -15,7 +15,7 @@ using System.Runtime.CompilerServices;
// ReSharper disable InvertIf // ReSharper disable InvertIf
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public static class Guard public static class Guard
{ {

6
src/Squidex.Infrastructure/IValidatable.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// IValidatable.cs // IValidatable.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System.Collections.Generic; using System.Collections.Generic;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public interface IValidatable public interface IValidatable
{ {

6
src/Squidex.Infrastructure/Json/PropertiesBagConverter.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// PropertiesBagConverter.cs // PropertiesBagConverter.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -12,7 +12,7 @@ using Newtonsoft.Json;
using NodaTime; using NodaTime;
using NodaTime.Extensions; using NodaTime.Extensions;
namespace PinkParrot.Infrastructure.Json namespace Squidex.Infrastructure.Json
{ {
public sealed class PropertiesBagConverter : JsonConverter public sealed class PropertiesBagConverter : JsonConverter
{ {

6
src/Squidex.Infrastructure/Json/TypeNameSerializationBinder.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// TypeNameSerializationBinder.cs // TypeNameSerializationBinder.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using Newtonsoft.Json.Serialization; using Newtonsoft.Json.Serialization;
namespace PinkParrot.Infrastructure.Json namespace Squidex.Infrastructure.Json
{ {
public class TypeNameSerializationBinder : DefaultSerializationBinder public class TypeNameSerializationBinder : DefaultSerializationBinder
{ {

6
src/Squidex.Infrastructure/PropertiesBag.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// PropertiesBag.cs // PropertiesBag.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -10,7 +10,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Dynamic; using System.Dynamic;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public class PropertiesBag : DynamicObject public class PropertiesBag : DynamicObject
{ {

6
src/Squidex.Infrastructure/PropertyValue.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// PropertyValue.cs // PropertyValue.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -13,7 +13,7 @@ using System.Globalization;
using NodaTime; using NodaTime;
using NodaTime.Text; using NodaTime.Text;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public sealed class PropertyValue : DynamicObject public sealed class PropertyValue : DynamicObject
{ {

6
src/Squidex.Infrastructure/Reflection/IPropertyAccessor.cs

@ -1,11 +1,11 @@
// ========================================================================== // ==========================================================================
// IPropertyAccessor.cs // IPropertyAccessor.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
namespace PinkParrot.Infrastructure.Reflection namespace Squidex.Infrastructure.Reflection
{ {
public interface IPropertyAccessor public interface IPropertyAccessor
{ {

6
src/Squidex.Infrastructure/Reflection/PropertiesTypeAccessor.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// PropertiesTypeAccessor.cs // PropertiesTypeAccessor.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -11,7 +11,7 @@ using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
using System.Reflection; using System.Reflection;
namespace PinkParrot.Infrastructure.Reflection namespace Squidex.Infrastructure.Reflection
{ {
public sealed class PropertiesTypeAccessor public sealed class PropertiesTypeAccessor
{ {

6
src/Squidex.Infrastructure/Reflection/PropertyAccessor.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// PropertyAccessor.cs // PropertyAccessor.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using System.Reflection; using System.Reflection;
namespace PinkParrot.Infrastructure.Reflection namespace Squidex.Infrastructure.Reflection
{ {
public sealed class PropertyAccessor : IPropertyAccessor public sealed class PropertyAccessor : IPropertyAccessor
{ {

6
src/Squidex.Infrastructure/Reflection/ReflectionExtensions.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// ReflectionExtensions.cs // ReflectionExtensions.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -11,7 +11,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
namespace PinkParrot.Infrastructure.Reflection namespace Squidex.Infrastructure.Reflection
{ {
public static class ReflectionExtensions public static class ReflectionExtensions
{ {

6
src/Squidex.Infrastructure/Reflection/SimpleMapper.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// SimpleMapper.cs // SimpleMapper.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -13,7 +13,7 @@ using System.Linq;
// ReSharper disable StaticMemberInGenericType // ReSharper disable StaticMemberInGenericType
namespace PinkParrot.Infrastructure.Reflection namespace Squidex.Infrastructure.Reflection
{ {
public static class SimpleMapper public static class SimpleMapper
{ {

2
src/Squidex.Infrastructure/Squidex.Infrastructure.xproj

@ -7,7 +7,7 @@
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" /> <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>bd1c30a8-8ffa-4a92-a9bd-b67b1cddd84c</ProjectGuid> <ProjectGuid>bd1c30a8-8ffa-4a92-a9bd-b67b1cddd84c</ProjectGuid>
<RootNamespace>PinkParrot.Infrastructure</RootNamespace> <RootNamespace>Squidex.Infrastructure</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath> <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath> <OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>

6
src/Squidex.Infrastructure/Tasks/TaskExtensions.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// TaskExtensions.cs // TaskExtensions.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PinkParrot.Infrastructure.Tasks namespace Squidex.Infrastructure.Tasks
{ {
public static class TaskExtensions public static class TaskExtensions
{ {

6
src/Squidex.Infrastructure/Tasks/TaskHelper.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// TaskHelper.cs // TaskHelper.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PinkParrot.Infrastructure.Tasks namespace Squidex.Infrastructure.Tasks
{ {
public static class TaskHelper public static class TaskHelper
{ {

6
src/Squidex.Infrastructure/TypeNameAttribute.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// TypeNameAttribute.cs // TypeNameAttribute.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
[AttributeUsage(AttributeTargets.Class, Inherited = false)] [AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class TypeNameAttribute : Attribute public class TypeNameAttribute : Attribute

6
src/Squidex.Infrastructure/TypeNameRegistry.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// TypeNameRegistry.cs // TypeNameRegistry.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -10,7 +10,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Reflection; using System.Reflection;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public class TypeNameRegistry public class TypeNameRegistry
{ {

6
src/Squidex.Infrastructure/ValidationError.cs

@ -1,14 +1,14 @@
// ========================================================================== // ==========================================================================
// ValidationError.cs // ValidationError.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System.Collections.Generic; using System.Collections.Generic;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public sealed class ValidationError public sealed class ValidationError
{ {

6
src/Squidex.Infrastructure/ValidationException.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// ValidationException.cs // ValidationException.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -10,7 +10,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public class ValidationException : Exception public class ValidationException : Exception
{ {

6
src/Squidex.Infrastructure/ValidationExtensions.cs

@ -1,8 +1,8 @@
// ========================================================================== // ==========================================================================
// ValidationExtensions.cs // ValidationExtensions.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
@ -10,7 +10,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace PinkParrot.Infrastructure namespace Squidex.Infrastructure
{ {
public static class ValidationExtensions public static class ValidationExtensions
{ {

2
src/Squidex.Infrastructure/project.json

@ -22,6 +22,6 @@
} }
}, },
"tooling": { "tooling": {
"defaultNamespace": "PinkParrot.Infrastructure" "defaultNamespace": "Squidex.Infrastructure"
} }
} }

6
src/Squidex.Read/Apps/IAppEntity.cs

@ -1,11 +1,11 @@
// ========================================================================== // ==========================================================================
// IAppEntity.cs // IAppEntity.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
namespace PinkParrot.Read.Apps namespace Squidex.Read.Apps
{ {
public interface IAppEntity : IEntity public interface IAppEntity : IEntity
{ {

6
src/Squidex.Read/Apps/Repositories/IAppRepository.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// IAppRepository.cs // IAppRepository.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PinkParrot.Read.Apps.Repositories namespace Squidex.Read.Apps.Repositories
{ {
public interface IAppRepository public interface IAppRepository
{ {

6
src/Squidex.Read/Apps/Services/IAppProvider.cs

@ -1,15 +1,15 @@
// ========================================================================== // ==========================================================================
// IAppProvider.cs // IAppProvider.cs
// PinkParrot Headless CMS // Squidex Headless CMS
// ========================================================================== // ==========================================================================
// Copyright (c) PinkParrot Group // Copyright (c) Squidex Group
// All rights reserved. // All rights reserved.
// ========================================================================== // ==========================================================================
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PinkParrot.Read.Apps.Services namespace Squidex.Read.Apps.Services
{ {
public interface IAppProvider public interface IAppProvider
{ {

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save