-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to XmiTranspilerExtension to write to files
- Allow for overwriting files using the `XmiTranspilerExtension.WriteToFile` method - Added comments - Added pre-emptive support for v2.2 of the standard
- Loading branch information
Showing
5 changed files
with
51 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,23 @@ | ||
namespace MtconnectTranspiler.Contracts | ||
{ | ||
/// <summary> | ||
/// Generic reference to a <c>xmi</c> element | ||
/// </summary> | ||
public interface IXmiElement | ||
{ | ||
/// <summary> | ||
/// Represents the <c>xmi:id</c> attribute on the element | ||
/// </summary> | ||
string Id { get; set; } | ||
|
||
/// <summary> | ||
/// Represents the <c>name</c> attribute on the element | ||
/// </summary> | ||
string Name { get; set; } | ||
|
||
/// <summary> | ||
/// Represents the <c>xmi:type</c> attribute on the element | ||
/// </summary> | ||
string Type { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters