diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-12-04 17:02:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-04 17:02:21 -0500 |
| commit | 06a8b8af88bad549f3722c6dd13b38df24a57583 (patch) | |
| tree | 4a99e9bd84d093af9b87c5277346136396a670c9 /RSSDP/ReadOnlyEnumerable.cs | |
| parent | f04b7339964ccc574a756207a7af33e21505b3c6 (diff) | |
| parent | 8c8f2aaba5e4bf573efe2730b5450a8c07abe1b3 (diff) | |
Merge pull request #2329 from MediaBrowser/dev
Dev
Diffstat (limited to 'RSSDP/ReadOnlyEnumerable.cs')
| -rw-r--r-- | RSSDP/ReadOnlyEnumerable.cs | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/RSSDP/ReadOnlyEnumerable.cs b/RSSDP/ReadOnlyEnumerable.cs deleted file mode 100644 index 1a69f8837..000000000 --- a/RSSDP/ReadOnlyEnumerable.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Rssdp -{ - internal sealed class ReadOnlyEnumerable<T> : System.Collections.Generic.IEnumerable<T> - { - - #region Fields - - private IEnumerable<T> _Items; - - #endregion - - #region Constructors - - public ReadOnlyEnumerable(IEnumerable<T> items) - { - if (items == null) throw new ArgumentNullException("items"); - - _Items = items; - } - - #endregion - - #region IEnumerable<T> Members - - public IEnumerator<T> GetEnumerator() - { - return _Items.GetEnumerator(); - } - - #endregion - - #region IEnumerable Members - - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() - { - return _Items.GetEnumerator(); - } - - #endregion - } -} |
