This repository has been archived by the owner on Dec 12, 2022. It is now read-only.
forked from entitydb-io/EntityDb.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Application Info in Agent Signature (via IAgentSignatureAugment…
…er) (entitydb-io#37) * feat: agent signature augmenter * test: agent signature augmenter * refactor: don't allow null just use an empty dictionary * chore: fix warning
- Loading branch information
1 parent
bd4b735
commit 44eb07a
Showing
8 changed files
with
141 additions
and
12 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
src/EntityDb.Abstractions/Agents/IAgentSignatureAugmenter.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,16 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace EntityDb.Abstractions.Agents; | ||
|
||
/// <summary> | ||
/// Represents a type that can augment an agent signature by | ||
/// providing additional, application-specific information. | ||
/// </summary> | ||
public interface IAgentSignatureAugmenter | ||
{ | ||
/// <summary> | ||
/// Returns a dictionary of application-specific information. | ||
/// </summary> | ||
/// <returns>A dictionary of application-specific information.</returns> | ||
Dictionary<string, string> GetApplicationInfo(); | ||
} |
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
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