/// <summary>
 /// Returns an enumerable collection of links to social networks ordered by a position in the content tree.
 /// </summary>
 /// <returns>An enumerable collection of links to social networks ordered by a position in the content tree.</returns>
 public IEnumerable <SocialLink> GetSocialLinks()
 {
     return(SocialLinkProvider.GetSocialLinks()
            .LatestVersion(mLatestVersionEnabled)
            .Published(!mLatestVersionEnabled)
            .OnSite(mSiteName)
            .Culture(mCultureName)
            .OrderByAscending("NodeOrder"));
 }
 /// <summary>
 /// Returns an enumerable collection of links to social networks ordered by a position in the content tree.
 /// </summary>
 /// <returns>An enumerable collection of links to social networks ordered by a position in the content tree.</returns>
 public IEnumerable <SocialLink> GetSocialLinks()
 {
     return(SocialLinkProvider.GetSocialLinks()
            .LatestVersion(mLatestVersionEnabled)
            .Published(!mLatestVersionEnabled)
            .OnSite(SiteContext.CurrentSiteName)
            .Culture(mCultureName)
            .CombineWithDefaultCulture()
            .OrderByAscending("NodeOrder")
            .ToList());
 }