mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-26 12:08:37 +08:00
15 lines
465 B
C#
15 lines
465 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using mRemoteNG.Credential;
|
|
|
|
namespace mRemoteNG.Config
|
|
{
|
|
public class ConnectionToCredentialMap : Dictionary<Guid, ICredentialRecord>
|
|
{
|
|
private readonly IEqualityComparer<ICredentialRecord> _credentialComparer = new CredentialDomainUserPasswordComparer();
|
|
|
|
public IEnumerable<ICredentialRecord> DistinctCredentialRecords => Values.Distinct(_credentialComparer);
|
|
}
|
|
}
|