SIL.FieldWorks.XWorks.InterestingTextList.ExcludedCoreTextIdList C# (CSharp) Method

ExcludedCoreTextIdList() private method

private ExcludedCoreTextIdList ( ) : HashSet
return HashSet
		private HashSet<Guid> ExcludedCoreTextIdList()
		{
			var idList = m_propertyTable.GetStringProperty(ExcludeCoreTextPropertyName, "").Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
			var excludedGuids = new HashSet<Guid>();
			foreach (string id in idList)
			{
				Guid guid;
				try
				{
					guid = new Guid(Convert.FromBase64String(id));
				}
				catch (FormatException)
				{
					// Just ignore this one. (I'd like to Assert, but a unit test verifies we can handle garbage).
					Debug.WriteLine(PersistPropertyName + "contains invalid guid " + id);
					continue;
				}
				excludedGuids.Add(guid);
			}
			return excludedGuids;
		}