Skip to content

Convert method naming convention  #222

Open
@peterjamesnugent

Description

@peterjamesnugent

Broken rules:

Current naming convention is ToBar, ToPoint, ToBarDistributedLoad etc.

Suggestions to restore compliance:

Change method names for Convert to FromLusas

We ran in to this problem before, because Lusas stores all loads under a single class IFLoading, therefore all Convert methods for loads would have the same input parameters leading to compiling errors. Therefore, we broke all Convert methods down to ToBarPointLoad, ToAreaUniformlyDistributed etc.

So instead of using FromLusas we could be specific:

  • FromLusasPoint
  • FromLusasLine

Using FromLusas[Object type used in Lusas LPI]

Would this be preferable @FraserGreenroyd?

Metadata

Metadata

Assignees

Labels

severity:lowDoesn't stop/slow current workflowsize:SMeasured in minutestype:complianceNon-conforming to code guidelines

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions