mirror of
https://github.com/ZuneDev/ZuneUIXTools.git
synced 2026-07-27 13:11:59 -07:00
Add Identifier property to Directive
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
namespace Microsoft.Iris.Asm.Models;
|
||||
|
||||
public record NamespaceImport(string Uri, string Name) : Import
|
||||
public record NamespaceImport : Import
|
||||
{
|
||||
public override string ToString() => $".import-ns {Uri} as {Name}";
|
||||
public NamespaceImport(string uri, string name) : base("ns")
|
||||
{
|
||||
Uri = uri;
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public string Uri { get; init; }
|
||||
public string Name { get; init; }
|
||||
|
||||
public override string ToString() => $"{base.ToString()} {Uri} as {Name}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user