DevTreks.Data/Helpers/LinqHelpers.cs
/// <summary>
/// Filters the contenturi list by the ismainimage property = true
/// </summary>
Filters the contenturi list by the ismainimage property = true
Filters the contenturi list by the ismainimage property = true
public static ContentURI GetContentURIListIsMainImage(
           IList<ContentURI> contenturis)
        {
            ContentURI oLinkedView = null;
            if (contenturis != null)
            {
                oLinkedView = contenturis.FirstOrDefault(
                    c => c.URIDataManager.IsMainImage == true);
            }
            return oLinkedView;
        }
public static ContentURI GetContentURIListIsMainImage ( IList < ContentURI > contenturis ) { ContentURI oLinkedView = null ; if ( contenturis != null ) { oLinkedView = contenturis . FirstOrDefault ( c => c . URIDataManager . IsMainImage == true ) ; } return oLinkedView ; }
Filters the contenturi list by the ismainimage property = true
Filters the contenturi list by the ismainimage property = true
contenturis
IList<ContentURI>