mirror of
https://github.com/ldqk/Masuit.Tools.git
synced 2026-10-22 00:43:10 +08:00
28 lines
608 B
C#
28 lines
608 B
C#
using Microsoft.AspNetCore;
|
|
using Microsoft.AspNetCore.Hosting;
|
|
using System.ComponentModel;
|
|
|
|
namespace NetCoreTest
|
|
{
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
CreateWebHostBuilder(args).Build().Run();
|
|
}
|
|
|
|
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
|
|
WebHost.CreateDefaultBuilder(args)
|
|
.UseStartup<Startup>();
|
|
|
|
}
|
|
|
|
public class MyClass
|
|
{
|
|
[Description("test")]
|
|
public string MyProperty { get; set; }
|
|
public int MyProperty1 { get; set; }
|
|
|
|
}
|
|
}
|