Implemented interface member:
4 references to Equals
Microsoft.Extensions.AI.Abstractions (2)
ChatCompletion\ChatFinishReason.cs (2)
34
public override bool Equals([NotNullWhen(true)] object? obj) => obj is ChatFinishReason other &&
Equals
(other);
50
return left.
Equals
(right);
Microsoft.Extensions.AI.Abstractions.Tests (2)
ChatCompletion\ChatFinishReasonTests.cs (2)
28
Assert.True(new ChatFinishReason("abc").
Equals
(new ChatFinishReason("ABC")));
34
Assert.False(new ChatFinishReason("abc").
Equals
(new ChatFinishReason("def")));