20 lines
441 B
C#
20 lines
441 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BeWo.Service.Attributes
|
|
{
|
|
[AttributeUsage(AttributeTargets.Method, Inherited = true)]
|
|
public class RequireIPAddressAttribute : Attribute
|
|
{
|
|
public WebConfigSetting WebConfigSetting { get; set; }
|
|
|
|
public RequireIPAddressAttribute(WebConfigSetting pWebConfig)
|
|
{
|
|
WebConfigSetting = pWebConfig;
|
|
}
|
|
}
|
|
}
|