public bool TryLookup(RichIdentity richIdentity, IdentityLookupContext context) { TfsCore core = null; lock (m_perMigrationSourceTfsCoresLock) { if (!m_perMigrationSourceTfsCores.ContainsKey(context.SourceMigrationSourceId)) { return(false); } core = m_perMigrationSourceTfsCores[context.SourceMigrationSourceId]; } return(core.TryLookup(richIdentity, context)); }
public bool TryLookup(RichIdentity richIdentity, string serverUrl) { TfsCore core = new TfsCore(serverUrl); return(core.TryLookup(richIdentity, null)); }