コード例 #1
0
ファイル: AccountManager.cs プロジェクト: zh010zh/Ryujinx
 internal bool TryGetUser(UserId userId, out UserProfile profile)
 {
     return(_profiles.TryGetValue(userId.ToString(), out profile));
 }
コード例 #2
0
        public void AddUser(UserId userId, string name, byte[] image)
        {
            UserProfile profile = new UserProfile(userId, name, image);

            _profiles.AddOrUpdate(userId.ToString(), profile, (key, old) => profile);
        }