• 大小: 5.13M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 编辑器  C#  c  在线  识别  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Reflection;
using DotNetFiddle.Infrastructure;

using Roslyn.Compilers;
using Roslyn.Compilers.CSharp;
using Roslyn.Compilers.Common;
using Roslyn.scripting;
using Roslyn.scripting.CSharp;

namespace DotNetFiddle.CSharpConsole
{
public abstract class CSharpCodeHelper : CSharpConsole.RoslynCodeHelper
{
public override Language Language
{
get { return Language.CSharp; }
}

protected override string GetUsingKeyword()
{
return “using“;
}

protected override int GetNewKeywordCode()
{
return (int)SyntaxKind.objectCreationexpression;
}

protected override int GetUsingDirectiveCode()
{
return (int)SyntaxKind.UsingDirective;
}

protected override int GetArgumentCode()
{
return (int)SyntaxKind.A

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\
     文件         483  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\.gitattributes
     文件         296  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\.gitignore
     目录           0  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\
     目录           0  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Tests\
     文件       12123  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Tests\CSharpConsoleCodeHelperTest.cs
     文件         797  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Tests\CodeHelperTestUtils.cs
     文件        1503  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Tests\ContainerUtils.cs
     文件        4229  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Tests\DotNetFiddle.CSharpConsole.Tests.csproj
     目录           0  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Tests\Properties\
     文件        1440  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Tests\Properties\AssemblyInfo.cs
     文件        2640  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Tests\RunContainerTest.cs
     文件         515  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Tests\StartupTest.cs
     文件         129  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Tests\packages.config
     目录           0  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\
     目录           0  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\
     目录           0  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\css\
     文件         580  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\css\csharpcolors.css
     目录           0  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\packages\
     目录           0  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\packages\codemirror-3.22\
     文件         104  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\packages\codemirror-3.22\.gitattributes
     文件          56  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\packages\codemirror-3.22\.gitignore
     文件          35  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\packages\codemirror-3.22\.travis.yml
     文件        4177  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\packages\codemirror-3.22\AUTHORS
     文件        3071  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\packages\codemirror-3.22\CONTRIBUTING.md
     文件        1094  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\packages\codemirror-3.22\LICENSE
     文件         661  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\packages\codemirror-3.22\README.md
     目录           0  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\packages\codemirror-3.22\addon\
     目录           0  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\packages\codemirror-3.22\addon\comment\
     文件        6207  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\packages\codemirror-3.22\addon\comment\comment.js
     文件        2529  2014-03-14 14:25  .NET-Fiddle-Language-Template-master\DotNetFiddle.LanguageTemplate\DotNetFiddle.CSharpConsole.Web\Content\packages\codemirror-3.22\addon\comment\continuecomment.js
............此处省略530个文件信息

评论

共有 条评论