Profiles.ORNG.Utilities.OpenSocialManager.IsVisible C# (CSharp) Method

IsVisible() public method

public IsVisible ( ) : bool
return bool
        public bool IsVisible()
        {
            // always have turned on for Profile/Display.aspx because we want to generate the "profile was viewed" in Javascript (bot proof)
            // regardless of any gadgets being visible, and we need this to be True for the shindig javascript libraries to load
            bool retval = shindigURL != null && (GetVisibleGadgets().Count > 0);
            DebugLogging.Log("OpenSocialIsVisible = " + retval);
            return retval;
        }