XFEExtension
【DLL】XFE各类拓展是一个C#的DLL库,旨在优化C#代码中常用语句的使用,并提供更简洁的访问方式,同时提供Xunit测试框架,快速搭建服务器/客户端,免费ChatGPTAPI接口,免费通讯服务器,XFE下载器,新增格式等
关注
0
Fork
0
Star
0
using XFEExtension.NetCore.ProfileExtension;
namespace XFEExtension.NetCore.Analyzer.Test;
public static partial class SystemProfile
{
[ProfileProperty]
[ProfilePropertyAddGet(@"Console.WriteLine(""123"")")]
[ProfilePropertyAddSet(@"Console.WriteLine(value)")]
[ProfilePropertyAddGet(@"Console.WriteLine(""456"")")]
[ProfilePropertyAddSet(@"Console.WriteLine()")]
private static string name = string.Empty;
[ProfileProperty]
[ProfilePropertyAddSet(@"_age = 1")]
[ProfilePropertyAddSet(@"_age = 2")]
[ProfilePropertyAddSet(@"_age = value")]
private static int _age;
}
using XFEExtension.NetCore.ProfileExtension;
namespace XFEExtension.NetCore.Analyzer.Test;
public static partial class SystemProfile
{
[ProfileProperty]
[ProfilePropertyAddGet(@"Console.WriteLine(""123"")")]
[ProfilePropertyAddSet(@"Console.WriteLine(value)")]
[ProfilePropertyAddGet(@"Console.WriteLine(""456"")")]
[ProfilePropertyAddSet(@"Console.WriteLine()")]
private static string name = string.Empty;
[ProfileProperty]
[ProfilePropertyAddSet(@"_age = 1")]
[ProfilePropertyAddSet(@"_age = 2")]
[ProfilePropertyAddSet(@"_age = value")]
private static int _age;
}