mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-18 09:17:52 +02:00
Fix Arrays shall not be added to context
This commit is contained in:
@ -10,4 +10,11 @@ public class Link(string linkProvider, string linkUrl)
|
||||
public string LinkId { get; init; } = TokenGen.CreateToken(typeof(Link), 64);
|
||||
public string LinkProvider { get; init; } = linkProvider;
|
||||
public string LinkUrl { get; init; } = linkUrl;
|
||||
|
||||
public override bool Equals(object? obj)
|
||||
{
|
||||
if (obj is not Link other)
|
||||
return false;
|
||||
return other.LinkProvider == LinkProvider && other.LinkUrl == LinkUrl;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user