Example #1
0
        public void Generate()
        {
            var generateService = new GenerateService();

            generateService.Generate(this.className, this.appNamespace, this.namespaceList, this.pathUrl, TypeAttributes.Public | TypeAttributes.Class, true, false, this.interfaceName, constructorParametTypeName, constructorParametName, PropertyParametName);
            generateService.Generate(this.interfaceName, this.iAppNamespace, this.namespaceList, this.iPathUrl, TypeAttributes.Public | TypeAttributes.Interface);
        }
Example #2
0
        public void Generate()
        {
            var generateService = new GenerateService();

            generateService.Generate(this.className, this.appNamespace, this.namespaceList, this.pathUrl, TypeAttributes.Public | TypeAttributes.Class, false, false, this.interfaceName);
            generateService.Generate(this.interfaceName, this.iAppNamespace, this.namespaceList, this.iPathUrl, TypeAttributes.Public | TypeAttributes.Interface);
        }