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