Skip to content

Encapsulate an environment block in a class #11

@delphidabbler

Description

@delphidabbler

I really don't like how messy the TPJEnvironmentVars.CreateBlock method is.

It would be much better to encapsulate the whole messy business in a separate class and provide a Memory property that points to the required block.

TPJEnvironmentVars.CreateBlock could then be overridden to accept this new object as a parameter if it was thought necessary to retain such a method. The old TPJEnvironmentVars.CreateBlock could then be deprecated.

Metadata

Metadata

Assignees

Labels

acceptedIssue accepted as validenhancementNew feature or requeststartedWork has started on this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions