public string BundledUserInfo() { if (Id == null || Name == null) { return(null); } return(ObfuscatedUser.ToUserInfo(new ObfuscatedUser(Id, Name))); }
public string ObfuscatedUserInfo() { if (id != null && id == Id && name != null && name == Name) { return(obfuscatedUserInfo); } obfuscatedUserInfo = ObfuscatedUser.ToUserInfo(new ObfuscatedUser(Id, Name)); name = Name; id = Id; return(obfuscatedUserInfo); }