diff --git a/src/CastleWindsor/Properties/AssemblyInfo.cs b/src/CastleWindsor/Properties/AssemblyInfo.cs index 39140c3..b0fcbab 100644 --- a/src/CastleWindsor/Properties/AssemblyInfo.cs +++ b/src/CastleWindsor/Properties/AssemblyInfo.cs @@ -1,36 +1,36 @@ -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: AssemblyTitle("CastleWindsor")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("CastleWindsor")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 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("6021b01c-f24b-48b4-b774-d150ace2b6c3")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0")] -[assembly: AssemblyFileVersion("1.0.0")] +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: AssemblyTitle("CastleWindsor")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("CastleWindsor")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 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("6021b01c-f24b-48b4-b774-d150ace2b6c3")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0")] +[assembly: AssemblyFileVersion("1.0.0")] diff --git a/src/Core/Core.csproj b/src/Core/Core.csproj index 26cb82e..3de259c 100644 --- a/src/Core/Core.csproj +++ b/src/Core/Core.csproj @@ -40,7 +40,6 @@ - diff --git a/src/Core/BusExtensions.cs b/src/Interfaces/BusExtensions.cs similarity index 100% rename from src/Core/BusExtensions.cs rename to src/Interfaces/BusExtensions.cs diff --git a/src/Interfaces/Interfaces.csproj b/src/Interfaces/Interfaces.csproj index c8aff98..963a9dc 100644 --- a/src/Interfaces/Interfaces.csproj +++ b/src/Interfaces/Interfaces.csproj @@ -40,6 +40,7 @@ + diff --git a/tests/Tests.Core/Tests.Core.csproj b/tests/Tests.Core/Tests.Core.csproj index 1003782..898f334 100644 --- a/tests/Tests.Core/Tests.Core.csproj +++ b/tests/Tests.Core/Tests.Core.csproj @@ -52,7 +52,6 @@ - diff --git a/tests/Tests.Core/BusExtensionsTests.cs b/tests/Tests.Interfaces/BusExtensionsTests.cs similarity index 80% rename from tests/Tests.Core/BusExtensionsTests.cs rename to tests/Tests.Interfaces/BusExtensionsTests.cs index b885c51..58b37c7 100644 --- a/tests/Tests.Core/BusExtensionsTests.cs +++ b/tests/Tests.Interfaces/BusExtensionsTests.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; @@ -81,5 +82,24 @@ public async Task RaiseManyEvents_no_exception_if_commands_is_null() } + public class TestCommand : ICommand + { + public string StringValue { get; set; } + public int IntValue { get; set; } + public bool BoolValue { get; set; } + + public DateTimeOffset DateTimeOffsetValue { get; set; } + } + + public class TestEvent : IEvent + { + public string StringValue { get; set; } + public int IntValue { get; set; } + public bool BoolValue { get; set; } + + public DateTimeOffset DateTimeOffsetValue { get; set; } + } + + } } \ No newline at end of file diff --git a/tests/Tests.Interfaces/Tests.Interfaces.csproj b/tests/Tests.Interfaces/Tests.Interfaces.csproj index ece7fed..a8da077 100644 --- a/tests/Tests.Interfaces/Tests.Interfaces.csproj +++ b/tests/Tests.Interfaces/Tests.Interfaces.csproj @@ -52,6 +52,7 @@ +