Override ToString on more UIX classes

This commit is contained in:
Yoshi Askharoun
2023-05-26 00:00:51 -05:00
parent ea08399992
commit 2a8f203df5
15 changed files with 41 additions and 34 deletions
+4 -2
View File
@@ -10,8 +10,8 @@ namespace Microsoft.Iris.Markup
{
public abstract class EventSchema : DisposableObject
{
private TypeSchema _owner;
public static EventSchema[] EmptyList = new EventSchema[0];
private readonly TypeSchema _owner;
public readonly static EventSchema[] EmptyList = System.Array.Empty<EventSchema>();
public EventSchema(TypeSchema owner)
{
@@ -22,5 +22,7 @@ namespace Microsoft.Iris.Markup
public TypeSchema Owner => _owner;
public abstract string Name { get; }
public override string ToString() => $"{_owner.Name}.{Name}";
}
}