-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54 from BertCotton/MyCompletedPRs
My completed prs
- Loading branch information
Showing
11 changed files
with
140 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>netcoreapp1.1</TargetFramework> | ||
<AssemblyName>TfsAdvanced.MessageBus</AssemblyName> | ||
<RootNamespace>TfsAdvanced.MessageBus</RootNamespace> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Autofac" Version="4.2.0" /> | ||
<PackageReference Include="ServiceConnect" Version="4.0.6" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using Autofac; | ||
using ServiceConnect; | ||
using ServiceConnect.Interfaces; | ||
|
||
namespace TfsAdvanced.MessageBus | ||
{ | ||
public static class MessageBusExtensions | ||
{ | ||
public static void AddMessageBus(this ContainerBuilder builder) | ||
{ | ||
var bus = Bus.Initialize(); | ||
builder.RegisterInstance(bus).As<IBus>(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace TfsAdvanced.MessageBus | ||
{ | ||
public class MessageBuses | ||
{ | ||
public static string NEW_MESSAGES = "NewMessage"; | ||
public static string UPDATED_MESSAGES = "UpdatedMEssages"; | ||
|
||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
src/TfsAdvanced.MessageBus/Messages/NewPullRequestMessage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace TfsAdvanced.MessageBus.Messages | ||
{ | ||
public class NewPullRequestMessage | ||
{ | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/TfsAdvanced.MessageBus/Messages/UpdatedPullRequestMessage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using ServiceConnect.Interfaces; | ||
|
||
namespace TfsAdvanced.MessageBus.Messages | ||
{ | ||
public class UpdatedPullRequestMessage : Message | ||
{ | ||
public UpdatedPullRequestMessage(Guid correlationId) : base(correlationId) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters