public static UserOnlineStatusCompact GetInstanceFromOnlineStatus(UserOnlineStatus onlineUser)
        {
            if (onlineUser == null)
                throw new Exception("UserOnlineStatus cannot be null.");

            return new UserOnlineStatusCompact(onlineUser.UserID, onlineUser.OnlineCode, onlineUser.Position);
        }
        public static UserOnlineStatusCompact GetInstanceFromOnlineStatus(UserOnlineStatus onlineUser)
        {
            if (onlineUser == null)
            {
                throw new Exception("UserOnlineStatus cannot be null.");
            }

            return(new UserOnlineStatusCompact(onlineUser.UserID, onlineUser.OnlineCode, onlineUser.Position));
        }