示例#1
0
        public static string GetCacheKey(string userName, DevAccountSource accountSource, string scid, IEnumerable <string> sandboxes)
        {
            string keyFullstring = userName + accountSource.ToString() + scid + (sandboxes == null? string.Empty : string.Join(" ", sandboxes));

            return(keyFullstring.GetHashCode().ToString());
        }
示例#2
0
        public static string GetCacheKey(string userName, DevAccountSource accountSource, string tenant, string scid, string sandbox)
        {
            string keyFullstring = userName + accountSource.ToString() + tenant + scid + sandbox;

            return(keyFullstring.GetHashCode().ToString());
        }