Repository navigation
[Feature]: Implement TypeExtensions #192
Copy link
Copy link
Closed
Description
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 TypeExtensions class in SysML2.NET/Extend/TypeExtensions.cs contains 22 extension method(s) that compute derived properties for the IType interface. These methods currently throw NotSupportedException and need to be implemented.
Checklist
-
List<IType> ComputeDifferencingType(this IType) -
List<IFeature> ComputeDirectedFeature(this IType) -
List<IFeature> ComputeEndFeature(this IType) -
List<IFeature> ComputeFeature(this IType) -
List<IFeatureMembership> ComputeFeatureMembership(this IType) -
List<IFeature> ComputeInheritedFeature(this IType) -
List<IMembership> ComputeInheritedMembership(this IType) -
List<IFeature> ComputeInput(this IType) -
List<IType> ComputeIntersectingType(this IType) -
bool ComputeIsConjugated(this IType) -
IMultiplicity ComputeMultiplicity(this IType) -
List<IFeature> ComputeOutput(this IType) -
IConjugation ComputeOwnedConjugator(this IType) -
List<IDifferencing> ComputeOwnedDifferencing(this IType) -
List<IDisjoining> ComputeOwnedDisjoining(this IType) -
List<IFeature> ComputeOwnedEndFeature(this IType) -
List<IFeature> ComputeOwnedFeature(this IType) -
List<IFeatureMembership> ComputeOwnedFeatureMembership(this IType) -
List<IIntersecting> ComputeOwnedIntersecting(this IType) -
List<ISpecialization> ComputeOwnedSpecialization(this IType) -
List<IUnioning> ComputeOwnedUnioning(this IType) -
List<IType> ComputeUnioningType(this IType) -
List<IMembership> ComputeRedefinedVisibleMembershipsOperation(this IType, List<INamespace>, bool, bool) -
List<IMembership> ComputeInheritedMembershipsOperation(this IType, List<INamespace>, List<IType>, bool) -
List<IMembership> ComputeInheritableMembershipsOperation(this IType, List<INamespace>, List<IType>, bool) -
List<IMembership> ComputeNonPrivateMembershipsOperation(this IType, List<INamespace>, List<IType>, bool) -
List<IMembership> ComputeRemoveRedefinedFeaturesOperation(this IType, List<IMembership>) -
List<IFeature> ComputeAllRedefinedFeaturesOfOperation(this IType, IMembership) -
FeatureDirectionKind? ComputeDirectionOfOperation(this IType, IFeature) -
FeatureDirectionKind? ComputeDirectionOfExcludingOperation(this IType, IFeature, List<IType>) -
List<IType> ComputeSupertypesOperation(this IType, bool) -
List<IType> ComputeAllSupertypesOperation(this IType) -
bool ComputeSpecializesOperation(this IType, IType) -
bool ComputeSpecializesFromLibraryOperation(this IType, string) -
bool ComputeIsCompatibleWithOperation(this IType, IType) -
List<IMultiplicity> ComputeMultiplicitiesOperation(this IType)
System Configuration
- SysML2.NET version: 0.19.0
- Source file:
SysML2.NET/Extend/TypeExtensions.cs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
Fix #192: Implementation of TypeExtensions.cs
Fix #192: Implementation of TypeExtensions.cs
Fix #192: Implementation of TypeExtensions.cs
192 feature implement typeextensions (#231)