Skip to content

Commit

Permalink
Rename 'Key' to 'ServiceKey'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Codespilot committed Sep 22, 2024
1 parent 8aad15f commit 1dce34b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Euonia.Modularity/Dependency/InjectAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ public class InjectAttribute : Attribute
/// <summary>
/// Initialize a new instance of <see cref="InjectAttribute"/>.
/// </summary>
/// <param name="key">An object that specifies the key of service object to get.</param>
public InjectAttribute(object key = null)
/// <param name="serviceKey">An object that specifies the key of service object to get.</param>
public InjectAttribute(object serviceKey = null)
{
Key = key;
ServiceKey = serviceKey;
}

/// <summary>
/// An object that specifies the key of service object to get.
/// </summary>
public object Key { get; }
public object ServiceKey { get; }
}

0 comments on commit 1dce34b

Please sign in to comment.