18 lines
466 B
C#
18 lines
466 B
C#
|
using System;
|
||
|
|
||
|
namespace ln.http
|
||
|
{
|
||
|
[AttributeUsage(AttributeTargets.Parameter)]
|
||
|
public class HttpArgumentSourceAttribute : Attribute
|
||
|
{
|
||
|
public HttpArgumentSource ArgumentSource { get; set; }
|
||
|
public string ArgumentName { get; set; }
|
||
|
|
||
|
public HttpArgumentSourceAttribute(){}
|
||
|
|
||
|
public HttpArgumentSourceAttribute(HttpArgumentSource argumentSource)
|
||
|
{
|
||
|
ArgumentSource = argumentSource;
|
||
|
}
|
||
|
}
|
||
|
}
|