4 instantiations of RepositoryItem
NuGet.Commands (2)
TrustedSignersCommand\TrustedSignerActionsProvider.cs (2)
137_trustedSignersProvider.AddOrUpdateTrustedSigner(new RepositoryItem(name, v3ServiceIndex, CreateOwnersList(owners), certificateItem)); 237new RepositoryItem(name, serviceIndex.AbsoluteUri, CreateOwnersList(owners), certificateItems));
NuGet.Configuration (2)
Settings\Items\RepositoryItem.cs (1)
90var newItem = new RepositoryItem(
Settings\SettingFactory.cs (1)
86return new RepositoryItem(element, origin);
10 references to RepositoryItem
NuGet.Commands (4)
TrustedSignersCommand\TrustedSignerActionsProvider.cs (3)
52foreach (var existingRepository in signers.OfType<RepositoryItem>()) 252if (validateServiceIndex && existingSigner is RepositoryItem repoItem && string.Equals(repoItem.ServiceIndex, serviceIndex, StringComparison.OrdinalIgnoreCase))
TrustedSignersCommand\TrustedSignersCommandRunner.cs (1)
227if (item is RepositoryItem repoItem)
NuGet.Configuration (4)
Settings\Items\RepositoryItem.cs (4)
90var newItem = new RepositoryItem( 133if (other is RepositoryItem repository) 174var other = (RepositoryItem)otherRepository;
NuGet.Packaging (2)
Signing\TrustedSigners\TrustedSignersProvider.cs (2)
96owners = new HashSet<string>(((RepositoryItem)item).Owners); 142if (item is RepositoryItem)