在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → 智能枚举Intellenum源码解析

智能枚举Intellenum源码解析

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:1.01M
  • 下载次数:0
  • 浏览次数:3
  • 发布时间:2024-04-12
  • 实例类别:一般编程问题
  • 发 布 人:chenxiaolan
  • 文件格式:.zip
  • 所需积分:2
 相关标签:

实例介绍

【实例简介】
Intellenum是一个开源的C#项目,旨在提供一种处理枚举的快速且高效的方式。通过源代码生成技术,Intellenum为枚举成员的快速查找生成后端代码,特别是FromName和FromValue方法(及其Try...方法)。除了速度优势,Intellenum还通过代码分析器增加安全性,防止枚举默认值的错误使用。
[Intellenum]
public partial class CustomerType
{
    public static readonly CustomerType Standard = new(1);
    public static readonly CustomerType Gold = new(2);
}
Intellenum的使用不仅限于明确声明成员,还支持通过静态构造函数或属性来定义成员。此外,Intellenum还支持自定义配置,包括底层类型、转换(如System.Text.Json、Newtonsoft.Json等)和定制化(例如,在JSON序列化中将数字视为字符串)。
Intellenum还支持通过System.Text.Json和Newtonsoft.Json进行JSON序列化/反序列化,以及与Dapper、Entity Framework Core和Linq2Db的集成。
【实例截图】
【核心代码】
文件清单
└── Intellenum-e32749c8b6ba496ee0865661672067a99dc08a98
    ├── assets
    │   ├── img_1.png
    │   ├── img_2.png
    │   ├── img.png
    │   ├── intellenum.png
    │   ├── logo
    │   │   ├── flat_128x128.png
    │   │   ├── flat_32x32.png
    │   │   ├── flat_64x64.png
    │   │   ├── gradient_128x128.png
    │   │   ├── gradient_32x32.png
    │   │   └── gradient_64x64.png
    │   ├── repository-open-graph-template.pdn
    │   └── social-preview.png
    ├── Build.ps1
    ├── CODE_OF_CONDUCT.md
    ├── Consumers.sln
    ├── Consumers.sln.DotSettings
    ├── CONTRIBUTING.md
    ├── Directory.Build.props
    ├── Dockerfile
    ├── Dockerfile2
    ├── docs
    │   ├── img
    │   │   ├── 2022-02-13-05-45-54.png
    │   │   ├── 20220425061514.png
    │   │   └── 20220425061733.png
    │   └── nuget-readme.md
    ├── global.json
    ├── Intellenum.sln
    ├── Intellenum.sln.DotSettings
    ├── Intellenum.v3.ncrunchsolution
    ├── LICENSE
    ├── nuget.config
    ├── nuget.private.config
    ├── nuget-search-description.md
    ├── README.md
    ├── samples
    │   └── Intellenum.Examples
    │       ├── Intellenum.Examples.csproj
    │       ├── IScenario.cs
    │       ├── IsExternalInit.cs
    │       ├── ModuleInitializerAttribute.cs
    │       ├── ModuleInitializer.cs
    │       ├── Program.cs
    │       ├── SerializationAndConversion
    │       │   ├── DapperExamples.cs
    │       │   ├── EfCoreExamples.cs
    │       │   ├── LinqToDbExamples.cs
    │       │   └── SerializationAndConversion.cs
    │       ├── SyntaxExamples
    │       │   ├── Nesting.cs
    │       │   ├── NoDefaulting.cs
    │       │   └── NoUserDefinedConstructors.cs
    │       ├── Types
    │       │   ├── DateTimeOffsetEnum.cs
    │       │   ├── FloatEnum.cs
    │       │   ├── IntegerEnums.cs
    │       │   └── StringEnums.cs
    │       ├── TypicalScenarios
    │       │   ├── BasicExamples.cs
    │       │   ├── Deconstruction.cs
    │       │   ├── EqualityExamples.cs
    │       │   ├── ExplicitCasting.cs
    │       │   ├── IComparable.cs
    │       │   ├── Lists.cs
    │       │   ├── Members.cs
    │       │   └── TryParseHoisting.cs
    │       └── Vogen.Examples.v3.ncrunchproject
    ├── src
    │   ├── Intellenum
    │   │   ├── AnalyzerReleases.Shipped.md
    │   │   ├── AnalyzerReleases.Unshipped.md
    │   │   ├── BuildMembersFromAttributes.cs
    │   │   ├── BuildWorkItems.cs
    │   │   ├── CompilationExtensions.cs
    │   │   ├── Diagnostics
    │   │   │   ├── DiagnosticsCatalogue.cs
    │   │   │   ├── RuleCategories.cs
    │   │   │   └── RuleIdentifiers.cs
    │   │   ├── EnumExtensions.cs
    │   │   ├── Extensions
    │   │   │   ├── CompilationExtensions.cs
    │   │   │   ├── IDictionaryExtensions.cs
    │   │   │   ├── IEnumerableExtensions.cs
    │   │   │   ├── IEnumerableOfIMethodSymbolExtensions.cs
    │   │   │   ├── IMethodSymbolExtensions.cs
    │   │   │   ├── ImmutableArrayExtensions.cs
    │   │   │   ├── INamedTypeSymbolExtensions.cs
    │   │   │   ├── IPropertySymbolExtensions.cs
    │   │   │   ├── ISetExtensions.cs
    │   │   │   ├── ISymbolExtensions.cs
    │   │   │   ├── ITypeSymbolExtensions.cs
    │   │   │   ├── KeyValuePairExtensions.cs
    │   │   │   ├── MethodKindEx.cs
    │   │   │   ├── OperationBlockAnalysisContextExtension.cs
    │   │   │   ├── OperationKinds.cs
    │   │   │   ├── ReportDiagnosticExtensions.cs
    │   │   │   ├── SemanticModelExtensions.cs
    │   │   │   ├── StringCompatExtensions.cs
    │   │   │   ├── SymbolVisibility.cs
    │   │   │   ├── VersionExtensions.cs
    │   │   │   └── WellKnownDiagnosticTagsExtensions.cs
    │   │   ├── Generators
    │   │   │   ├── ClassGenerator.cs
    │   │   │   ├── Conversions
    │   │   │   │   ├── CodeSections.cs
    │   │   │   │   ├── GenerateDapperConversions.cs
    │   │   │   │   ├── GenerateEfCoreTypeConversions.cs
    │   │   │   │   ├── GenerateLinqToDbConversions.cs
    │   │   │   │   ├── GenerateNewtonsoftJsonConversions.cs
    │   │   │   │   ├── GenerateSystemTextJsonConversions.cs
    │   │   │   │   ├── GenerateTypeConverterConversions.cs
    │   │   │   │   └── IGenerateConversion.cs
    │   │   │   ├── IGenerateSourceCode.cs
    │   │   │   └── Snippets
    │   │   │       ├── ForConstantUnderlying
    │   │   │       │   ├── FromNameRelatedMethods.cs
    │   │   │       │   └── GenerationForFromValueRelatedMethods.cs
    │   │   │       ├── ForNonConstantUnderlying
    │   │   │       │   ├── FromNameRelatedMethods.cs
    │   │   │       │   └── FromValueRelatedMethods.cs
    │   │   │       ├── SnippetGenerationFactory.cs
    │   │   │       └── SnippetType.cs
    │   │   ├── IntellenumConfigurationBuildResult.cs
    │   │   ├── IntellenumConfiguration.cs
    │   │   ├── Intellenum.csproj
    │   │   ├── IntellenumFilter.cs
    │   │   ├── IntellenumGenerator.cs
    │   │   ├── IsExternalInit.cs
    │   │   ├── ManageAttributes.cs
    │   │   ├── MemberGeneration.cs
    │   │   ├── MemberProperties.cs
    │   │   ├── MissingResourceException.cs
    │   │   ├── Properties
    │   │   │   └── launchSettings.json
    │   │   ├── Resources.Designer.cs
    │   │   ├── Resources.resx
    │   │   ├── Rules
    │   │   │   ├── AddValidationAnalyzerCodeFixProvider.cs
    │   │   │   ├── DoNotDefaultAnalyzer.cs
    │   │   │   ├── DoNotUseNewAnalyzer.cs
    │   │   │   └── DoNotUseReflectionAnalyzer.cs
    │   │   ├── SemanticHelper.cs
    │   │   ├── Templates
    │   │   │   ├── AnyOtherType
    │   │   │   │   ├── AnyOtherType_DapperTypeHandler.cs
    │   │   │   │   ├── AnyOtherType_EfCoreValueConverter.cs
    │   │   │   │   ├── AnyOtherType_LinqToDbValueConverter.cs
    │   │   │   │   ├── AnyOtherType_NewtonsoftJsonConverterReferenceType.cs
    │   │   │   │   ├── AnyOtherType_NewtonsoftJsonConverterValueType.cs
    │   │   │   │   ├── AnyOtherType_SystemTextJsonConverter.cs
    │   │   │   │   └── AnyOtherType_TypeConverter.cs
    │   │   │   ├── Boolean
    │   │   │   │   ├── Boolean_DapperTypeHandler.cs
    │   │   │   │   ├── Boolean_EfCoreValueConverter.cs
    │   │   │   │   ├── Boolean_LinqToDbValueConverter.cs
    │   │   │   │   ├── Boolean_NewtonsoftJsonConverter.cs
    │   │   │   │   ├── Boolean_SystemTextJsonConverter.cs
    │   │   │   │   └── Boolean_TypeConverter.cs
    │   │   │   ├── Byte
    │   │   │   │   ├── Byte_DapperTypeHandler.cs
    │   │   │   │   ├── Byte_EfCoreValueConverter.cs
    │   │   │   │   ├── Byte_LinqToDbValueConverter.cs
    │   │   │   │   ├── Byte_NewtonsoftJsonConverter.cs
    │   │   │   │   ├── Byte_SystemTextJsonConverter.cs
    │   │   │   │   └── Byte_TypeConverter.cs
    │   │   │   ├── Char
    │   │   │   │   ├── Char_DapperTypeHandler.cs
    │   │   │   │   ├── Char_EfCoreValueConverter.cs
    │   │   │   │   ├── Char_LinqToDbValueConverter.cs
    │   │   │   │   ├── Char_NewtonsoftJsonConverter.cs
    │   │   │   │   ├── Char_SystemTextJsonConverter.cs
    │   │   │   │   └── Char_TypeConverter.cs
    │   │   │   ├── DateOnly
    │   │   │   │   ├── DateOnly_DapperTypeHandler.cs
    │   │   │   │   ├── DateOnly_EfCoreValueConverter.cs
    │   │   │   │   ├── DateOnly_LinqToDbValueConverter.cs
    │   │   │   │   ├── DateOnly_NewtonsoftJsonConverter.cs
    │   │   │   │   ├── DateOnly_SystemTextJsonConverter.cs
    │   │   │   │   └── DateOnly_TypeConverter.cs
    │   │   │   ├── DateTime
    │   │   │   │   ├── DateTime_DapperTypeHandler.cs
    │   │   │   │   ├── DateTime_EfCoreValueConverter.cs
    │   │   │   │   ├── DateTime_LinqToDbValueConverter.cs
    │   │   │   │   ├── DateTime_NewtonsoftJsonConverter.cs
    │   │   │   │   ├── DateTime_SystemTextJsonConverter.cs
    │   │   │   │   └── DateTime_TypeConverter.cs
    │   │   │   ├── DateTimeOffset
    │   │   │   │   ├── DateTimeOffset_DapperTypeHandler.cs
    │   │   │   │   ├── DateTimeOffset_EfCoreValueConverter.cs
    │   │   │   │   ├── DateTimeOffset_LinqToDbValueConverter.cs
    │   │   │   │   ├── DateTimeOffset_NewtonsoftJsonConverter.cs
    │   │   │   │   ├── DateTimeOffset_SystemTextJsonConverter.cs
    │   │   │   │   └── DateTimeOffset_TypeConverter.cs
    │   │   │   ├── Decimal
    │   │   │   │   ├── Decimal_DapperTypeHandler.cs
    │   │   │   │   ├── Decimal_EfCoreValueConverter.cs
    │   │   │   │   ├── Decimal_LinqToDbValueConverter.cs
    │   │   │   │   ├── Decimal_NewtonsoftJsonConverter.cs
    │   │   │   │   ├── Decimal_SystemTextJsonConverter.cs
    │   │   │   │   └── Decimal_TypeConverter.cs
    │   │   │   ├── Double
    │   │   │   │   ├── Double_DapperTypeHandler.cs
    │   │   │   │   ├── Double_EfCoreValueConverter.cs
    │   │   │   │   ├── Double_LinqToDbValueConverter.cs
    │   │   │   │   ├── Double_NewtonsoftJsonConverter.cs
    │   │   │   │   ├── Double_SystemTextJsonConverter.cs
    │   │   │   │   └── Double_TypeConverter.cs
    │   │   │   ├── Guid
    │   │   │   │   ├── Guid_DapperTypeHandler.cs
    │   │   │   │   ├── Guid_EfCoreValueConverter.cs
    │   │   │   │   ├── Guid_LinqToDbValueConverter.cs
    │   │   │   │   ├── Guid_NewtonsoftJsonConverter.cs
    │   │   │   │   ├── Guid_SystemTextJsonConverter.cs
    │   │   │   │   └── Guid_TypeConverter.cs
    │   │   │   ├── Int
    │   │   │   │   ├── Int_DapperTypeHandler.cs
    │   │   │   │   ├── Int_EfCoreValueConverter.cs
    │   │   │   │   ├── Int_LinqToDbValueConverter.cs
    │   │   │   │   ├── Int_NewtonsoftJsonConverter.cs
    │   │   │   │   ├── Int_SystemTextJsonConverter.cs
    │   │   │   │   └── Int_TypeConverter.cs
    │   │   │   ├── Long
    │   │   │   │   ├── Long_DapperTypeHandler.cs
    │   │   │   │   ├── Long_EfCoreValueConverter.cs
    │   │   │   │   ├── Long_LinqToDbValueConverter.cs
    │   │   │   │   ├── Long_NewtonsoftJsonConverter.cs
    │   │   │   │   ├── Long_SystemTextJsonConverter.cs
    │   │   │   │   └── Long_TypeConverter.cs
    │   │   │   ├── Short
    │   │   │   │   ├── Short_DapperTypeHandler.cs
    │   │   │   │   ├── Short_EfCoreValueConverter.cs
    │   │   │   │   ├── Short_LinqToDbValueConverter.cs
    │   │   │   │   ├── Short_NewtonsoftJsonConverter.cs
    │   │   │   │   ├── Short_SystemTextJsonConverter.cs
    │   │   │   │   └── Short_TypeConverter.cs
    │   │   │   ├── Single
    │   │   │   │   ├── Single_DapperTypeHandler.cs
    │   │   │   │   ├── Single_EfCoreValueConverter.cs
    │   │   │   │   ├── Single_LinqToDbValueConverter.cs
    │   │   │   │   ├── Single_NewtonsoftJsonConverter.cs
    │   │   │   │   ├── Single_SystemTextJsonConverter.cs
    │   │   │   │   └── Single_TypeConverter.cs
    │   │   │   ├── String
    │   │   │   │   ├── String_DapperTypeHandler.cs
    │   │   │   │   ├── String_EfCoreValueConverter.cs
    │   │   │   │   ├── String_LinqToDbValueConverter.cs
    │   │   │   │   ├── String_NewtonsoftJsonConverter.cs
    │   │   │   │   ├── String_SystemTextJsonConverter.cs
    │   │   │   │   └── String_TypeConverter.cs
    │   │   │   └── TimeOnly
    │   │   │       ├── TimeOnly_DapperTypeHandler.cs
    │   │   │       ├── TimeOnly_EfCoreValueConverter.cs
    │   │   │       ├── TimeOnly_LinqToDbValueConverter.cs
    │   │   │       ├── TimeOnly_NewtonsoftJsonConverter.cs
    │   │   │       ├── TimeOnly_SystemTextJsonConverter.cs
    │   │   │       └── TimeOnly_TypeConverter.cs
    │   │   ├── Templates.cs
    │   │   ├── TryParseGeneration.cs
    │   │   ├── Util.cs
    │   │   ├── VoTarget.cs
    │   │   ├── VoWorkItem.cs
    │   │   └── WriteWorkItems.cs
    │   └── Intellenum.SharedTypes
    │       ├── Conversions.cs
    │       ├── Customizations.cs
    │       ├── DebuggerAttributeGeneration.cs
    │       ├── IntellenumAttribute.cs
    │       ├── IntellenumDefaultsAttribute.cs
    │       ├── Intellenum.SharedTypes.csproj
    │       ├── IntellenumValidationException.cs
    │       └── MemberAttribute.cs
    └── tests
        ├── AnalyzerTests
        │   ├── AnalyzerTests.csproj
        │   ├── DiagnosticCollection.cs
        │   ├── DisallowAbstractTests.cs
        │   ├── DisallowDuplicateAttributesTests.cs
        │   ├── DisallowNonPartialTests.cs
        │   ├── DoNotUseConstructorTests.cs
        │   ├── DoNotUseDefaultAnalyzerTests.cs
        │   ├── DoNotUseNewAnalyzerTests.cs
        │   ├── DoNotUseReflectionAnalyzerTests.cs
        │   ├── GlobalConfig
        │   │   ├── HappyTests.cs
        │   │   └── SadTests.cs
        │   ├── LocalConfig
        │   │   ├── HappyTests.cs
        │   │   └── SadTests.cs
        │   ├── MemberTests.cs
        │   ├── References.cs
        │   ├── TestRunner.cs
        │   ├── ToStringOverrrideTests.cs
        │   ├── Usings.cs
        │   └── Verifiers
        │       ├── CSharpAnalyzerVerifier`1.cs
        │       ├── CSharpAnalyzerVerifier`1 Test.cs
        │       ├── CSharpCodeFixVerifier`2.cs
        │       ├── CSharpCodeFixVerifier`2 Test.cs
        │       ├── CSharpCodeRefactoringVerifier`1.cs
        │       ├── CSharpCodeRefactoringVerifier`1 Test.cs
        │       └── CSharpVerifierHelper.cs
        ├── ConsumerTests
        │   ├── BugFixTests.cs
        │   ├── ConsumerTests.csproj
        │   ├── CreationTests.cs
        │   ├── Deconstruction.cs
        │   ├── DeserializationTests
        │   │   ├── DeserializationValidationTests.cs
        │   │   ├── IntDeserializationTests.cs
        │   │   ├── SharedTypes.cs
        │   │   └── StringDeserializationValidationTests.cs
        │   ├── EnumAsDictionaryKeyTests
        │   │   ├── Bool.cs
        │   │   ├── Byte.cs
        │   │   ├── Char.cs
        │   │   ├── DateOnly.cs
        │   │   ├── DateTime.cs
        │   │   ├── DateTimeOffset.cs
        │   │   ├── Decimal.cs
        │   │   ├── Double.cs
        │   │   ├── Employee.cs
        │   │   ├── Guid.cs
        │   │   ├── Int.cs
        │   │   ├── Long.cs
        │   │   ├── Short.cs
        │   │   ├── Single.cs
        │   │   ├── String.cs
        │   │   └── TimeOnly.cs
        │   ├── EqualityTests.cs
        │   ├── FromNameTests.cs
        │   ├── Generated
        │   │   ├── Microsoft.Interop.JavaScript.JSImportGenerator
        │   │   │   ├── Microsoft.Interop.JavaScript.JSExportGenerator
        │   │   │   │   └── JSExports.g.cs
        │   │   │   └── Microsoft.Interop.JavaScript.JSImportGenerator
        │   │   │       └── JSImports.g.cs
        │   │   └── Microsoft.Interop.LibraryImportGenerator
        │   │       └── Microsoft.Interop.LibraryImportGenerator
        │   │           └── LibraryImports.g.cs
        │   ├── GenericDeserializationTests
        │   │   ├── IntDeserializationValidationTests.cs
        │   │   ├── SharedTypes.cs
        │   │   └── StringDeserializationTests.cs
        │   ├── GlobalUsings.cs
        │   ├── HashCodeTests.cs
        │   ├── IComparableTests.cs
        │   ├── ImpliedFieldNameTests.cs
        │   ├── IsExternalInit.cs
        │   ├── ListTests.cs
        │   ├── Members
        │   │   ├── InstanceFieldTests.cs
        │   │   ├── InstanceTests.cs
        │   │   └── Types.cs
        │   ├── ModuleInitialization.cs
        │   ├── ModuleInitializerAttribute.cs
        │   ├── SerializationAndConversionTests
        │   │   ├── ClassVos
        │   │   │   ├── AnyOtherTypeVoTests.cs
        │   │   │   ├── BoolVoTests.cs
        │   │   │   ├── ByteVoTests.cs
        │   │   │   ├── CharVoTests.cs
        │   │   │   ├── DateOnlyVoTests.cs
        │   │   │   ├── DateTimeOffsetVoTests.cs
        │   │   │   ├── DateTimeVoTests.cs
        │   │   │   ├── DecimalVoTests.cs
        │   │   │   ├── DoubleVoTests.cs
        │   │   │   ├── FloatVoTests.cs
        │   │   │   ├── GuidVoTests.cs
        │   │   │   ├── IntVoTests.cs
        │   │   │   ├── LongVoTests.cs
        │   │   │   ├── ShortVoTests.cs
        │   │   │   ├── StringVoTests.cs
        │   │   │   ├── TimeOnlyVoTests.cs
        │   │   │   └── Types
        │   │   │       ├── BoolVo.cs
        │   │   │       ├── ByteVo.cs
        │   │   │       ├── CharEnum.cs
        │   │   │       ├── DateOnlyVo.cs
        │   │   │       ├── DateTimeOffsetVo.cs
        │   │   │       ├── DateTimeVo.cs
        │   │   │       ├── DecimalVo.cs
        │   │   │       ├── DoubleVo.cs
        │   │   │       ├── FloatEnum.cs
        │   │   │       ├── FooVo.cs
        │   │   │       ├── GuidVo.cs
        │   │   │       ├── IntoVo.cs
        │   │   │       ├── LongVo.cs
        │   │   │       ├── ShortVo.cs
        │   │   │       ├── StringVo.cs
        │   │   │       └── TimeOnlyVo.cs
        │   │   ├── ComplexSerializationTests.cs
        │   │   └── CustomizationTests.cs
        │   ├── ToStringTests
        │   │   ├── BasicFunctionality.cs
        │   │   └── Derivation.cs
        │   ├── TryParseTests
        │   │   ├── Tests.cs
        │   │   └── Types.cs
        │   ├── Types
        │   │   ├── Age.cs
        │   │   ├── Anything.cs
        │   │   ├── CustomerType.cs
        │   │   ├── EscapedTypesAndNamespaces.cs
        │   │   ├── MyInt.cs
        │   │   ├── MyString.cs
        │   │   ├── NameType.cs
        │   │   └── ScoreType.cs
        │   ├── UseCultureAttribute.cs
        │   └── Usings.cs
        ├── Directory.Build.targets
        ├── Intellenum.Benchmarks
        │   └── Benchmarks
        │       ├── AccessingValuesBenchmarks.cs
        │       ├── Benchmarks.csproj
        │       ├── FromNameBenchmarks.cs
        │       ├── FromValueBenchmarks.cs
        │       ├── Generated
        │       │   └── NetEscapades.EnumGenerators
        │       │       └── NetEscapades.EnumGenerators.EnumGenerator
        │       │           ├── EGCustomerTypeExtensions_EnumExtensions.g.cs
        │       │           └── EnumExtensionsAttribute.g.cs
        │       ├── IsDefinedBenchmarks.cs
        │       ├── Program.cs
        │       └── ToStringBenchmarks.cs
        ├── Intellenum.Tests
        │   ├── CodeSectionsTests.cs
        │   ├── DummyNamedTypeSymbol.cs
        │   ├── IntellenumConfigurationTests.cs
        │   ├── Intellenum.Tests.csproj
        │   ├── MemberGenerationTests.cs
        │   └── TemplatesTests.cs
        ├── ScratchSnapshotTests
        │   ├── Explicit_members_tests.cs
        │   ├── GeneralTests.cs
        │   ├── ScratchSnapshotTests.csproj
        │   ├── SnapshotRunner.cs
        │   ├── snapshots
        │   │   └── snap-v7.0
        │   │       ├── Explicit_instance_tests.Explicit_instances_using_a_mixture_of_mechanisms.verified.txt
        │   │       ├── Explicit_instance_tests.Explicit_instances_using_Instance_attributes.verified.txt
        │   │       ├── Explicit_instance_tests.Explicit_instances_using_Instance_method.verified.txt
        │   │       ├── Explicit_instance_tests.Explicit_instances_using_new.verified.txt
        │   │       ├── Explicit_instance_tests.Explicit_instances_using_target_typed_new.verified.txt
        │   │       ├── Explicit_instance_tests.Explicit_instances.verified.txt
        │   │       ├── GeneralTests.Explicit_instances.verified.txt
        │   │       ├── GeneralTests.int_created_successfully.verified.txt
        │   │       ├── GeneralTests.Partial_partial_class_created_successfully.verified.txt
        │   │       ├── GeneralTests.Partial_struct_created_successfully.verified.txt
        │   │       └── GeneralTests.string_created_successfully.verified.txt
        │   ├── SnapshotUtils.cs
        │   ├── Usings.cs
        │   └── xunit.runner.json
        ├── Shared
        │   ├── ProjectBuilder.cs
        │   ├── Shared.csproj
        │   └── TargetFramework.cs
        ├── SnapshotTests
        │   ├── Config
        │   │   ├── GlobalConfigTests.cs
        │   │   └── LocalConfigTests.cs
        │   ├── ConversionPermutations
        │   │   ├── PermutationsOfConversions.cs
        │   │   └── PermutationsOfConversionsTests.cs
        │   ├── Escaping
        │   │   └── GenerationOfEscapedTypesTests.cs
        │   ├── Factory.cs
        │   ├── GeneralStuff
        │   │   ├── GeneralTests.cs
        │   │   └── snapshots
        │   │       ├── snap-v6.0
        │   │       │   ├── GeneralTests.Namespace_names_can_have_reserved_keywords.verified.txt
        │   │       │   ├── GeneralTests.No_namespace.verified.txt
        │   │       │   ├── GeneralTests.Partial_partial_class_created_successfully.verified.txt
        │   │       │   ├── GeneralTests.Partial_struct_created_successfully.verified.txt
        │   │       │   ├── GeneralTests.Produces_instances.verified.txt
        │   │       │   ├── GeneralTests.Validation_with_camelCased_validate_method.verified.txt
        │   │       │   └── GeneralTests.Validation_with_PascalCased_validate_method.verified.txt
        │   │       └── snap-v7.0
        │   │           ├── GeneralTests.Namespace_names_can_have_reserved_keywords.verified.txt
        │   │           ├── GeneralTests.No_namespace.verified.txt
        │   │           ├── GeneralTests.Partial_partial_class_created_successfully.verified.txt
        │   │           ├── GeneralTests.Partial_struct_created_successfully.verified.txt
        │   │           ├── GeneralTests.Produces_instances.verified.txt
        │   │           ├── GeneralTests.Validation_with_camelCased_validate_method.verified.txt
        │   │           └── GeneralTests.Validation_with_PascalCased_validate_method.verified.txt
        │   ├── GenerationPermutations
        │   │   └── GenerationPermutationTests.cs
        │   ├── GenericAttributeTests.cs
        │   ├── IsExternalInit.cs
        │   ├── Members
        │   │   └── MemberGenerationTests.cs
        │   ├── ModuleInitializerAttribute.cs
        │   ├── ModuleInitializer.cs
        │   ├── SnapshotRunner.cs
        │   ├── snapshots
        │   │   └── snap-v7.0
        │   │       ├── GenericAttributeTests.Instance_names_can_have_reserved_keywords.verified.txt
        │   │       ├── GenericAttributeTests.Namespace_names_can_have_reserved_keywords.verified.txt
        │   │       ├── GenericAttributeTests.No_namespace.verified.txt
        │   │       ├── GenericAttributeTests.Partial_struct_created_successfully.verified.txt
        │   │       ├── GenericAttributeTests.Produces_instances.verified.txt
        │   │       ├── GenericAttributeTests.Produces_instances_with_derived_attribute.verified.txt
        │   │       ├── GenericAttributeTests.Validation_with_camelCased_validate_method.verified.txt
        │   │       └── GenericAttributeTests.Validation_with_PascalCased_validate_method.verified.txt
        │   ├── SnapshotTests.csproj
        │   ├── SnapshotUtils.cs
        │   ├── TestHelper.cs
        │   ├── ToString
        │   │   └── ToStringGenerationTests.cs
        │   ├── TryParseHoisting
        │   │   └── TryParseHoistingGenerationTests.cs
        │   ├── UseCultureAttribute.cs
        │   ├── Usings.cs
        │   └── xunit.runner.json
        └── Testbench
            ├── Class1.cs
            ├── Program.cs
            ├── Properties
            │   └── launchSettings.json
            ├── Testbench.csproj
            └── Testbench.v3.ncrunchproject

88 directories, 436 files

标签:

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警