forked from dapr/dotnet-sdk
-
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.
Moved generator costants to dedicated class
Signed-off-by: Manuel Menegazzo <manuel.menegazzo@outlook.com>
- Loading branch information
Showing
3 changed files
with
61 additions
and
33 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,33 @@ | ||
namespace Dapr.Actors.Generators | ||
{ | ||
/// <summary> | ||
/// Constants used by the code generator. | ||
/// </summary> | ||
internal static class GeneratorConstants | ||
{ | ||
/// <summary> | ||
/// The namespace used by the generated code. | ||
/// </summary> | ||
public const string GeneratorsNamespace = "Dapr.Actors.Generators"; | ||
|
||
/// <summary> | ||
/// The name of the attribute used to mark actor interfaces. | ||
/// </summary> | ||
public const string ActorMethodAttributeTypeName = "ActorMethodAttribute"; | ||
|
||
/// <summary> | ||
/// The full type name of the attribute used to mark actor interfaces. | ||
/// </summary> | ||
public const string ActorMethodAttributeFullTypeName = GeneratorsNamespace + "." + ActorMethodAttributeTypeName; | ||
|
||
/// <summary> | ||
/// The name of the attribute used to mark actor interfaces. | ||
/// </summary> | ||
public const string GenerateActorClientAttributeTypeName = "GenerateActorClientAttribute"; | ||
|
||
/// <summary> | ||
/// The full type name of the attribute used to mark actor interfaces. | ||
/// </summary> | ||
public const string GenerateActorClientAttributeFullTypeName = GeneratorsNamespace + "." + GenerateActorClientAttributeTypeName; | ||
} | ||
} |
File renamed without changes.