public void SetUser(int userId) { m_InstanceProgress = CacheSet.InstanceProgressCache.FindKey(userId.ToString(), userId); if (m_InstanceProgress == null) { m_InstanceProgress = new InstanceProgress() { UserId = userId }; CacheSet.InstanceProgressCache.Add(m_InstanceProgress); } }
public InstanceProgressLogic() { m_InstanceProgress = null; }