Apachai.BackingStore.GetExtraUserInfos C# (CSharp) 메소드

GetExtraUserInfos() 공개 메소드

public GetExtraUserInfos ( string id, string &screenname, string &avatarUrl, string &realName, string &url, string &desc ) : bool
id string
screenname string
avatarUrl string
realName string
url string
desc string
리턴 bool
        public bool GetExtraUserInfos(string id,
		                               out string screenname,
		                               out string avatarUrl,
		                               out string realName,
		                               out string url,
		                               out string desc)
        {
            avatarUrl = screenname = realName = url = desc = string.Empty;

            if (!DoWeKnowUser (long.Parse (id)))
                return false;

            using (var redis = redisManager.GetClient ()) {
                avatarUrl = redis[userAvatarUrl + id];
                realName = redis[userRealName + id];
                url = redis[userUrl + id];
                desc = redis[userDesc + id];
                screenname = redis[userScreenName + id];
            }

            return true;
        }