Skip to content

[Feature]: Implement DefinitionExtensions #117

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

Checklist

  • List<IUsage> ComputeDirectedUsage(this IDefinition)
  • List<IActionUsage> ComputeOwnedAction(this IDefinition)
  • List<IAllocationUsage> ComputeOwnedAllocation(this IDefinition)
  • List<IAnalysisCaseUsage> ComputeOwnedAnalysisCase(this IDefinition)
  • List<IAttributeUsage> ComputeOwnedAttribute(this IDefinition)
  • List<ICalculationUsage> ComputeOwnedCalculation(this IDefinition)
  • List<ICaseUsage> ComputeOwnedCase(this IDefinition)
  • List<IConcernUsage> ComputeOwnedConcern(this IDefinition)
  • List<IConnectorAsUsage> ComputeOwnedConnection(this IDefinition)
  • List<IConstraintUsage> ComputeOwnedConstraint(this IDefinition)
  • List<IEnumerationUsage> ComputeOwnedEnumeration(this IDefinition)
  • List<IFlowUsage> ComputeOwnedFlow(this IDefinition)
  • List<IInterfaceUsage> ComputeOwnedInterface(this IDefinition)
  • List<IItemUsage> ComputeOwnedItem(this IDefinition)
  • List<IMetadataUsage> ComputeOwnedMetadata(this IDefinition)
  • List<IOccurrenceUsage> ComputeOwnedOccurrence(this IDefinition)
  • List<IPartUsage> ComputeOwnedPart(this IDefinition)
  • List<IPortUsage> ComputeOwnedPort(this IDefinition)
  • List<IReferenceUsage> ComputeOwnedReference(this IDefinition)
  • List<IRenderingUsage> ComputeOwnedRendering(this IDefinition)
  • List<IRequirementUsage> ComputeOwnedRequirement(this IDefinition)
  • List<IStateUsage> ComputeOwnedState(this IDefinition)
  • List<ITransitionUsage> ComputeOwnedTransition(this IDefinition)
  • List<IUsage> ComputeOwnedUsage(this IDefinition)
  • List<IUseCaseUsage> ComputeOwnedUseCase(this IDefinition)
  • List<IVerificationCaseUsage> ComputeOwnedVerificationCase(this IDefinition)
  • List<IViewUsage> ComputeOwnedView(this IDefinition)
  • List<IViewpointUsage> ComputeOwnedViewpoint(this IDefinition)
  • List<IUsage> ComputeUsage(this IDefinition)
  • List<IUsage> ComputeVariant(this IDefinition)
  • List<IVariantMembership> ComputeVariantMembership(this IDefinition)

System Configuration

  • SysML2.NET version: 0.19.0
  • Source file: SysML2.NET/Extend/DefinitionExtensions.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