Skip to content

Commit

Permalink
[ADD] Obsolete Attribute to ComponentCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
geoperez committed Feb 6, 2020
1 parent e14e4f9 commit 586d3cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Swan.Lite/Collections/ComponentCollection`1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace Swan.Collections
/// </summary>
/// <typeparam name="T">The type of components in the collection.</typeparam>
/// <seealso cref="IComponentCollection{T}" />
[Obsolete("This class will be removed in the next major version")]
public class ComponentCollection<T> : ConfiguredObject, IComponentCollection<T>
{
private readonly List<T> _components = new List<T>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ namespace Swan.Collections
/// <typeparam name="T">The type of components in the collection.</typeparam>
/// <seealso cref="ComponentCollection{T}" />
/// <seealso cref="IComponentCollection{T}" />
[Obsolete("This class will be removed in the next major version")]
public class DisposableComponentCollection<T> : ComponentCollection<T>, IDisposable
{
/// <summary>
Expand Down

0 comments on commit 586d3cd

Please sign in to comment.