-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix issue with notification title differ from build status when using…
… group by pullrequest
- Loading branch information
Luka Grabarevic
committed
May 17, 2018
1 parent
b28ecd8
commit 7487f5c
Showing
8 changed files
with
65 additions
and
11 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
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
32 changes: 32 additions & 0 deletions
32
BuildsAppReborn.Access.UI/Notifications/NotificationProviderBase.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,32 @@ | ||
using System; | ||
using BuildsAppReborn.Contracts.Models; | ||
|
||
namespace BuildsAppReborn.Access.UI.Notifications | ||
{ | ||
internal abstract class NotificationProviderBase | ||
{ | ||
#region Constructors | ||
|
||
protected NotificationProviderBase(GeneralSettings generalSettings) | ||
{ | ||
this.generalSettings = generalSettings; | ||
} | ||
|
||
#endregion | ||
|
||
#region Public Methods | ||
|
||
public virtual String GetTitle(IBuild build) | ||
{ | ||
return build.GenerateTitle(this.generalSettings.ViewStyle); | ||
} | ||
|
||
#endregion | ||
|
||
#region Private Fields | ||
|
||
private GeneralSettings generalSettings; | ||
|
||
#endregion | ||
} | ||
} |
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
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