Пример #1
0
        public override int GetHashCode()
        {
            int hash = 13;

            hash = (hash * 7) + SessionLength.GetHashCode();
            hash = (hash * 7) + FadeInterval.GetHashCode();
            hash = (hash * 7) + AreBackEditsDisabled.GetHashCode();

            return(hash);
        }
Пример #2
0
 public override string ToString()
 {
     return(Util.F("ec:{0} sc:{1} ssc:{2} sl:{3:.0} ts:{4:.0} la:{5:.0} adid:{6} isGdprForgotten:{7}",
                   EventCount,
                   SessionCount,
                   SubSessionCount,
                   SessionLength.SecondsFormat(),
                   TimeSpent.SecondsFormat(),
                   LastActivity.SecondsFormat(),
                   Adid,
                   IsGdprForgotten
                   ));
 }
        void ReleaseDesignerOutlets()
        {
            if (SessionContainerView != null)
            {
                SessionContainerView.Dispose();
                SessionContainerView = null;
            }

            if (SessionCreateDate != null)
            {
                SessionCreateDate.Dispose();
                SessionCreateDate = null;
            }

            if (SessionIsUploadedIndicator != null)
            {
                SessionIsUploadedIndicator.Dispose();
                SessionIsUploadedIndicator = null;
            }

            if (SessionLength != null)
            {
                SessionLength.Dispose();
                SessionLength = null;
            }

            if (SessionParticipants != null)
            {
                SessionParticipants.Dispose();
                SessionParticipants = null;
            }

            if (SessionProjectTitle != null)
            {
                SessionProjectTitle.Dispose();
                SessionProjectTitle = null;
            }

            if (UploadingSessionProgress != null)
            {
                UploadingSessionProgress.Dispose();
                UploadingSessionProgress = null;
            }
        }