mirror of
https://github.com/farcasclaudiu/myfriendsaround.git
synced 2026-06-28 23:01:53 +03:00
17 lines
390 B
C#
17 lines
390 B
C#
namespace MicroIoc
|
|
{
|
|
public class InjectedProperty<T> : InjectedMemberBase
|
|
{
|
|
public InjectedProperty(string name, T value)
|
|
{
|
|
MemberName = name;
|
|
MemberValue = value;
|
|
}
|
|
|
|
public override string DeriveFullName<TClass>()
|
|
{
|
|
return typeof(TClass).PropertyPattern(MemberName);
|
|
}
|
|
}
|
|
}
|