private void ParseInternalAliases() { if (!string.IsNullOrEmpty(_internalAliases)) { InternalAliasList = new List <InternalAlias>(); var raw = _internalAliases.Split(';'); foreach (var rawVal in raw) { if (rawVal.Length > 0) { var ia = new InternalAlias { HttpAlias = rawVal }; if (InternalAliasList.Contains(ia) == false) { InternalAliasList.Add(ia); } } } } }
private void ParseInternalAliases() { if (!string.IsNullOrEmpty(_internalAliases)) { InternalAliasList = new List<InternalAlias>(); string[] raw = _internalAliases.Split(';'); foreach (string rawVal in raw) { if (rawVal.Length > 0) { var ia = new InternalAlias { HttpAlias = rawVal }; if (InternalAliasList.Contains(ia) == false) { InternalAliasList.Add(ia); } } } } }