Language: C#
R# IEnumerable<string> basic class implementation
1: public class ErrorModel : IEnumerable<string> 2: { 3: public IEnumerator<string> GetEnumerator() 4: { 5: throw new NotImplementedException(); 6: } 7: 8: IEnumerator IEnumerable.GetEnumerator() 9: { 10: return GetEnumerator(); 11: } 12: 13: #region IEnumerable<string> Members 14: 15: IEnumerator<string> IEnumerable<string>.GetEnumerator() 16: { 17: throw new NotImplementedException(); 18: } 19: 20: #endregion 21: }
Tags:
Report Abuse
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search

