public void Operate() { var toSyntax = new InstanceToTypeFactoryDefinitionsFileWriter <T>(Logger, MetadataResolver); toSyntax.Generate(MetadataResolver.AbsoluteNamespaceForOutput, Entities.WhereIsNotBuildOnly(), PathResolver.FactoryOutputFile(MetadataResolver, "Types")); }
public Dictionary <T, MetadataCollection> Operate(Dictionary <T, MetadataCollection> entities) { var toConstants = new InstanceToTypeFactoryNamesFileWriter <T>(Logger, MetadataResolver); toConstants.Generate(MetadataResolver.AbsoluteNamespaceForOutput, entities.WhereIsNotBuildOnly(), PathResolver.FactoryOutputFile(MetadataResolver, "Names")); return(entities); }