XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEExtension.NetCore.VSIX

【VSIX】XFEExtension的Visual Studio扩展

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFEExtension.NetCore.VSIX

add-sta staa staafull to throw a new StopAction add-acl acd for auto geerate ProfileList and ProfileDictionary filed

4da23b8
XFE工作室室长 <mail@xfegzs.com>
提交于

代码差异

4 个文件 +110 -1
Modified XFEExtension.NetCore.VSIX/ReleaseNotes.txt +1 -1
@@ -2,4 +2,4 @@ Fix: None
2 2
3 3 Change: None
4 4
5 Add: Add sta staa staafull to throw a new StopAction
5 Add: Add sta staa staafull to throw a new StopAction, add acl acd for auto geerate ProfileList and ProfileDictionary filed
Added XFEExtension.NetCore.VSIX/XFEExtension CodeSnippets/XFEExtension CSharp/acd.snippet +53 -0
@@ -0,0 +1,53 @@
1 <?xml version="1.0" encoding="utf-8"?>
2 <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3 <CodeSnippet Format="1.0.0">
4 <Header>
5 <Title>acd</Title>
6 <Shortcut>acd</Shortcut>
7 <Description>Auto Config Dictionary Snippet</Description>
8 <Author>XFEstudio</Author>
9 <SnippetTypes>
10 <SnippetType>Expansion</SnippetType>
11 </SnippetTypes>
12 </Header>
13 <Snippet>
14 <References>
15 <Reference>
16 <Assembly>XFEExtension.NetCore.AutoConfig</Assembly>
17 </Reference>
18 </References>
19 <Imports>
20 <Import>
21 <Namespace>XFEExtension.NetCore.AutoConfig</Namespace>
22 </Import>
23 </Imports>
24 <Declarations>
25 <Literal Editable="false">
26 <ID>profiletype</ID>
27 <ToolTip>Profile Value Type</ToolTip>
28 <Function>ClassName()</Function>
29 <Default>ClassNamePlaceholder</Default>
30 </Literal>
31 <Literal>
32 <ID>keytype</ID>
33 <ToolTip>Dictinoary Key Type</ToolTip>
34 <Default>string</Default>
35 </Literal>
36 <Literal>
37 <ID>valuetype</ID>
38 <ToolTip>Dictionary Value Type</ToolTip>
39 <Default>object</Default>
40 </Literal>
41 <Literal>
42 <ID>name</ID>
43 <ToolTip>Config Name (start with small letter)</ToolTip>
44 <Default>configField</Default>
45 </Literal>
46 </Declarations>
47 <Code Language="csharp">
48 <![CDATA[[ProfileProperty]
49 private ProfileDictionary<$profiletype$, $keytype$, $valuetype$> $name$;$end$]]>
50 </Code>
51 </Snippet>
52 </CodeSnippet>
53 </CodeSnippets>
Added XFEExtension.NetCore.VSIX/XFEExtension CodeSnippets/XFEExtension CSharp/acl.snippet +48 -0
@@ -0,0 +1,48 @@
1 <?xml version="1.0" encoding="utf-8"?>
2 <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3 <CodeSnippet Format="1.0.0">
4 <Header>
5 <Title>acl</Title>
6 <Shortcut>acl</Shortcut>
7 <Description>Auto Config List Snippet</Description>
8 <Author>XFEstudio</Author>
9 <SnippetTypes>
10 <SnippetType>Expansion</SnippetType>
11 </SnippetTypes>
12 </Header>
13 <Snippet>
14 <References>
15 <Reference>
16 <Assembly>XFEExtension.NetCore.AutoConfig</Assembly>
17 </Reference>
18 </References>
19 <Imports>
20 <Import>
21 <Namespace>XFEExtension.NetCore.AutoConfig</Namespace>
22 </Import>
23 </Imports>
24 <Declarations>
25 <Literal Editable="false">
26 <ID>profiletype</ID>
27 <ToolTip>Profile Value Type</ToolTip>
28 <Function>ClassName()</Function>
29 <Default>ClassNamePlaceholder</Default>
30 </Literal>
31 <Literal>
32 <ID>valuetype</ID>
33 <ToolTip>List Value Type</ToolTip>
34 <Default>int</Default>
35 </Literal>
36 <Literal>
37 <ID>name</ID>
38 <ToolTip>Config Name (start with small letter)</ToolTip>
39 <Default>configField</Default>
40 </Literal>
41 </Declarations>
42 <Code Language="csharp">
43 <![CDATA[[ProfileProperty]
44 private ProfileList<$profiletype$, $valuetype$> $name$;$end$]]>
45 </Code>
46 </Snippet>
47 </CodeSnippet>
48 </CodeSnippets>
Modified XFEExtension.NetCore.VSIX/XFEExtension.NetCore.VSIX.csproj +8 -0
@@ -100,6 +100,14 @@
100 100 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
101 101 <IncludeInVSIX>true</IncludeInVSIX>
102 102 </Content>
103 <Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\acd.snippet">
104 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
105 <IncludeInVSIX>true</IncludeInVSIX>
106 </Content>
107 <Content Include="XFEExtension CodeSnippets\XFEExtension CSharp\acl.snippet">
108 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
109 <IncludeInVSIX>true</IncludeInVSIX>
110 </Content>
103 111 </ItemGroup>
104 112 <ItemGroup>
105 113 <Reference Include="PresentationCore" />