using NCC.Dependency;
using System;
namespace NCC.RemoteRequest
{
///
/// 配置客户端请求超时时间
///
[SuppressSniffer, AttributeUsage(AttributeTargets.Interface | AttributeTargets.Method)]
public class TimeoutAttribute : Attribute
{
///
/// 构造函数
///
///
public TimeoutAttribute(long seconds)
{
Seconds = seconds;
}
///
/// 超时时间(秒)
///
public long Seconds { get; set; }
}
}