添加项目文件。
This commit is contained in:
11
Convention-CSharp.csproj
Normal file
11
Convention-CSharp.csproj
Normal file
@@ -0,0 +1,11 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<RootNamespace>Convention</RootNamespace>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
25
Convention-CSharp.sln
Normal file
25
Convention-CSharp.sln
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.9.34728.123
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Convention-CSharp", "Convention-CSharp.csproj", "{753E942E-7F20-44F1-8120-05B81F869EA5}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{753E942E-7F20-44F1-8120-05B81F869EA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{753E942E-7F20-44F1-8120-05B81F869EA5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{753E942E-7F20-44F1-8120-05B81F869EA5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{753E942E-7F20-44F1-8120-05B81F869EA5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {58B645F4-3C17-449A-838D-B6C78BA4DCD1}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
39
Convention/Runtime/Config.cs
Normal file
39
Convention/Runtime/Config.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Convention
|
||||
{
|
||||
namespace SAL
|
||||
{
|
||||
public interface IHasCheckMethod
|
||||
{
|
||||
bool Check();
|
||||
}
|
||||
|
||||
public class ReturnValue { }
|
||||
|
||||
public enum ComparedFlag
|
||||
{
|
||||
Greater, Less, Equal, GreaterOrEqual, LessOrEqual, NotEqual
|
||||
}
|
||||
|
||||
[System.AttributeUsage(AttributeTargets.ReturnValue, Inherited = true, AllowMultiple = true)]
|
||||
public sealed class SuccessAttribute : Attribute, IHasCheckMethod
|
||||
{
|
||||
private List<object> exprs = new();
|
||||
|
||||
public bool Check()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class PlatformIndictaor
|
||||
{
|
||||
}
|
||||
}
|
9
[Test]/Program.cs
Normal file
9
[Test]/Program.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using Convention;
|
||||
|
||||
public class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello, World!");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user