Repository navigation
[Feature]: Implement FeatureExtensions #131
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 FeatureExtensions class in SysML2.NET/Extend/FeatureExtensions.cs contains 16 extension method(s) that compute derived properties for the IFeature interface. These methods currently throw NotSupportedException and need to be implemented.
Checklist
-
List<IFeature> ComputeChainingFeature(this IFeature) -
IFeature ComputeCrossFeature(this IFeature) -
IType ComputeEndOwningType(this IFeature) -
IFeature ComputeFeatureTarget(this IFeature) -
List<IType> ComputeFeaturingType(this IFeature) -
ICrossSubsetting ComputeOwnedCrossSubsetting(this IFeature) -
List<IFeatureChaining> ComputeOwnedFeatureChaining(this IFeature) -
List<IFeatureInverting> ComputeOwnedFeatureInverting(this IFeature) -
List<IRedefinition> ComputeOwnedRedefinition(this IFeature) -
IReferenceSubsetting ComputeOwnedReferenceSubsetting(this IFeature) -
List<ISubsetting> ComputeOwnedSubsetting(this IFeature) -
List<ITypeFeaturing> ComputeOwnedTypeFeaturing(this IFeature) -
List<IFeatureTyping> ComputeOwnedTyping(this IFeature) -
IFeatureMembership ComputeOwningFeatureMembership(this IFeature) -
IType ComputeOwningType(this IFeature) -
List<IType> ComputeType(this IFeature) -
FeatureDirectionKind? ComputeDirectionForOperation(this IFeature, IType type) -
string ComputeRedefinedEffectiveShortNameOperation(this IFeature) -
string ComputeRedefinedEffectiveNameOperation(this IFeature) -
IFeature ComputeNamingFeatureOperation(this IFeature) -
List<IType> ComputeRedefinedSupertypesOperation(this IFeature, bool excludeImplied) -
bool ComputeRedefinesOperation(this IFeature, IFeature redefinedFeature) -
bool ComputeRedefinesFromLibraryOperation(this IFeature, string libraryFeatureName) -
bool ComputeSubsetsChainOperation(this IFeature, IFeature first, IFeature second) -
bool ComputeRedefinedIsCompatibleWithOperation(this IFeature, IType otherType) -
List<IFeature> ComputeTypingFeaturesOperation(this IFeature) -
List<IType> ComputeAsCartesianProductOperation(this IFeature) -
bool ComputeIsCartesianProductOperation(this IFeature) -
bool ComputeIsOwnedCrossFeatureOperation(this IFeature) -
IFeature ComputeOwnedCrossFeatureOperation(this IFeature) -
List<IFeature> ComputeAllRedefinedFeaturesOperation(this IFeature) -
bool ComputeIsFeaturedWithinOperation(this IFeature, IType type) -
bool ComputeCanAccessOperation(this IFeature, IFeature feature) -
bool ComputeIsFeaturingTypeOperation(this IFeature, IType type)
System Configuration
- SysML2.NET version: 0.19.0
- Source file:
SysML2.NET/Extend/FeatureExtensions.cs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
Fix #131: Implementation of all dervied properties and operation of I…
Fix #131: Implementation of all dervied properties and operation of I…