Skip to content

[Feature]: Implement MetadataFeatureExtensions #154

@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 MetadataFeatureExtensions class in SysML2.NET/Extend/MetadataFeatureExtensions.cs contains 1 extension method(s) that compute derived properties for the IMetadataFeature interface. These methods currently throw NotSupportedException and need to be implemented.

Checklist

  • IMetaclass ComputeMetaclass(this IMetadataFeature)
  • List<IElement> ComputeEvaluateFeatureOperation(this IMetadataFeature, IFeature baseFeature)
  • bool ComputeIsSemanticOperation(this IMetadataFeature)
  • bool ComputeIsSyntacticOperation(this IMetadataFeature)
  • IElement ComputeSyntaxElementOperation(this IMetadataFeature) — deferred: requires a MOF reflective metaclass registry (runtime MetadataFeature → reflected IElement) not present in this SDK. Follow-up issue required.

System Configuration

  • SysML2.NET version: 0.19.0
  • Source file: SysML2.NET/Extend/MetadataFeatureExtensions.cs

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions