// 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); }
protected virtual bool IsStateDifference(AbstractDataModule a, AbstractDataModule b) { return(true); }