Skip to content

Commit

Permalink
Merge pull request #7 from leo-labs/fix-require-client-options
Browse files Browse the repository at this point in the history
  • Loading branch information
saraedum committed Jun 18, 2020
2 parents 6f23ed5 + f86aaf7 commit 24c7150
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
<TargetFramework>netstandard2.0</TargetFramework>
<RootNamespace>MiddleMail.Client.RabbitMQ</RootNamespace>
<PackageId>MiddleMail.Client.RabbitMQ</PackageId>
<Version>0.2.0</Version>
<Version>0.2.1</Version>
<Authors>Miaplaza Inc.</Authors>
<Company>MiaPlaza</Company>
<Copyright>Copyright ©2020 Miaplaza Inc.</Copyright>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 4 additions & 0 deletions src/MiddleMail.Client.RabbitMQ/RabbitMQOptions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
using System.ComponentModel.DataAnnotations;

namespace MiddleMail.Client.RabbitMQ {
public class RabbitMQOptions {
public const string SECTION = "MiddleMail:Client:RabbitMQ";

[Required]
public string ConnectionString { get; set; }
}
}
4 changes: 3 additions & 1 deletion src/MiddleMail.Model/MiddleMail.Model.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
<TargetFramework>netstandard2.0</TargetFramework>
<RootNamespace>MiddleMail.Model</RootNamespace>
<PackageId>MiddleMail.Model</PackageId>
<Version>0.2.0</Version>
<Version>0.2.1</Version>
<Authors>Miaplaza Inc.</Authors>
<Company>MiaPlaza</Company>
<Copyright>Copyright ©2020 Miaplaza Inc.</Copyright>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

</Project>
4 changes: 3 additions & 1 deletion src/MiddleMail/MiddleMail.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<PackageId>MiddleMail</PackageId>
<Version>0.2.0</Version>
<Version>0.2.1</Version>
<Authors>Miaplaza Inc.</Authors>
<Company>MiaPlaza</Company>
<Copyright>Copyright ©2020 Miaplaza Inc.</Copyright>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 24c7150

Please sign in to comment.