Skip to content

Commit 650dea6

Browse files
1 parent ee3203e commit 650dea6

11 files changed

+613
-0
lines changed

ItemTemplates/ItemTemplates.csproj

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{8DB2C616-0465-41E4-9BF6-6B8EF5141774}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>ItemTemplates</RootNamespace>
11+
<AssemblyName>ItemTemplates</AssemblyName>
12+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16+
<DebugSymbols>true</DebugSymbols>
17+
<DebugType>full</DebugType>
18+
<Optimize>false</Optimize>
19+
<OutputPath>bin\Debug\</OutputPath>
20+
<DefineConstants>DEBUG;TRACE</DefineConstants>
21+
<ErrorReport>prompt</ErrorReport>
22+
<WarningLevel>4</WarningLevel>
23+
</PropertyGroup>
24+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<DebugType>pdbonly</DebugType>
26+
<Optimize>true</Optimize>
27+
<OutputPath>bin\Release\</OutputPath>
28+
<DefineConstants>TRACE</DefineConstants>
29+
<ErrorReport>prompt</ErrorReport>
30+
<WarningLevel>4</WarningLevel>
31+
</PropertyGroup>
32+
<ItemGroup>
33+
<Reference Include="System" />
34+
<Reference Include="System.Core" />
35+
<Reference Include="System.Xml.Linq" />
36+
<Reference Include="System.Data.DataSetExtensions" />
37+
<Reference Include="Microsoft.CSharp" />
38+
<Reference Include="System.Data" />
39+
<Reference Include="System.Xml" />
40+
</ItemGroup>
41+
<ItemGroup>
42+
<Compile Include="SPSDelegate.cs" />
43+
<Compile Include="SPSEnumWithFlags.cs" />
44+
<Compile Include="SPSEnum.cs" />
45+
<Compile Include="SPSInterface.cs" />
46+
<Compile Include="SPSClassInternal.cs" />
47+
<Compile Include="SPSClassStatic.cs" />
48+
<Compile Include="SPSClassAbstract.cs" />
49+
<Compile Include="SPSClassSealed.cs" />
50+
<Compile Include="SPSClass.cs" />
51+
<Compile Include="Properties\AssemblyInfo.cs" />
52+
</ItemGroup>
53+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
54+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
55+
Other similar extension points exist, see Microsoft.Common.targets.
56+
<Target Name="BeforeBuild">
57+
</Target>
58+
<Target Name="AfterBuild">
59+
</Target>
60+
-->
61+
</Project>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// 有关程序集的常规信息通过以下
6+
// 特性集控制。更改这些特性值可修改
7+
// 与程序集关联的信息。
8+
[assembly: AssemblyTitle("ItemTemplates")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("ItemTemplates")]
13+
[assembly: AssemblyCopyright("Copyright © 2015")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// 将 ComVisible 设置为 false 使此程序集中的类型
18+
// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
19+
// 则将该类型上的 ComVisible 特性设置为 true。
20+
[assembly: ComVisible(false)]
21+
22+
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23+
[assembly: Guid("7272d18c-1eb8-45dc-a44f-cc07038696c0")]
24+
25+
// 程序集的版本信息由下面四个值组成:
26+
//
27+
// 主版本
28+
// 次版本
29+
// 生成号
30+
// 修订号
31+
//
32+
// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
33+
// 方法是按如下所示使用“*”:
34+
// [assembly: AssemblyVersion("1.0.*")]
35+
[assembly: AssemblyVersion("1.0.0.0")]
36+
[assembly: AssemblyFileVersion("1.0.0.0")]

ItemTemplates/SPSClass.cs

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
#region 基本信息
2+
3+
/*
4+
* 作者:王玉才 (Wang Yucai)
5+
* 创建日期:$time$
6+
* 电子邮件:SourceProStudio@outlook.com 或者 MasterDuner@yeah.net
7+
* 开发工具:Microsoft VisualStudio 2013 Ultimate Edition
8+
*
9+
* 公共语言运行时(CLR)版本:$clrversion$
10+
* 适用的.NET Framework SDK版本:$targetframeworkversion$及其以上版本
11+
*
12+
* 机器名:$machinename$
13+
* 用户名:$userdomain$\$username$
14+
*/
15+
16+
#endregion
17+
18+
19+
using System;
20+
21+
22+
namespace $rootnamespace$
23+
{
24+
/// <summary>
25+
/// <para>
26+
/// 命名空间:<see cref="$rootnamespace$"/>
27+
/// </para>
28+
/// <para>
29+
/// 类型名称:<see cref="$safeitemname$"/>
30+
/// </para>
31+
/// <para>
32+
/// 此类型(<see cref="$safeitemname$"/>)仅适用于$targetframeworkversion$及其以上版本的.NET Framework SDK。
33+
/// </para>
34+
/// <para>
35+
/// © $year$ Wang Yucai.
36+
/// </para>
37+
/// </summary>
38+
public class $safeitemname$
39+
{
40+
#region 构造函数
41+
42+
/// <summary>
43+
/// <para>
44+
/// <see cref="$safeitemname$"/>的构造函数:
45+
/// </para>
46+
/// <para>
47+
/// 用于初始化一个<see cref="$safeitemname$"/>类型的对象实例。
48+
/// </para>
49+
/// </summary>
50+
public $safeitemname$()
51+
{
52+
}
53+
54+
#endregion
55+
}
56+
}
57+
58+
#region 版权声明
59+
60+
/*
61+
* Copyright © $year$ Wang Yucai. All rights reserved.
62+
*/
63+
64+
#endregion

ItemTemplates/SPSClassAbstract.cs

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
#region 基本信息
2+
3+
/*
4+
* 作者:王玉才 (Wang Yucai)
5+
* 创建日期:$time$
6+
* 电子邮件:SourceProStudio@outlook.com 或者 MasterDuner@yeah.net
7+
* 开发工具:Microsoft VisualStudio 2013 Ultimate Edition
8+
*
9+
* 公共语言运行时(CLR)版本:$clrversion$
10+
* 适用的.NET Framework SDK版本:$targetframeworkversion$及其以上版本
11+
*
12+
* 机器名:$machinename$
13+
* 用户名:$userdomain$\$username$
14+
*/
15+
16+
#endregion
17+
18+
19+
using System;
20+
21+
22+
namespace $rootnamespace$
23+
{
24+
/// <summary>
25+
/// <para>
26+
/// 命名空间:<see cref="$rootnamespace$"/>
27+
/// </para>
28+
/// <para>
29+
/// 类型名称:<see cref="$safeitemname$"/>
30+
/// </para>
31+
/// <para>
32+
/// 此类型(<see cref="$safeitemname$"/>)仅适用于$targetframeworkversion$及其以上版本的.NET Framework SDK。
33+
/// </para>
34+
/// <para>
35+
/// © $year$ Wang Yucai.
36+
/// </para>
37+
/// </summary>
38+
public abstract class $safeitemname$
39+
{
40+
#region 构造函数
41+
42+
/// <summary>
43+
/// <para>
44+
/// <see cref="$safeitemname$"/>的构造函数:
45+
/// </para>
46+
/// <para>
47+
/// 用于初始化一个<see cref="$safeitemname$"/>类型的对象实例。
48+
/// </para>
49+
/// </summary>
50+
protected $safeitemname$()
51+
{
52+
}
53+
54+
#endregion
55+
}
56+
}
57+
58+
#region 版权声明
59+
60+
/*
61+
* Copyright © $year$ Wang Yucai. All rights reserved.
62+
*/
63+
64+
#endregion

ItemTemplates/SPSClassInternal.cs

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
#region 基本信息
2+
3+
/*
4+
* 作者:王玉才 (Wang Yucai)
5+
* 创建日期:$time$
6+
* 电子邮件:SourceProStudio@outlook.com 或者 MasterDuner@yeah.net
7+
* 开发工具:Microsoft VisualStudio 2013 Ultimate Edition
8+
*
9+
* 公共语言运行时(CLR)版本:$clrversion$
10+
* 适用的.NET Framework SDK版本:$targetframeworkversion$及其以上版本
11+
*
12+
* 机器名:$machinename$
13+
* 用户名:$userdomain$\$username$
14+
*/
15+
16+
#endregion
17+
18+
19+
using System;
20+
21+
22+
namespace $rootnamespace$
23+
{
24+
/// <summary>
25+
/// <para>
26+
/// 命名空间:<see cref="$rootnamespace$"/>
27+
/// </para>
28+
/// <para>
29+
/// 类型名称:<see cref="$safeitemname$"/>
30+
/// </para>
31+
/// <para>
32+
/// 此类型(<see cref="$safeitemname$"/>)仅适用于$targetframeworkversion$及其以上版本的.NET Framework SDK。
33+
/// </para>
34+
/// <para>
35+
/// © $year$ Wang Yucai.
36+
/// </para>
37+
/// </summary>
38+
internal class $safeitemname$
39+
{
40+
#region 构造函数
41+
42+
/// <summary>
43+
/// <para>
44+
/// <see cref="$safeitemname$"/>的构造函数:
45+
/// </para>
46+
/// <para>
47+
/// 用于初始化一个<see cref="$safeitemname$"/>类型的对象实例。
48+
/// </para>
49+
/// </summary>
50+
internal $safeitemname$()
51+
{
52+
}
53+
54+
#endregion
55+
}
56+
}
57+
58+
#region 版权声明
59+
60+
/*
61+
* Copyright © $year$ Wang Yucai. All rights reserved.
62+
*/
63+
64+
#endregion

ItemTemplates/SPSClassSealed.cs

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
#region 基本信息
2+
3+
/*
4+
* 作者:王玉才 (Wang Yucai)
5+
* 创建日期:$time$
6+
* 电子邮件:SourceProStudio@outlook.com 或者 MasterDuner@yeah.net
7+
* 开发工具:Microsoft VisualStudio 2013 Ultimate Edition
8+
*
9+
* 公共语言运行时(CLR)版本:$clrversion$
10+
* 适用的.NET Framework SDK版本:$targetframeworkversion$及其以上版本
11+
*
12+
* 机器名:$machinename$
13+
* 用户名:$userdomain$\$username$
14+
*/
15+
16+
#endregion
17+
18+
19+
using System;
20+
21+
22+
namespace $rootnamespace$
23+
{
24+
/// <summary>
25+
/// <para>
26+
/// 命名空间:<see cref="$rootnamespace$"/>
27+
/// </para>
28+
/// <para>
29+
/// 类型名称:<see cref="$safeitemname$"/>
30+
/// </para>
31+
/// <para>
32+
/// 此类型(<see cref="$safeitemname$"/>)仅适用于$targetframeworkversion$及其以上版本的.NET Framework SDK。
33+
/// </para>
34+
/// <para>
35+
/// 此类型是密闭的,不可以从此类型继承。
36+
/// </para>
37+
/// <para>
38+
/// © $year$ Wang Yucai.
39+
/// </para>
40+
/// </summary>
41+
/// <remarks>
42+
/// 此类型是密闭的,不可以从此类型继承。
43+
/// </remarks>
44+
public sealed class $safeitemname$
45+
{
46+
#region 构造函数
47+
48+
/// <summary>
49+
/// <para>
50+
/// <see cref="$safeitemname$"/>的构造函数:
51+
/// </para>
52+
/// <para>
53+
/// 用于初始化一个<see cref="$safeitemname$"/>类型的对象实例。
54+
/// </para>
55+
/// <para>
56+
/// 此类型是密闭的,不可以从此类型继承。
57+
/// </para>
58+
/// </summary>
59+
public $safeitemname$()
60+
{
61+
}
62+
63+
#endregion
64+
}
65+
}
66+
67+
#region 版权声明
68+
69+
/*
70+
* Copyright © $year$ Wang Yucai. All rights reserved.
71+
*/
72+
73+
#endregion

0 commit comments

Comments
 (0)