XFEExtension.NetCore.ServerInteractive
[DLL] Server interaction extension, including user identity verification and querying in conjunction with AutoConfig
关注
0
Fork
0
Star
0
namespace XFEExtension.NetCore.ServerInteractive.Attributes;
/// <summary>
/// 次级入口点特性,用于标记IServerCoreStandardService中的处理方法
/// </summary>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class EntryPointAttribute : Attribute
{
/// <summary>
/// 次级入口点路径
/// </summary>
public string Path { get; }
/// <summary>
/// 创建次级入口点特性
/// </summary>
/// <param name="path">入口点路径(例如:user/login)</param>
public EntryPointAttribute(string path)
{
Path = path;
}
}
namespace XFEExtension.NetCore.ServerInteractive.Attributes;
/// <summary>
/// 次级入口点特性,用于标记IServerCoreStandardService中的处理方法
/// </summary>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class EntryPointAttribute : Attribute
{
/// <summary>
/// 次级入口点路径
/// </summary>
public string Path { get; }
/// <summary>
/// 创建次级入口点特性
/// </summary>
/// <param name="path">入口点路径(例如:user/login)</param>
public EntryPointAttribute(string path)
{
Path = path;
}
}