Skip to content

Commit

Permalink
Update UmlProperty.cs (#10)
Browse files Browse the repository at this point in the history
* Update UmlProperty.cs

* Update MtconnectTranspiler.csproj
  • Loading branch information
tbm0115 authored Mar 25, 2023
1 parent d030d4d commit 7717e17
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion MtconnectTranspiler/MtconnectTranspiler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Title>MTConnect Transpiler</Title>
<Version>1.0.0</Version>
<Version>1.0.1</Version>
<Authors>mtconnect, tbm0115</Authors>
<Company>MTConnect Institute; TAMS;</Company>
<Description>A library capable of parsing an XMI for the MTConnect Standard and passing it to an implemented transpiler.</Description>
Expand Down
8 changes: 8 additions & 0 deletions MtconnectTranspiler/Xmi/UML/UmlProperty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ public class UmlProperty : OwnedAttribute
[XmlElement(ElementName = XmlHelper.XmiStructure.EXTENSION, Namespace = XmlHelper.XmiNamespace)]
public XmiExtension? Extension { get; set; }

/// <summary>
/// <c>visibility</c> attribute
/// </summary>
[XmlAttribute(AttributeName = XmlHelper.XmiStructure.visibility, Namespace = "")]
private string _visibility { get; set; } = "public";
/// <inheritdoc cref="_visibility"/>
public string Visibility => _visibility;

/// <summary>
/// Collection of <inheritdoc cref="MtconnectTranspiler.Xmi.UML.UmlComment"/>
/// </summary>
Expand Down

0 comments on commit 7717e17

Please sign in to comment.