コード例 #1
0
        // Optional - Just for Optimize performance
        protected override bool IsStateDifference(AbstractDataModule state1, AbstractDataModule state2)
        {
            DataModuleProfileInfo a = state1 as DataModuleProfileInfo;
            DataModuleProfileInfo b = state2 as DataModuleProfileInfo;

            return(a.FacebookID != b.FacebookID ||
                   a.AvatarURL != b.AvatarURL ||
                   a.Credential != b.Credential ||
                   a.AvatarIMG != b.AvatarIMG ||
                   a.Friends != b.Friends);
        }
コード例 #2
0
 protected virtual bool IsStateDifference(AbstractDataModule a, AbstractDataModule b)
 {
     return(true);
 }