Atl2NmfSBenchmark/Metamodels/Make.cs
/// <summary>
/// Gets the relative URI fragment for the given child model element
/// </summary>
/// <returns>A fragment of the relative URI</returns>
/// <param name="element">The element that should be looked for</param>
Gets the relative URI fragment for the given child model element
Gets the relative URI fragment for the given child model element
protected override string GetRelativePathForNonIdentifiedChild(IModelElement element)
        {
            int dependenciesIndex = ModelHelper.IndexOfReference(this.Dependencies, element);
            if ((dependenciesIndex != -1))
            {
                return ModelHelper.CreatePath("dependencies", dependenciesIndex);
            }
            int shellLinesIndex = ModelHelper.IndexOfReference(this.ShellLines, element);
            if ((shellLinesIndex != -1))
            {
                return ModelHelper.CreatePath("shellLines", shellLinesIndex);
            }
            return base.GetRelativePathForNonIdentifiedChild(element);
        }
protected override string GetRelativePathForNonIdentifiedChild ( IModelElement element ) { int dependenciesIndex = ModelHelper . IndexOfReference ( this . Dependencies , element ) ; if ( ( dependenciesIndex != - 1 ) ) { return ModelHelper . CreatePath ( " " , dependenciesIndex ) ; } int shellLinesIndex = ModelHelper . IndexOfReference ( this . ShellLines , element ) ; if ( ( shellLinesIndex != - 1 ) ) { return ModelHelper . CreatePath ( " " , shellLinesIndex ) ; } return base . GetRelativePathForNonIdentifiedChild ( element ) ; }
Gets the relative URI fragment for the given child model element
Gets the relative URI fragment for the given child model element
A fragment of the relative URI
A fragment of the relative URI
element
IModelElement
The element that should be looked for
The element that should be looked for