Implemented interface member:
4 references to Equals
Microsoft.Extensions.AI.Abstractions (2)
ChatCompletion\ChatRole.cs (2)
58
return left.
Equals
(right);
75
=> obj is ChatRole otherRole &&
Equals
(otherRole);
Microsoft.Extensions.AI.Abstractions.Tests (2)
ChatCompletion\ChatRoleTests.cs (2)
28
Assert.True(new ChatRole("abc").
Equals
(new ChatRole("ABC")));
33
Assert.False(new ChatRole("abc").
Equals
(new ChatRole("def")));