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()); }
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()); }