├── .editorconfig ├── .gitattributes ├── .gitignore ├── Directory.Build.props ├── LICENSE ├── README.md ├── README.zh-CN.md ├── SimpleFactoryGenerator.SourceGenerator ├── AttributeItem.cs ├── DiagnosticDescriptors.cs ├── Extensions.cs ├── FactoryInfo.cs ├── Generator.cs ├── ImportTypeTemplate.cs ├── ProductInfo.cs ├── SimpleFactoryGenerator.SourceGenerator.csproj └── TemplateExtensions.cs ├── SimpleFactoryGenerator.Tests.Other ├── IProductCrossAssembly.cs ├── Product1InOtherAssembly.cs ├── Product2InOtherAssembly.cs ├── ProductCrossAssemblyAttribute.cs └── SimpleFactoryGenerator.Tests.Other.csproj ├── SimpleFactoryGenerator.Tests ├── Product1InThisAssembly.cs ├── Product2InOtherAssembly.cs ├── SimpleFactoryGenerator.Tests.csproj └── SimpleFactoryTests.cs ├── SimpleFactoryGenerator.sln └── SimpleFactoryGenerator ├── Extensions.cs ├── ISimpleFactory.cs ├── ITags.cs ├── ProductAttribute.cs ├── SimpleFactory.cs └── SimpleFactoryGenerator.csproj /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/.gitignore -------------------------------------------------------------------------------- /Directory.Build.props: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/Directory.Build.props -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/README.md -------------------------------------------------------------------------------- /README.zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/README.zh-CN.md -------------------------------------------------------------------------------- /SimpleFactoryGenerator.SourceGenerator/AttributeItem.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.SourceGenerator/AttributeItem.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.SourceGenerator/DiagnosticDescriptors.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.SourceGenerator/DiagnosticDescriptors.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.SourceGenerator/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.SourceGenerator/Extensions.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.SourceGenerator/FactoryInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.SourceGenerator/FactoryInfo.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.SourceGenerator/Generator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.SourceGenerator/Generator.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.SourceGenerator/ImportTypeTemplate.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.SourceGenerator/ImportTypeTemplate.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.SourceGenerator/ProductInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.SourceGenerator/ProductInfo.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.SourceGenerator/SimpleFactoryGenerator.SourceGenerator.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.SourceGenerator/SimpleFactoryGenerator.SourceGenerator.csproj -------------------------------------------------------------------------------- /SimpleFactoryGenerator.SourceGenerator/TemplateExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.SourceGenerator/TemplateExtensions.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.Tests.Other/IProductCrossAssembly.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.Tests.Other/IProductCrossAssembly.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.Tests.Other/Product1InOtherAssembly.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.Tests.Other/Product1InOtherAssembly.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.Tests.Other/Product2InOtherAssembly.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.Tests.Other/Product2InOtherAssembly.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.Tests.Other/ProductCrossAssemblyAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.Tests.Other/ProductCrossAssemblyAttribute.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.Tests.Other/SimpleFactoryGenerator.Tests.Other.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.Tests.Other/SimpleFactoryGenerator.Tests.Other.csproj -------------------------------------------------------------------------------- /SimpleFactoryGenerator.Tests/Product1InThisAssembly.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.Tests/Product1InThisAssembly.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.Tests/Product2InOtherAssembly.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.Tests/Product2InOtherAssembly.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.Tests/SimpleFactoryGenerator.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.Tests/SimpleFactoryGenerator.Tests.csproj -------------------------------------------------------------------------------- /SimpleFactoryGenerator.Tests/SimpleFactoryTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.Tests/SimpleFactoryTests.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator.sln -------------------------------------------------------------------------------- /SimpleFactoryGenerator/Extensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator/Extensions.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator/ISimpleFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator/ISimpleFactory.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator/ITags.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator/ITags.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator/ProductAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator/ProductAttribute.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator/SimpleFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator/SimpleFactory.cs -------------------------------------------------------------------------------- /SimpleFactoryGenerator/SimpleFactoryGenerator.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DingpingZhang/SimpleFactoryGenerator/HEAD/SimpleFactoryGenerator/SimpleFactoryGenerator.csproj --------------------------------------------------------------------------------