Skip to content

Commit 3fc33ad

Browse files
committed
Adding similarities to .NET ember provider interface
1 parent ec79af6 commit 3fc33ad

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/EmberLibConsumer.net/Lawo.EmberPlusSharp/Model/Element.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ public object Tag
6464
get { return this.tag; }
6565
set { this.SetValue(ref this.tag, value); }
6666
}
67-
6867
/// <inheritdoc/>
68+
6969
public string GetPath()
7070
{
7171
var path = new StringBuilder(64);
@@ -79,6 +79,10 @@ public string GetPath()
7979
return path.ToString();
8080
}
8181

82+
public string IdentifierPath => GetPath();
83+
84+
public int[] Path => this.numberPath;
85+
8286
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8387

8488
internal static Type GetImplementationType(Type type)

src/EmberLibConsumer.net/Lawo.EmberPlusSharp/Model/IElement.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ public interface IElement : INotifyPropertyChanged
2323
/// <summary>Gets <b>identifier</b>.</summary>
2424
string Identifier { get; }
2525

26+
/// <summary>Gets <b>identifier string path</b></summary>
27+
string IdentifierPath { get; }
28+
29+
/// <summary>Gets <b>identifier integer path</b></summary>
30+
int[] Path { get; }
31+
2632
/// <summary>Gets <b>description</b>.</summary>
2733
string Description { get; }
2834

0 commit comments

Comments
 (0)