diff --git a/src/Identity/ApiAuthorization.IdentityServer/src/Options/ApiResourceCollection.cs b/src/Identity/ApiAuthorization.IdentityServer/src/Options/ApiResourceCollection.cs index 38afb60fc705..104df03cbc05 100644 --- a/src/Identity/ApiAuthorization.IdentityServer/src/Options/ApiResourceCollection.cs +++ b/src/Identity/ApiAuthorization.IdentityServer/src/Options/ApiResourceCollection.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -51,18 +51,6 @@ public ApiResource this[string key] } } - /// - /// Adds the resources in to the collection. - /// - /// The list of to add. - public void AddRange(IEnumerable resources) - { - foreach (var resource in resources) - { - Add(resource); - } - } - /// /// Adds the resources in to the collection. /// diff --git a/src/Identity/ApiAuthorization.IdentityServer/src/Options/ClientCollection.cs b/src/Identity/ApiAuthorization.IdentityServer/src/Options/ClientCollection.cs index ffc180bf304c..b34e809eb3bc 100644 --- a/src/Identity/ApiAuthorization.IdentityServer/src/Options/ClientCollection.cs +++ b/src/Identity/ApiAuthorization.IdentityServer/src/Options/ClientCollection.cs @@ -51,18 +51,6 @@ public Client this[string key] } } - /// - /// Adds the clients in to the collection. - /// - /// The list of to add. - public void AddRange(IEnumerable clients) - { - foreach (var client in clients) - { - Add(client); - } - } - /// /// Adds the clients in to the collection. /// diff --git a/src/Identity/ApiAuthorization.IdentityServer/src/Options/IdentityResourceCollection.cs b/src/Identity/ApiAuthorization.IdentityServer/src/Options/IdentityResourceCollection.cs index 22aa30344f43..e57358489c65 100644 --- a/src/Identity/ApiAuthorization.IdentityServer/src/Options/IdentityResourceCollection.cs +++ b/src/Identity/ApiAuthorization.IdentityServer/src/Options/IdentityResourceCollection.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using IdentityServer4.Models; @@ -51,18 +51,6 @@ public IdentityResource this[string key] } } - /// - /// Adds the identity resources in to the collection. - /// - /// The list of to add. - public void AddRange(IEnumerable identityResources) - { - foreach (var resource in identityResources) - { - Add(resource); - } - } - /// /// Adds the identity resources in to the collection. ///