16 lines
287 B
C#
16 lines
287 B
C#
using System;
|
|
|
|
namespace SRF.Service
|
|
{
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public sealed class ServiceSelectorAttribute : Attribute
|
|
{
|
|
public Type ServiceType { get; private set; }
|
|
|
|
public ServiceSelectorAttribute(Type serviceType)
|
|
{
|
|
ServiceType = serviceType;
|
|
}
|
|
}
|
|
}
|