Skip to content

Commit

Permalink
remove selaed to all observable collections
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Oct 16, 2024
1 parent 33fcb73 commit 8b75c41
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableDictionary.Views.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace ObservableCollections
{
public sealed partial class ObservableDictionary<TKey, TValue>
public partial class ObservableDictionary<TKey, TValue>
{
public ISynchronizedView<KeyValuePair<TKey, TValue>, TView> CreateView<TView>(Func<KeyValuePair<TKey, TValue>, TView> transform)
{
Expand Down
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableDictionary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace ObservableCollections
{
public sealed partial class ObservableDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IReadOnlyObservableDictionary<TKey, TValue>
public partial class ObservableDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IReadOnlyObservableDictionary<TKey, TValue>
where TKey : notnull
{
readonly Dictionary<TKey, TValue> dictionary;
Expand Down
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableFixedSizeRingBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace ObservableCollections
{
public sealed partial class ObservableFixedSizeRingBuffer<T> : IList<T>, IReadOnlyList<T>, IObservableCollection<T>
public partial class ObservableFixedSizeRingBuffer<T> : IList<T>, IReadOnlyList<T>, IObservableCollection<T>
{
readonly RingBuffer<T> buffer;
readonly int capacity;
Expand Down
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableHashSet.Views.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace ObservableCollections
{
public sealed partial class ObservableHashSet<T> : IReadOnlyCollection<T>, IObservableCollection<T>
public partial class ObservableHashSet<T> : IReadOnlyCollection<T>, IObservableCollection<T>
{
public ISynchronizedView<T, TView> CreateView<TView>(Func<T, TView> transform)
{
Expand Down
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableHashSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace ObservableCollections
{
// can not implements ISet<T> because set operation can not get added/removed values.
public sealed partial class ObservableHashSet<T> : IReadOnlySet<T>, IReadOnlyCollection<T>, IObservableCollection<T>
public partial class ObservableHashSet<T> : IReadOnlySet<T>, IReadOnlyCollection<T>, IObservableCollection<T>
where T : notnull
{
readonly HashSet<T> set;
Expand Down
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableList.OptimizeView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace ObservableCollections;

public sealed partial class ObservableList<T> : IList<T>, IReadOnlyObservableList<T>
public partial class ObservableList<T> : IList<T>, IReadOnlyObservableList<T>
{
// override extension methods(IObservableCollection.cs ObservableCollectionExtensions)

Expand Down
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableList.Views.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace ObservableCollections
{
public sealed partial class ObservableList<T> : IList<T>, IReadOnlyObservableList<T>
public partial class ObservableList<T> : IList<T>, IReadOnlyObservableList<T>
{
public ISynchronizedView<T, TView> CreateView<TView>(Func<T, TView> transform)
{
Expand Down
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace ObservableCollections
{
public sealed partial class ObservableList<T> : IList<T>, IReadOnlyObservableList<T>
public partial class ObservableList<T> : IList<T>, IReadOnlyObservableList<T>
{
readonly List<T> list;
public object SyncRoot { get; } = new();
Expand Down
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableQueue.Views.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace ObservableCollections
{
public sealed partial class ObservableQueue<T> : IReadOnlyCollection<T>, IObservableCollection<T>
public partial class ObservableQueue<T> : IReadOnlyCollection<T>, IObservableCollection<T>
{
public ISynchronizedView<T, TView> CreateView<TView>(Func<T, TView> transform)
{
Expand Down
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace ObservableCollections
{
public sealed partial class ObservableQueue<T> : IReadOnlyCollection<T>, IObservableCollection<T>
public partial class ObservableQueue<T> : IReadOnlyCollection<T>, IObservableCollection<T>
{
readonly Queue<T> queue;
public object SyncRoot { get; } = new object();
Expand Down
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableRingBuffer.Views.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace ObservableCollections
{
public sealed partial class ObservableRingBuffer<T>
public partial class ObservableRingBuffer<T>
{
public ISynchronizedView<T, TView> CreateView<TView>(Func<T, TView> transform)
{
Expand Down
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableRingBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace ObservableCollections
{
public sealed partial class ObservableRingBuffer<T> : IList<T>, IReadOnlyList<T>, IObservableCollection<T>
public partial class ObservableRingBuffer<T> : IList<T>, IReadOnlyList<T>, IObservableCollection<T>
{
readonly RingBuffer<T> buffer;

Expand Down
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableStack.Views.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace ObservableCollections
{
public sealed partial class ObservableStack<T> : IReadOnlyCollection<T>, IObservableCollection<T>
public partial class ObservableStack<T> : IReadOnlyCollection<T>, IObservableCollection<T>
{
public ISynchronizedView<T, TView> CreateView<TView>(Func<T, TView> transform)
{
Expand Down
2 changes: 1 addition & 1 deletion src/ObservableCollections/ObservableStack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace ObservableCollections
{
public sealed partial class ObservableStack<T> : IReadOnlyCollection<T>, IObservableCollection<T>
public partial class ObservableStack<T> : IReadOnlyCollection<T>, IObservableCollection<T>
{
readonly Stack<T> stack;
public object SyncRoot { get; } = new object();
Expand Down
2 changes: 1 addition & 1 deletion src/ObservableCollections/RingBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace ObservableCollections
{
public sealed class RingBuffer<T> : IList<T>, IReadOnlyList<T>
public class RingBuffer<T> : IList<T>, IReadOnlyList<T>
{
T[] buffer;
int head;
Expand Down

0 comments on commit 8b75c41

Please sign in to comment.