first_page

SonghayCore Project Down to Eight Code Analysis Warnings!

SonghayCore Project Down to Eight Code Analysis Warnings!

The SonghayCore Project is essentially the .NET 4+ version of the Songhay Project. As we’ve seen in a previous episode, SonghayCore started this week with 147 Code Analysis warnings. Now, most of them have gone away. Here are the highlights:

By the way, folks, that collection I wrote looks like this:

using System.Collections.ObjectModel;
namespace Songhay.Collections
{
    using Models;
    /// <summary>
    /// Wrapper Collection for <see cref="Songhay.Models.RemoteResource"/>.
    /// </summary>
    public class RemoteResourceCollection : Collection<RemoteResource>
    {
    }
}

Based on precious hours of research, I assume that these, scant 13 lines of code is the appropriate alternative to the quite serious business dating back to 2009 in “Implementing IEnumerable and IEnumerator.” Even farther back on the timeline, in 2007, a Microsoft MVP from Skopje, Macedonia wrote “DecimalCollection.” This post shows how a custom collection should be based on CollectionBase. However, in this part of the 21st century, CollectionBase is considered obsolete under the influence of generics.

https://github.com/BryanWilhite/