Skip to content

Commit

Permalink
fixing attributes of VersionKey methods
Browse files Browse the repository at this point in the history
  • Loading branch information
adecler committed Apr 24, 2020
1 parent a12a7d6 commit 46a5fec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Versioning_Engine/Compute/VersionKey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public static partial class Compute

[Description("Provide a string representation of a method as it used for versioning by the PreviousVersion attribute.")]
[Input("declaringType", "Type in which the method is declared. You can use just the name of the type or include a (part of the) namespace in front of it.")]
[Input("methodName", "Name of the method. It has to be the exact string")]
[Output("Keys", "String representation for each method that matches the input filters.")]
[Input("methodName", "Name of the method. It has to be the exact string. If the method is a constructor, you can leave this input blank.")]
[Output("keys", "String representation for each method that matches the input filters.")]
public static List<string> VersioningKey(string declaringType, string methodName = "")
{
if (methodName == "")
Expand Down
4 changes: 2 additions & 2 deletions Versioning_Engine/Query/VersionKey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public static partial class Query
/***************************************************/

[Description("Provide a string representation of a method as it used for versioning by the PreviousVersion attribute.")]
[Input("methodName", "Method to ge tthe key from")]
[Output("Key", "String representation of the method as it will be used by the PreviousVersion attribute.")]
[Input("method", "Method to generate the key for")]
[Output("key", "String representation of the method as it will be used by the PreviousVersion attribute.")]
public static string VersioningKey(this MethodBase method)
{
if (method == null)
Expand Down

0 comments on commit 46a5fec

Please sign in to comment.