Skip to content

[Feature]: Implement ElementExtensions #121

@samatstariongroup

Description

@samatstariongroup

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the SysML2.NET
  • I have searched open and closed issues to ensure it has not already been reported

Description

The ElementExtensions class in SysML2.NET/Extend/ElementExtensions.cs contains 11 extension method(s) that compute derived properties for the IElement interface. These methods currently throw NotSupportedException and need to be implemented.

Checklist

  • List<IDocumentation> ComputeDocumentation(this IElement)
  • bool ComputeIsLibraryElement(this IElement)
  • string ComputeName(this IElement)
  • List<IAnnotation> ComputeOwnedAnnotation(this IElement)
  • List<IElement> ComputeOwnedElement(this IElement)
  • IElement ComputeOwner(this IElement)
  • IOwningMembership ComputeOwningMembership(this IElement)
  • INamespace ComputeOwningNamespace(this IElement)
  • string ComputeQualifiedName(this IElement)
  • string ComputeShortName(this IElement)
  • List<ITextualRepresentation> ComputeTextualRepresentation(this IElement)

System Configuration

  • SysML2.NET version: 0.19.0

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions