Skip to content
Browse files

Remove superfluous class

  • Loading branch information...
1 parent 773f29a commit 3ec178dc61a668959e4a9530ade1202f0d08e5f5 @igstan committed Oct 30, 2010
Showing with 1 addition and 22 deletions.
  1. +1 −1 Nemira/MainWindow.xaml.cs
  2. +0 −1 Nemira/Nemira.csproj
  3. +0 −20 Nemira/SubscriptionCollection.cs
View
2 Nemira/MainWindow.xaml.cs
@@ -171,7 +171,7 @@ private void OnRenameSubscription(object sender, RoutedEventArgs e)
private void LoadSubscriptions()
{
- subscriptions.ItemsSource = new SubscriptionCollection(readerAccount);
+ subscriptions.ItemsSource = new ObservableCollection<Subscription>(readerAccount.Subscriptions);
}
}
}
View
1 Nemira/Nemira.csproj
@@ -107,7 +107,6 @@
<DependentUpon>RenameSubscription.xaml</DependentUpon>
</Compile>
<Compile Include="StubHttpClient.cs" />
- <Compile Include="SubscriptionCollection.cs" />
<Page Include="LoginWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
View
20 Nemira/SubscriptionCollection.cs
@@ -1,20 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Collections.ObjectModel;
-using System.Linq;
-using System.Text;
-using GoogleReader.API;
-
-namespace Nemira
-{
- class SubscriptionCollection : ObservableCollection<Subscription>
- {
- public SubscriptionCollection(ReaderAccount account) : base()
- {
- foreach (var subscription in account.Subscriptions)
- {
- Add(subscription);
- }
- }
- }
-}

0 comments on commit 3ec178d

Please sign in to comment.
Something went wrong with that request. Please try again.