InjectServiceNameAttribute

Maps a property to be injected with a service throught it's name.

Namespace:
KpokPatagon.DependencyInjection
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Attribute

Constructors

InjectServiceNameAttribute

Maps a property to be injected with a service throught it's name.

Signature:
public Void InjectServiceNameAttribute(propertyName, serviceName)
Parameters
Name Type Summary
propertyName String Name of the property.
serviceName String Name of the service to inject.

Properties

PropertyName

Name of the property.

Signature:
public String PropertyName { get; }

ServiceName

Name of the service to inject.

Signature:
public String ServiceName { get; }