Skip to content

Commit

Permalink
Pull
Browse files Browse the repository at this point in the history
  • Loading branch information
nexus4880 committed Nov 27, 2024
2 parents 529f806 + e1a142e commit a5016cc
Show file tree
Hide file tree
Showing 7 changed files with 333 additions and 333 deletions.
18 changes: 9 additions & 9 deletions Fuyu.DependencyInjection/Attributes/InjectAllAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

namespace Fuyu.DependencyInjection.Attributes
{
[AttributeUsage(AttributeTargets.Parameter)]
public class InjectAllAttribute : InjectAttribute
{
// InjectAttribute's id can be null here as it doesn't get used
// in Resolve if the InjectAttribute type is InjectAllAttribute
public InjectAllAttribute() : base(null)
{
}
}
[AttributeUsage(AttributeTargets.Parameter)]
public class InjectAllAttribute : InjectAttribute
{
// InjectAttribute's id can be null here as it doesn't get used
// in Resolve if the InjectAttribute type is InjectAllAttribute
public InjectAllAttribute() : base(null)
{
}
}
}
18 changes: 9 additions & 9 deletions Fuyu.DependencyInjection/Attributes/InjectAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

namespace Fuyu.DependencyInjection.Attributes
{
[AttributeUsage(AttributeTargets.Parameter)]
public class InjectAttribute : Attribute
{
public InjectAttribute(string id)
{
Id = id;
}
[AttributeUsage(AttributeTargets.Parameter)]
public class InjectAttribute : Attribute
{
public InjectAttribute(string id)
{
Id = id;
}

public string Id { get; }
}
public string Id { get; }
}
}
8 changes: 4 additions & 4 deletions Fuyu.DependencyInjection/Attributes/InjectableAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Fuyu.DependencyInjection.Attributes
{
[AttributeUsage(AttributeTargets.Constructor)]
public class InjectableAttribute : Attribute
{
}
[AttributeUsage(AttributeTargets.Constructor)]
public class InjectableAttribute : Attribute
{
}
}
Loading

0 comments on commit a5016cc

Please sign in to comment.