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

XFEExtension.NetCore.VSIX

【VSIX】XFEExtension的Visual Studio扩展

公开
关注 0 Fork 0 Star 0
UTF-8
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>stpafull</Title>
      <Shortcut>stpafull</Shortcut>
      <Description>StopAction Action Full Snippet</Description>
      <Author>XFEstudio</Author>
      <SnippetTypes>
        <SnippetType>Expansion</SnippetType>
      </SnippetTypes>
    </Header>
    <Snippet>
      <References>
        <Reference>
          <Assembly>XFEExtension.NetCore</Assembly>
        </Reference>
      </References>
      <Imports>
        <Import>
          <Namespace>XFEExtension.NetCore</Namespace>
        </Import>
      </Imports>
      <Declarations>
        <Literal>
          <ID>actions</ID>
          <ToolTip>Action To Invoke</ToolTip>
          <Default>actions</Default>
        </Literal>
        <Literal>
          <ID>message</ID>
          <ToolTip>Exception Message</ToolTip>
          <Default>message</Default>
        </Literal>
      </Declarations>
      <Code Language="csharp">
        <![CDATA[throw new StopAction(() => { $actions$ }, "$message$")$end$]]>
      </Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>