From a56e91f6193b1400d140a49634afdf20054e3f8f Mon Sep 17 00:00:00 2001 From: Ivan Paulovich Date: Wed, 2 Nov 2016 23:32:21 -0200 Subject: [PATCH] OK --- .gitattributes | 63 +++++++++++++++++++ .../Jambo.Core.Services.xproj | 21 +++++++ .../Properties/AssemblyInfo.cs | 19 ++++++ Jambo/Jambo.Core.Services/TodoItemService.cs | 14 +++++ Jambo/Jambo.Core.Services/project.json | 13 ++++ .../Infrastructure/Entities/IEntityFactory.cs | 11 ++++ .../Services/Aggregates/IAggregateFactory.cs | 11 ++++ Jambo/Jambo.Core/Services/ITodoITemService.cs | 2 +- .../Jambo.Domain.Services.xproj | 21 +++++++ .../Properties/AssemblyInfo.cs | 19 ++++++ .../Jambo.Domain.Services/TodoItemService.cs | 14 +++++ Jambo/Jambo.Domain.Services/project.json | 13 ++++ .../Jambo.Infrastructure.xproj | 21 +++++++ .../Properties/AssemblyInfo.cs | 19 ++++++ .../TodoItemRepository.cs | 14 +++++ Jambo/Jambo.Infrastructure/project.json | 13 ++++ Jambo/Jambo.sln | 32 +++------- 17 files changed, 297 insertions(+), 23 deletions(-) create mode 100644 .gitattributes create mode 100644 Jambo/Jambo.Core.Services/Jambo.Core.Services.xproj create mode 100644 Jambo/Jambo.Core.Services/Properties/AssemblyInfo.cs create mode 100644 Jambo/Jambo.Core.Services/TodoItemService.cs create mode 100644 Jambo/Jambo.Core.Services/project.json create mode 100644 Jambo/Jambo.Core/Infrastructure/Entities/IEntityFactory.cs create mode 100644 Jambo/Jambo.Core/Services/Aggregates/IAggregateFactory.cs create mode 100644 Jambo/Jambo.Domain.Services/Jambo.Domain.Services.xproj create mode 100644 Jambo/Jambo.Domain.Services/Properties/AssemblyInfo.cs create mode 100644 Jambo/Jambo.Domain.Services/TodoItemService.cs create mode 100644 Jambo/Jambo.Domain.Services/project.json create mode 100644 Jambo/Jambo.Infrastructure/Jambo.Infrastructure.xproj create mode 100644 Jambo/Jambo.Infrastructure/Properties/AssemblyInfo.cs create mode 100644 Jambo/Jambo.Infrastructure/TodoItemRepository.cs create mode 100644 Jambo/Jambo.Infrastructure/project.json diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/Jambo/Jambo.Core.Services/Jambo.Core.Services.xproj b/Jambo/Jambo.Core.Services/Jambo.Core.Services.xproj new file mode 100644 index 0000000..37d545d --- /dev/null +++ b/Jambo/Jambo.Core.Services/Jambo.Core.Services.xproj @@ -0,0 +1,21 @@ + + + + 14.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + 7625af8c-4f41-4ee4-ab82-afdf152175e8 + Jambo.Core.Services + .\obj + .\bin\ + v4.6.1 + + + + 2.0 + + + diff --git a/Jambo/Jambo.Core.Services/Properties/AssemblyInfo.cs b/Jambo/Jambo.Core.Services/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..45e0274 --- /dev/null +++ b/Jambo/Jambo.Core.Services/Properties/AssemblyInfo.cs @@ -0,0 +1,19 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Jambo.Core.Services")] +[assembly: AssemblyTrademark("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("7625af8c-4f41-4ee4-ab82-afdf152175e8")] diff --git a/Jambo/Jambo.Core.Services/TodoItemService.cs b/Jambo/Jambo.Core.Services/TodoItemService.cs new file mode 100644 index 0000000..9d70419 --- /dev/null +++ b/Jambo/Jambo.Core.Services/TodoItemService.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace Jambo.Core.Services +{ + public class TodoItemService + { + public TodoItemService() + { + } + } +} diff --git a/Jambo/Jambo.Core.Services/project.json b/Jambo/Jambo.Core.Services/project.json new file mode 100644 index 0000000..864b9a5 --- /dev/null +++ b/Jambo/Jambo.Core.Services/project.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0-*", + + "dependencies": { + "NETStandard.Library": "1.6.0" + }, + + "frameworks": { + "netstandard1.6": { + "imports": "dnxcore50" + } + } +} diff --git a/Jambo/Jambo.Core/Infrastructure/Entities/IEntityFactory.cs b/Jambo/Jambo.Core/Infrastructure/Entities/IEntityFactory.cs new file mode 100644 index 0000000..0961b3a --- /dev/null +++ b/Jambo/Jambo.Core/Infrastructure/Entities/IEntityFactory.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace Jambo.Core.Infrastructure.Entities +{ + interface IEntityFactory + { + } +} diff --git a/Jambo/Jambo.Core/Services/Aggregates/IAggregateFactory.cs b/Jambo/Jambo.Core/Services/Aggregates/IAggregateFactory.cs new file mode 100644 index 0000000..d351c55 --- /dev/null +++ b/Jambo/Jambo.Core/Services/Aggregates/IAggregateFactory.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace Jambo.Core.Services.Aggregates +{ + interface IAggregateFactory + { + } +} diff --git a/Jambo/Jambo.Core/Services/ITodoITemService.cs b/Jambo/Jambo.Core/Services/ITodoITemService.cs index 0311448..3da03c6 100644 --- a/Jambo/Jambo.Core/Services/ITodoITemService.cs +++ b/Jambo/Jambo.Core/Services/ITodoITemService.cs @@ -2,7 +2,7 @@ namespace Jambo.Core.Services { - public interface ITodoITemService + public interface ITodoItemService { ITodoItem Create(ITodoItemDetails addItem); } diff --git a/Jambo/Jambo.Domain.Services/Jambo.Domain.Services.xproj b/Jambo/Jambo.Domain.Services/Jambo.Domain.Services.xproj new file mode 100644 index 0000000..14b2f89 --- /dev/null +++ b/Jambo/Jambo.Domain.Services/Jambo.Domain.Services.xproj @@ -0,0 +1,21 @@ + + + + 14.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + 3eabed8e-176a-4796-bcc8-be5575cc7d67 + Jambo.Domain.Services + .\obj + .\bin\ + v4.6.1 + + + + 2.0 + + + diff --git a/Jambo/Jambo.Domain.Services/Properties/AssemblyInfo.cs b/Jambo/Jambo.Domain.Services/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..8b9a766 --- /dev/null +++ b/Jambo/Jambo.Domain.Services/Properties/AssemblyInfo.cs @@ -0,0 +1,19 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Jambo.Domain.Services")] +[assembly: AssemblyTrademark("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("3eabed8e-176a-4796-bcc8-be5575cc7d67")] diff --git a/Jambo/Jambo.Domain.Services/TodoItemService.cs b/Jambo/Jambo.Domain.Services/TodoItemService.cs new file mode 100644 index 0000000..a37457a --- /dev/null +++ b/Jambo/Jambo.Domain.Services/TodoItemService.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace Jambo.Domain.Services +{ + public class TodoItemService + { + public TodoItemService() + { + } + } +} diff --git a/Jambo/Jambo.Domain.Services/project.json b/Jambo/Jambo.Domain.Services/project.json new file mode 100644 index 0000000..864b9a5 --- /dev/null +++ b/Jambo/Jambo.Domain.Services/project.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0-*", + + "dependencies": { + "NETStandard.Library": "1.6.0" + }, + + "frameworks": { + "netstandard1.6": { + "imports": "dnxcore50" + } + } +} diff --git a/Jambo/Jambo.Infrastructure/Jambo.Infrastructure.xproj b/Jambo/Jambo.Infrastructure/Jambo.Infrastructure.xproj new file mode 100644 index 0000000..2d7282f --- /dev/null +++ b/Jambo/Jambo.Infrastructure/Jambo.Infrastructure.xproj @@ -0,0 +1,21 @@ + + + + 14.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + b28e1c3d-63b9-4161-858e-da539d1f3602 + Jambo.Infrastructure + .\obj + .\bin\ + v4.6.1 + + + + 2.0 + + + diff --git a/Jambo/Jambo.Infrastructure/Properties/AssemblyInfo.cs b/Jambo/Jambo.Infrastructure/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..28b53e0 --- /dev/null +++ b/Jambo/Jambo.Infrastructure/Properties/AssemblyInfo.cs @@ -0,0 +1,19 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Jambo.Infrastructure")] +[assembly: AssemblyTrademark("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("b28e1c3d-63b9-4161-858e-da539d1f3602")] diff --git a/Jambo/Jambo.Infrastructure/TodoItemRepository.cs b/Jambo/Jambo.Infrastructure/TodoItemRepository.cs new file mode 100644 index 0000000..08ff253 --- /dev/null +++ b/Jambo/Jambo.Infrastructure/TodoItemRepository.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace Jambo.Infrastructure +{ + public class TodoItemRepository + { + public TodoItemRepository() + { + } + } +} diff --git a/Jambo/Jambo.Infrastructure/project.json b/Jambo/Jambo.Infrastructure/project.json new file mode 100644 index 0000000..864b9a5 --- /dev/null +++ b/Jambo/Jambo.Infrastructure/project.json @@ -0,0 +1,13 @@ +{ + "version": "1.0.0-*", + + "dependencies": { + "NETStandard.Library": "1.6.0" + }, + + "frameworks": { + "netstandard1.6": { + "imports": "dnxcore50" + } + } +} diff --git a/Jambo/Jambo.sln b/Jambo/Jambo.sln index 045d93c..3e5595b 100644 --- a/Jambo/Jambo.sln +++ b/Jambo/Jambo.sln @@ -5,13 +5,9 @@ VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Jambo.Core", "Jambo.Core\Jambo.Core.xproj", "{4C116E5C-8DF9-442E-BE3D-3EC181D1159B}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Jambo.EFRepository", "Jambo.EFRepository\Jambo.EFRepository.xproj", "{4D2758CD-4954-4785-9D29-822052E49585}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Jambo.Infrastructure", "Jambo.Infrastructure\Jambo.Infrastructure.xproj", "{B28E1C3D-63B9-4161-858E-DA539D1F3602}" EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Jambo.Services", "Jambo.Services\Jambo.Services.xproj", "{2D1DB40A-728D-4284-99E2-6505FC786A8E}" -EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Jambo.Infrastructure", "Jambo.Infrastructure\Jambo.Infrastructure.xproj", "{40EA14EE-C169-4FA9-9059-CB4DAB71B9B4}" -EndProject -Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Jambo.EFInfrastructure", "Jambo.EFInfrastructure\Jambo.EFInfrastructure.xproj", "{4BFECE9B-334C-4899-AEB6-3392B916F7EF}" +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Jambo.Core.Services", "Jambo.Core.Services\Jambo.Core.Services.xproj", "{7625AF8C-4F41-4EE4-AB82-AFDF152175E8}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -23,22 +19,14 @@ Global {4C116E5C-8DF9-442E-BE3D-3EC181D1159B}.Debug|Any CPU.Build.0 = Debug|Any CPU {4C116E5C-8DF9-442E-BE3D-3EC181D1159B}.Release|Any CPU.ActiveCfg = Release|Any CPU {4C116E5C-8DF9-442E-BE3D-3EC181D1159B}.Release|Any CPU.Build.0 = Release|Any CPU - {4D2758CD-4954-4785-9D29-822052E49585}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4D2758CD-4954-4785-9D29-822052E49585}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4D2758CD-4954-4785-9D29-822052E49585}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4D2758CD-4954-4785-9D29-822052E49585}.Release|Any CPU.Build.0 = Release|Any CPU - {2D1DB40A-728D-4284-99E2-6505FC786A8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2D1DB40A-728D-4284-99E2-6505FC786A8E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2D1DB40A-728D-4284-99E2-6505FC786A8E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2D1DB40A-728D-4284-99E2-6505FC786A8E}.Release|Any CPU.Build.0 = Release|Any CPU - {40EA14EE-C169-4FA9-9059-CB4DAB71B9B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {40EA14EE-C169-4FA9-9059-CB4DAB71B9B4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {40EA14EE-C169-4FA9-9059-CB4DAB71B9B4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {40EA14EE-C169-4FA9-9059-CB4DAB71B9B4}.Release|Any CPU.Build.0 = Release|Any CPU - {4BFECE9B-334C-4899-AEB6-3392B916F7EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4BFECE9B-334C-4899-AEB6-3392B916F7EF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4BFECE9B-334C-4899-AEB6-3392B916F7EF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4BFECE9B-334C-4899-AEB6-3392B916F7EF}.Release|Any CPU.Build.0 = Release|Any CPU + {B28E1C3D-63B9-4161-858E-DA539D1F3602}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B28E1C3D-63B9-4161-858E-DA539D1F3602}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B28E1C3D-63B9-4161-858E-DA539D1F3602}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B28E1C3D-63B9-4161-858E-DA539D1F3602}.Release|Any CPU.Build.0 = Release|Any CPU + {7625AF8C-4F41-4EE4-AB82-AFDF152175E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7625AF8C-4F41-4EE4-AB82-AFDF152175E8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7625AF8C-4F41-4EE4-AB82-AFDF152175E8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7625AF8C-4F41-4EE4-AB82-AFDF152175E8}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE