Skip to content

Commit ef84a94

Browse files
Bump to uml4net 8.0.0 to fix multiplicity on parameter issue (#210)
* Bump to uml4net 8.0.0 to fix multiplicity on parameter issue * Fix SLN
1 parent f993f14 commit ef84a94

File tree

100 files changed

+535
-621
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+535
-621
lines changed

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IElement.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public partial interface IElement
191191
/// notation (i.e., surrounded by single quote characters and with special characters escaped).
192192
/// </summary>
193193
/// <returns>
194-
/// The expected string
194+
/// The expected <see cref="string" />
195195
/// </returns>
196196
string EscapedName() => this.ComputeEscapedNameOperation();
197197

@@ -200,23 +200,23 @@ public partial interface IElement
200200
/// declaredShortName.
201201
/// </summary>
202202
/// <returns>
203-
/// The expected string
203+
/// The expected <see cref="string" />
204204
/// </returns>
205205
string EffectiveShortName() => this.ComputeEffectiveShortNameOperation();
206206

207207
/// <summary>
208208
/// Return an effective name for this Element. By default this is the same as its declaredName.
209209
/// </summary>
210210
/// <returns>
211-
/// The expected string
211+
/// The expected <see cref="string" />
212212
/// </returns>
213213
string EffectiveName() => this.ComputeEffectiveNameOperation();
214214

215215
/// <summary>
216216
/// By default, return the library Namespace of the owningRelationship of this Element, if it has one.
217217
/// </summary>
218218
/// <returns>
219-
/// The expected INamespace
219+
/// The expected <see cref="INamespace" />
220220
/// </returns>
221221
INamespace LibraryNamespace() => this.ComputeLibraryNamespaceOperation();
222222

@@ -230,7 +230,7 @@ public partial interface IElement
230230
/// to use owningRelatedElement when appropriate.)
231231
/// </summary>
232232
/// <returns>
233-
/// The expected string
233+
/// The expected <see cref="string" />
234234
/// </returns>
235235
string Path() => this.ComputePathOperation();
236236
}

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFeature.cs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public partial interface IFeature : IType
269269
/// No documentation provided
270270
/// </param>
271271
/// <returns>
272-
/// The expected FeatureDirectionKind
272+
/// The expected <see cref="FeatureDirectionKind" />
273273
/// </returns>
274274
FeatureDirectionKind DirectionFor(IType type) => this.ComputeDirectionForOperation(type);
275275

@@ -278,7 +278,7 @@ public partial interface IFeature : IType
278278
/// effective shortName of the Feature returned by the namingFeature() operation, if any.
279279
/// </summary>
280280
/// <returns>
281-
/// The expected string
281+
/// The expected <see cref="string" />
282282
/// </returns>
283283
new string EffectiveShortName() => this.ComputeRedefinedEffectiveShortNameOperation();
284284

@@ -288,7 +288,7 @@ public partial interface IFeature : IType
288288
/// operation, if any.
289289
/// </summary>
290290
/// <returns>
291-
/// The expected string
291+
/// The expected <see cref="string" />
292292
/// </returns>
293293
new string EffectiveName() => this.ComputeRedefinedEffectiveNameOperation();
294294

@@ -297,7 +297,7 @@ public partial interface IFeature : IType
297297
/// ownedRedefinition, if any.
298298
/// </summary>
299299
/// <returns>
300-
/// The expected IFeature
300+
/// The expected <see cref="IFeature" />
301301
/// </returns>
302302
IFeature NamingFeature() => this.ComputeNamingFeatureOperation();
303303

@@ -307,9 +307,9 @@ public partial interface IFeature : IType
307307
/// No documentation provided
308308
/// </param>
309309
/// <returns>
310-
/// The expected IType
310+
/// The expected collection of <see cref="IType" />
311311
/// </returns>
312-
new IType Supertypes(bool excludeImplied) => this.ComputeRedefinedSupertypesOperation(excludeImplied);
312+
new List<IType> Supertypes(bool excludeImplied) => this.ComputeRedefinedSupertypesOperation(excludeImplied);
313313

314314
/// <summary>
315315
/// Check whether this Feature directly redefines the given redefinedFeature.
@@ -318,7 +318,7 @@ public partial interface IFeature : IType
318318
/// No documentation provided
319319
/// </param>
320320
/// <returns>
321-
/// The expected bool
321+
/// The expected <see cref="bool" />
322322
/// </returns>
323323
bool Redefines(IFeature redefinedFeature) => this.ComputeRedefinesOperation(redefinedFeature);
324324

@@ -330,7 +330,7 @@ public partial interface IFeature : IType
330330
/// No documentation provided
331331
/// </param>
332332
/// <returns>
333-
/// The expected bool
333+
/// The expected <see cref="bool" />
334334
/// </returns>
335335
bool RedefinesFromLibrary(string libraryFeatureName) => this.ComputeRedefinesFromLibraryOperation(libraryFeatureName);
336336

@@ -345,7 +345,7 @@ public partial interface IFeature : IType
345345
/// No documentation provided
346346
/// </param>
347347
/// <returns>
348-
/// The expected bool
348+
/// The expected <see cref="bool" />
349349
/// </returns>
350350
bool SubsetsChain(IFeature first, IFeature second) => this.ComputeSubsetsChainOperation(first, second);
351351

@@ -361,7 +361,7 @@ public partial interface IFeature : IType
361361
/// No documentation provided
362362
/// </param>
363363
/// <returns>
364-
/// The expected bool
364+
/// The expected <see cref="bool" />
365365
/// </returns>
366366
new bool IsCompatibleWith(IType otherType) => this.ComputeRedefinedIsCompatibleWithOperation(otherType);
367367

@@ -376,33 +376,33 @@ public partial interface IFeature : IType
376376
/// as the Feature.
377377
/// </summary>
378378
/// <returns>
379-
/// The expected IFeature
379+
/// The expected collection of <see cref="IFeature" />
380380
/// </returns>
381-
IFeature TypingFeatures() => this.ComputeTypingFeaturesOperation();
381+
List<IFeature> TypingFeatures() => this.ComputeTypingFeaturesOperation();
382382

383383
/// <summary>
384384
/// If isCartesianProduct is true, then return the list of Types whose Cartesian product can be
385385
/// represented by this Feature. (If isCartesianProduct is not true, the operation will still return a
386386
/// valid value, it will just not represent anything useful.)
387387
/// </summary>
388388
/// <returns>
389-
/// The expected IType
389+
/// The expected collection of <see cref="IType" />
390390
/// </returns>
391-
IType AsCartesianProduct() => this.ComputeAsCartesianProductOperation();
391+
List<IType> AsCartesianProduct() => this.ComputeAsCartesianProductOperation();
392392

393393
/// <summary>
394394
/// Check whether this Feature can be used to represent a Cartesian product of Types.
395395
/// </summary>
396396
/// <returns>
397-
/// The expected bool
397+
/// The expected <see cref="bool" />
398398
/// </returns>
399399
bool IsCartesianProduct() => this.ComputeIsCartesianProductOperation();
400400

401401
/// <summary>
402402
/// Return whether this Feature is an owned cross Feature of an end Feature.
403403
/// </summary>
404404
/// <returns>
405-
/// The expected bool
405+
/// The expected <see cref="bool" />
406406
/// </returns>
407407
bool IsOwnedCrossFeature() => this.ComputeIsOwnedCrossFeatureOperation();
408408

@@ -412,17 +412,17 @@ public partial interface IFeature : IType
412412
/// is not a FeatureMembership. If this exists, it is the crossFeature of the end Feature.
413413
/// </summary>
414414
/// <returns>
415-
/// The expected IFeature
415+
/// The expected <see cref="IFeature" />
416416
/// </returns>
417417
IFeature OwnedCrossFeature() => this.ComputeOwnedCrossFeatureOperation();
418418

419419
/// <summary>
420420
/// Return this Feature and all the Features that are directly or indirectly Redefined by this Feature.
421421
/// </summary>
422422
/// <returns>
423-
/// The expected IFeature
423+
/// The expected collection of <see cref="IFeature" />
424424
/// </returns>
425-
IFeature AllRedefinedFeatures() => this.ComputeAllRedefinedFeaturesOperation();
425+
List<IFeature> AllRedefinedFeatures() => this.ComputeAllRedefinedFeaturesOperation();
426426

427427
/// <summary>
428428
/// Return if the featuringTypes of this Feature are compatible with the given type. If type is null,
@@ -435,7 +435,7 @@ public partial interface IFeature : IType
435435
/// No documentation provided
436436
/// </param>
437437
/// <returns>
438-
/// The expected bool
438+
/// The expected <see cref="bool" />
439439
/// </returns>
440440
bool IsFeaturedWithin(IType type) => this.ComputeIsFeaturedWithinOperation(type);
441441

@@ -447,7 +447,7 @@ public partial interface IFeature : IType
447447
/// No documentation provided
448448
/// </param>
449449
/// <returns>
450-
/// The expected bool
450+
/// The expected <see cref="bool" />
451451
/// </returns>
452452
bool CanAccess(IFeature feature) => this.ComputeCanAccessOperation(feature);
453453

@@ -461,7 +461,7 @@ public partial interface IFeature : IType
461461
/// No documentation provided
462462
/// </param>
463463
/// <returns>
464-
/// The expected bool
464+
/// The expected <see cref="bool" />
465465
/// </returns>
466466
bool IsFeaturingType(IType type) => this.ComputeIsFeaturingTypeOperation(type);
467467
}

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IMembership.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public partial interface IMembership : IRelationship
9999
/// No documentation provided
100100
/// </param>
101101
/// <returns>
102-
/// The expected bool
102+
/// The expected <see cref="bool" />
103103
/// </returns>
104104
bool IsDistinguishableFrom(IMembership other) => this.ComputeIsDistinguishableFromOperation(other);
105105
}

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IMultiplicityRange.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public partial interface IMultiplicityRange : IMultiplicity
8585
/// No documentation provided
8686
/// </param>
8787
/// <returns>
88-
/// The expected bool
88+
/// The expected <see cref="bool" />
8989
/// </returns>
9090
bool HasBounds(int lower, string upper) => this.ComputeHasBoundsOperation(lower, upper);
9191

@@ -97,7 +97,7 @@ public partial interface IMultiplicityRange : IMultiplicity
9797
/// No documentation provided
9898
/// </param>
9999
/// <returns>
100-
/// The expected string
100+
/// The expected <see cref="string" />
101101
/// </returns>
102102
string ValueOf(IExpression bound) => this.ComputeValueOfOperation(bound);
103103
}

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IOwningMembership.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public partial interface IOwningMembership : IMembership
7777
/// return the path of the OwningMembership as specified for a Relationship in general.
7878
/// </summary>
7979
/// <returns>
80-
/// The expected string
80+
/// The expected <see cref="string" />
8181
/// </returns>
8282
new string Path() => this.ComputeRedefinedPathOperation();
8383
}

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IRelationship.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public partial interface IRelationship : IElement
9797
/// library element.
9898
/// </summary>
9999
/// <returns>
100-
/// The expected INamespace
100+
/// The expected <see cref="INamespace" />
101101
/// </returns>
102102
new INamespace LibraryNamespace() => this.ComputeRedefinedLibraryNamespaceOperation();
103103

@@ -108,7 +108,7 @@ public partial interface IRelationship : IElement
108108
/// general.
109109
/// </summary>
110110
/// <returns>
111-
/// The expected string
111+
/// The expected <see cref="string" />
112112
/// </returns>
113113
new string Path() => this.ComputeRedefinedPathOperation();
114114
}

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IUsage.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ public partial interface IUsage : IFeature
346346
/// ownedReferenceSubsetting.
347347
/// </summary>
348348
/// <returns>
349-
/// The expected IFeature
349+
/// The expected <see cref="IFeature" />
350350
/// </returns>
351351
new IFeature NamingFeature() => this.ComputeRedefinedNamingFeatureOperation();
352352

@@ -355,7 +355,7 @@ public partial interface IUsage : IFeature
355355
/// ownedReferenceSubsetting.
356356
/// </summary>
357357
/// <returns>
358-
/// The expected IFeature
358+
/// The expected <see cref="IFeature" />
359359
/// </returns>
360360
IFeature ReferencedFeatureTarget() => this.ComputeReferencedFeatureTargetOperation();
361361
}

SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtend/ElementExtensions.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ internal static List<ITextualRepresentation> ComputeTextualRepresentation(this I
207207
/// The subject <see cref="IElement"/>
208208
/// </param>
209209
/// <returns>
210-
/// The expected string
210+
/// The expected <see cref="string" />
211211
/// </returns>
212212
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
213213
internal static string ComputeEscapedNameOperation(this IElement elementSubject)
@@ -223,7 +223,7 @@ internal static string ComputeEscapedNameOperation(this IElement elementSubject)
223223
/// The subject <see cref="IElement"/>
224224
/// </param>
225225
/// <returns>
226-
/// The expected string
226+
/// The expected <see cref="string" />
227227
/// </returns>
228228
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
229229
internal static string ComputeEffectiveShortNameOperation(this IElement elementSubject)
@@ -238,7 +238,7 @@ internal static string ComputeEffectiveShortNameOperation(this IElement elementS
238238
/// The subject <see cref="IElement"/>
239239
/// </param>
240240
/// <returns>
241-
/// The expected string
241+
/// The expected <see cref="string" />
242242
/// </returns>
243243
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
244244
internal static string ComputeEffectiveNameOperation(this IElement elementSubject)
@@ -253,7 +253,7 @@ internal static string ComputeEffectiveNameOperation(this IElement elementSubjec
253253
/// The subject <see cref="IElement"/>
254254
/// </param>
255255
/// <returns>
256-
/// The expected INamespace
256+
/// The expected <see cref="INamespace" />
257257
/// </returns>
258258
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
259259
internal static INamespace ComputeLibraryNamespaceOperation(this IElement elementSubject)
@@ -274,7 +274,7 @@ internal static INamespace ComputeLibraryNamespaceOperation(this IElement elemen
274274
/// The subject <see cref="IElement"/>
275275
/// </param>
276276
/// <returns>
277-
/// The expected string
277+
/// The expected <see cref="string" />
278278
/// </returns>
279279
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
280280
internal static string ComputePathOperation(this IElement elementSubject)

0 commit comments

Comments
 (0)